Raised This Month: $ Target: $400
 0% 

ShowIP


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   Admin Commands        Approver:   Styles (6)
Spunky
Senior Member
Join Date: May 2008
Location: Orlando, Fl.
Old 10-30-2008 , 11:25   ShowIP
Reply With Quote #1

ShowIP 1.08
--------------------------

Description: ShowIP is a plugin designed to show the IP and country of players connecting to a server, but can be configured to display their Steam ID instead. Any IPs that should be hidden upon connection can be added to a configuration file.

Example: Player has connected/disconnected. (123.123.123.123)
Hidden IP: Player has connected/disconnected.

Commands
---
amx_showall - Fetches the IP, Steam ID, and country of a player. Usage: <name>
amx_showall_all - Fetches the IP, Steam ID, and country of every player. No parameters.
amx_showip - Fetches the IP address of a player. Usage: <name>
amx_showip_all - Fetches the IP address of every player. No parameters.
amx_showsid - Fetches the Steam ID of a player. Usage: <name>
amx_showsid_all - Fetches the Steam ID of every players. No parameters.
amx_showcountry - Fetches the country of a player. Usage: <name>
amx_showcountry_all - Fetches the country of every player. No parameters.

CVARs
---
amx_showips - Enable or disable the plugin. (1/0)
amx_showip_log - Enable or disable logging. (1/0)
amx_showip_method - Controls whether IPs or Steam IDs are used for IP hiding. (1=IP, 2=SID)
amx_showip_admin - Controls whether only admins (ban flag) are allowed to see IPs of connecting players.
amx_showip_allowed - Controls whether only a set of allowed IP addresses or Steam IDs can see connecting player information.
amx_showip_mode - Switch through the 3 available modes. (1=All, 2=IP, 3=SID)

Changelog
---
1.08
  • Added amx_showip_allowed CVAR. You can couple this with amx_showip_admin so that only if the person is allowed (compared to a list) and they're an admin, they can see connecting player information.
  • Added allowed.cfg to configs.
1.07
  • Added amx_showip_admin CVAR.
  • If CVAR values are set higher than their maximum, they will be reset to default values.
1.06
  • Minor bug fixes.
1.05
  • Fixed show_all commands printing blank values for empty slots. Empty slots will be skipped over (hopefully).
  • Added amx_showip_method CVAR. You can now add Steam IDs instead of IP addresses in a separate sids.cfg file in your showip configs directory. If 1, use IPs. If 2, use Steam IDs.
  • Added sids.cfg file to configs package.
  • Added amx_showip_log CVAR. If 0, logging is disabled.
  • Cleaned up logging a little bit.
  • Minor code optimizations.
1.04
  • Added amx_showip_log CVAR.
1.03
  • Fixed potential bug due to hardcoding configs path.
1.02
  • Added amx_showall_all command.
  • Added amx_showip_all command.
  • Added amx_showsid_all command.
  • Added amx_showcountry_all command.
  • Made a few nice code optimizations.
  • Further improved the command display.
1.01
  • Added amx_showall command.
  • Improved command display, looks prettier.
1.0
  • Release.
Attached Files
File Type: sma Get Plugin or Get Source (showip.sma - 10046 views - 21.4 KB)
File Type: zip configs.zip (813 Bytes, 5708 views)

Last edited by Spunky; 11-05-2008 at 11:33.
Spunky is offline
Send a message via AIM to Spunky
 



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 09:28.


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