Useful for LAN servers, allowing players to see who is connecting and disconnecting.
Shows player IP, hostname and IP description
New version 1.6 July-29-2008 - CVAR amx_showip_admins added
* INSTALLATION TIPS:
*
* 1. In order to use this plugin you need NETDB module
* get it here
http://forums.alliedmods.net/showthread.php?t=52326
* Put netdb_amxx_i386.so to amxmodx\modules dir
* 2. Add line "netdb" to amxmodx\configs\modules.ini file.
* 3. Put show_ip.amxx to amxmodx\plugins dir.
* 4. Add line "show_ip.amxx" to amxmodx\configs\plugins.ini file.
* 5. Copy example ipdesc.ini file to amxmodx\configs dir.
* 6. Edit ipdesc.ini file.
* Fill it with IP Subnets and their Descriptions.
* IP Subnet must be in CIDR Notation (like 192.168.0.0/24).
* Online Subnet Calcilator:
http://www.subnet-calculator.com/cidr.php
* IP Subnet Description will be shown to all players or admins only (depending on amx_showip_admins cvar)
* when player connects or disconnects from the server.
*
*
* CONSOLE COMMANDS:
*
* - amx_showip
* - shows IP, hostname and IP Description of players on server
*
*
* CVARS:
*
* - amx_showip_unknown (default is "")
* - unknown IP subnet (not in ipdesc.ini)
*
* - amx_showip_showhost (default is "1")
* - show hostnames on connect/disconnect
*
* - amx_showip_admins (default is "0")
* - show for admins only
*
*
* VERSION HISTORY:
*
* v1.61 - 07/30/08
* - minor display changes
*
* v1.6 - 07/29/08
* - removed ADMIN_LEVEL macro
* - added amx_showip_admins CVAR
* - code cleanup
*
* v1.55 - 04/20/07
* - Performance optimizations
*
* v1.5 - 04/05/07
* - Threading support for socket functions added (should fix lagging)
*
* v1.4 - 03/08/07
* - reverse DNS support added (use "amx_showip_showhost 0" to disable it)
*
* v1.3 - 03/06/07
* - ADMIN_LEVEL macro added to restrict access if needed
* - code cleanup and performance optimizations
*
* v1.2 - 03/03/07
* - Added colored chat messages support (use "amx_showip_usecolor 0" to disable it)
*
* v1.1 - 03/01/07
* - Added support for CIDR notation for ipdesc.ini file
*
* v1.0 - 02/28/07
* - Original show_ip plugin by W@lker /Yakutsk,Russia/ was rewritten for amxx
two screenshots attached below: