Added geoip support.
(grab the database from http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz and dump it in the tshock folder)
This commit is contained in:
parent
3f40437d4b
commit
9ed5f7a2f5
5 changed files with 276 additions and 1 deletions
|
|
@ -184,6 +184,9 @@ namespace TShockAPI
|
|||
[Description("This is kick players who have custom items in their inventory (via a mod)")]
|
||||
public bool KickCustomItems = false;
|
||||
|
||||
[Description("This will announce a player's location on join")]
|
||||
public bool EnableGeoIP = false;
|
||||
|
||||
public static ConfigFile Read(string path)
|
||||
{
|
||||
if (!File.Exists(path))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue