This plugin allows you to reject players of certain countries to connect to your server.
It uses the
GeoLite Country or
IP-to-Country Database.
ConVars:
cf_allow - Countries that are allowed to connect
cf_deny - Countries that are not allowed
cf_reject_msg - Message that is shown to a rejected player
cf_database - Database that will be used
ConCommands:
cf_status - Displays all players with their userid/name/uniqueid/country
cf_reload - Reload the database file
I created it for a friend and its NOT tested properly.
Code:
Version 1.1
- Added new Database (GeoLite Country) (default)
- Added new ConVar (cf_database)
- Added new ConCommand (cf_reload)
Latest Version: 1.1 (30 November 2006)
Download Binaries
Download Sourcecode
__________________