This plugin provides an allow/deny mechanism for connecting players based on their Country-IP (GeoIP data). It announces connecting players in the server so you can see where the player is connecting from. Even if you don't have anny countries on the deny list, it's still nice to see where your playercrowd is connecting from!
- !cfcountry will return the country the player is connecting from.
Requirements:
- B3 version 1.2.2 or higher
Installation:
Unzip the contents of this package into your B3 folder. It will place the .py file in b3/extplugins and the config file xml in your b3/extplugins/conf folder.
Open the .xml file with your favorit editor and modify the settings if you want them different. Do not edit the ettingnames for they will not function under a different name.
Open your B3.xml file (in b3/conf) and add the next line in the section of the file:
<plugin name="countryfilter" config="@b3/extplugins/conf/countryfilter.xml"/>
Updating the Geo-data:
- Download GeoIP.dat from http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz and extract it into extplugins/GeoIP/