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:
Deathmax 2011-09-02 12:28:19 +08:00
parent 3f40437d4b
commit 9ed5f7a2f5
5 changed files with 276 additions and 1 deletions

View file

@ -60,6 +60,7 @@ namespace TShockAPI
public bool RequestedSection = false;
public DateTime LastDeath { get; set; }
public bool ForceSpawn = false;
public string Country = "??";
public bool RealPlayer
{