Raised This Month: $ Target: $400
 0% 

[ANY] Information [3.6]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Plugin ID:
2945
Plugin Version:
3.6
Plugin Category:
Statistical
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    4 
    Plugin Description:
    Showing your own/players information via the command "sm_info", "sm_myinfo", "sm_information".
    Old 05-10-2012 , 21:16   [ANY] Information [3.6]
    Reply With Quote #1

    This is not a duplicate of this!

    Requirements:
    SourceMod for the GeoIP extension for the "Country" field.
    The Basecomm plugin for "Muted" and "Gagged" fields.

    What's the plugin does:
    By typing !info/!myinfo/!information you will get a list like that.
    Spoiler


    Cvars:
    sm_information_version - Information version.
    sm_information_enabled - Plugin's enabled? [1]
    sm_information_menu - Information printing will be on menu or chat? [0 - Chat] [1 - Menu]
    sm_information_targets - Allow admins to see another players information? (!info [name])

    Planned:
    ExtendedComm integration.

    Commands:
    sm_info
    sm_myinfo
    sm_information
    All of those show your own information.
    If the target options' available admins can type the same but with target argument.

    Targets:
    You need to be an admin with a generic flag/have the override "target_info".
    Usage: sm_info <name>

    Changelog:
    Code:
    3.6 (29 December 2013) -
    * Now country shows also target's country, not yours.
     3.5 (21 April 2013) -
    * Code optimizations.
    * Minor fixes.
    - Removed requirements, they are optional now.
    
    3.1 (14 January 2013) -
     * Fixed country doesn't show anything when on LAN server/unknown country in the GeoIP database.
    + Added admin status.
    
    3.0 (12 January 2013) -
    * Fixed country.
    * Fixed a memory leak.
    + Added client index.
    
    2.8 (24 August 2012) -
    * Fixed the chat [It just showed "Name" instead of the real name]
    + Country
    + If the server don't have basecomm it will not show the mute/gag status.
    
    2.7 (24 August 2012) -
    * Oh man fixed targets for the final time.
    * Changed seconds to minutes.
    
     2.6 (24 August 2012) -
    * Targets working.
    * Works with developer SM version. [Thanks SooStoked]
    + Connection time [Thanks SooStoked]
    + Targets override "target_info"
    
     2.5 (24 August 2012) -
    + Full plugin rewrite.
    + New cvar.
    + Targets.
    
    2.0 (12 May 2012) -
    + Menu Option.
    + Cvar to Disable/Enable Menu.
    + Config sourcemod/information.cfg to edit menu created.
    - Removed Port from the IP Address.
    
     1.0 (11 May 2012) -
    * Initial release.
    Attached Files
    File Type: sp Get Plugin or Get Source (information.sp - 2031 views - 5.4 KB)
    __________________
    retired

    Last edited by shavit; 12-29-2013 at 15:58.
    shavit is offline
    Pop0N
    Member
    Join Date: Apr 2011
    Old 05-11-2012 , 10:23   Re: Information
    Reply With Quote #2

    Thanks Shavit, good plugin.
    Pop0N is offline
    mickael002
    Senior Member
    Join Date: Jul 2010
    Old 05-11-2012 , 17:51   Re: Information
    Reply With Quote #3

    Excellent !

    Thanks
    mickael002 is offline
    Powerlord
    AlliedModders Donor
    Join Date: Jun 2008
    Location: Seduce Me!
    Old 05-11-2012 , 17:56   Re: Information
    Reply With Quote #4

    Quote:
    Originally Posted by shavit View Post
    Menu, i will do it once i will know how to make strings work with menus, if anyone can help me with that please post.
    I'm not really sure what you mean by that.

    Whenever you add items to a menu, you give an identifier string (aka info string) and display string. Identifier string will be known only to your plugin. It is recommended to use something unique for each one, so you can identify it in the MenuAction_DisplayItem part of the MenuHandler.

    The MenuAction_DisplayItem part of the MenuHandler is used to replace text with different translations (among other things).

    Edit: If you want to add a list of players to a menu, I think there's a special command for that somewhere.

    Quote:
    Originally Posted by shavit View Post
    Note 2: Im not sure about the required compiler version, because im using 1.4, so im recommending to use it.
    The BaseComm functions you're using require compiler version 1.4.
    __________________
    Not currently working on SourceMod plugin development.

    Last edited by Powerlord; 05-11-2012 at 17:59.
    Powerlord is offline
    shavit
    AlliedModders Donor
    Join Date: Dec 2011
    Location: Israel
    Old 05-11-2012 , 19:24   Re: Information
    Reply With Quote #5

    Updated to version 2.0!
    __________________
    retired
    shavit is offline
    mickael002
    Senior Member
    Join Date: Jul 2010
    Old 05-12-2012 , 06:50   Re: Information
    Reply With Quote #6

    Hi,

    Thanks for update.

    Its possible to merge this plugin => https://forums.alliedmods.net/showthread.php?t=153659

    sm_info (For All Player. Print to player the info)
    sm_pinfo #target (For ADMFLAG_GENERIC, Print the target player info)

    ADD :

    - Country
    - Connections Time

    Thanks
    mickael002 is offline
    shavit
    AlliedModders Donor
    Join Date: Dec 2011
    Location: Israel
    Old 06-10-2012 , 00:12   Re: Information
    Reply With Quote #7

    New thread layout!
    Quote:
    Originally Posted by mickael002 View Post
    Hi,

    Thanks for update.

    Its possible to merge this plugin => https://forums.alliedmods.net/showthread.php?t=153659

    sm_info (For All Player. Print to player the info)
    sm_pinfo #target (For ADMFLAG_GENERIC, Print the target player info)

    ADD :

    - Country
    - Connections Time

    Thanks
    I already have !getinfo & country/connection time in My server, just fixing bugs and releasing soon!
    __________________
    retired

    Last edited by shavit; 06-10-2012 at 00:13.
    shavit is offline
    mickael002
    Senior Member
    Join Date: Jul 2010
    Old 08-23-2012 , 12:29   Re: Information
    Reply With Quote #8

    A news ? please
    mickael002 is offline
    shavit
    AlliedModders Donor
    Join Date: Dec 2011
    Location: Israel
    Old 08-23-2012 , 19:17   Re: Information
    Reply With Quote #9

    Quote:
    Originally Posted by mickael002 View Post
    A news ? please
    Forgot you, sorry
    2.1 (24 August 2012) -
    + Full plugin rewrite.
    + New cvar.
    + Targets.
    __________________
    retired
    shavit is offline
    MasterMind420
    BANNED
    Join Date: Nov 2010
    Old 08-23-2012 , 22:03   Re: [ANY] Information [2.5 24/August/2012]
    Reply With Quote #10

    Does this plugin support /n for starting a new line, if so then awesome, if not then please add this and it will be perfect info plugin thanks...
    MasterMind420 is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 18:08.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode