Enable kicking proxy users as identified by the MaxMind GeoIP database.

This commit is contained in:
Deathmax 2011-12-18 09:16:13 +08:00
parent 05bfd62388
commit ed6aa9c07b
2 changed files with 6 additions and 0 deletions

View file

@ -214,6 +214,9 @@ namespace TShockAPI
[Description("Disabling this prevents players from being banned or kicked based on item stacks.")]
public bool EnableItemStackChecks = true;
[Description("Kicks users using a proxy as identified with the GeoIP database")]
public bool KickProxyUsers = true;
public static ConfigFile Read(string path)
{
if (!File.Exists(path))