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 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