View Single Post
Author Message
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 05-10-2012 , 20: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 - 1884 views - 5.4 KB)
__________________
retired

Last edited by shavit; 12-29-2013 at 14:58.
shavit is offline