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.
Note: Admin was assigned by my local IPv4 address.
External IP: (WAN)
Local IP: (LAN)
Cvars: sm_information_version - Information version. sm_information_enabled- Plugin's enabled?  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])
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>
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]
+ 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.
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.
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.
Originally Posted by shavit
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.