AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Metamod:Source Plugins (https://forums.alliedmods.net/forumdisplay.php?f=76)
-   -   Country Filter (https://forums.alliedmods.net/showthread.php?t=47900)

Knagg0 11-29-2006 13:42

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

tcviper 11-29-2006 18:08

Re: Country Filter
 
Cool idea, great job!

FlyingMongoose 11-29-2006 22:07

Re: Country Filter
 
Good idea but not all IPs are assigned properly, I've seen chicago US servers with reports of australia, the IP I had at my old work was actually from portugal. So IP based regional stuff isn't always reliable.

Knagg0 11-30-2006 00:51

Re: Country Filter
 
Quote:

Originally Posted by FlyingMongoose
Good idea but not all IPs are assigned properly, I've seen chicago US servers with reports of australia, the IP I had at my old work was actually from portugal. So IP based regional stuff isn't always reliable.

I added the GeoLite Country database... Maybe it's better than the IP-to-Country database.

Rebell 11-30-2006 17:11

Re: Country Filter
 
Danke !

Hollanda 12-06-2006 22:16

Re: Country Filter
 
I guess you used the original plugin from: Iwan-kottya-nai ?

http://d3.jpn.org/hl2/CountryFilter-en.html

Knagg0 12-07-2006 05:54

Re: Country Filter
 
Quote:

Originally Posted by Hollanda
I guess you used the original plugin from: Iwan-kottya-nai ?

Yes... The idea :wink:
A friend asked me to make a SourceMM version.

xlkiller 12-07-2006 12:20

Re: Country Filter
 
In version 1.0.3 there are cf_allow_message command but non in this version 1.1, why ?

Knagg0 12-07-2006 13:53

Re: Country Filter
 
Because it's not the same plugin...
It's only the same idea of rejecting players :wink:
But i can add this to my todo list :roll:

Rebell 01-19-2007 12:27

Re: Country Filter
 
Hi Knaggo,

doesn work for me anymore.
Plugin is loaded in meta list and the config is loaded by server.cfg.

hmmm.... keine Ahnung warum....


All times are GMT -4. The time now is 22:11.

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