Raised This Month: $32 Target: $400
 8% 

Country Filter


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Knagg0
SourceMod Donor
Join Date: Dec 2005
Location: Germany
Old 11-29-2006 , 13:42   Country Filter
Reply With Quote #1

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
__________________

MFZB Gaming Community

[ www.mfzb.de ]


Last edited by Knagg0; 03-20-2007 at 07:10.
Knagg0 is offline
 


Thread Tools
Display Modes

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 06:17.


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