Added some config options for the unsafe fixes.

This commit is contained in:
Lucas Nicodemus 2011-12-11 10:58:55 -07:00
parent e1cd9f6bd4
commit a418ada6f5
3 changed files with 24 additions and 5 deletions

View file

@ -204,6 +204,12 @@ namespace TShockAPI
[Description("Displays a player's IP on join to everyone who has the log permission")]
public bool DisplayIPToAdmins = false;
[Description("Some tiles are 'fixed' by not letting TShock handle them. Disabling this may break certain asthetic tiles.")]
public bool EnableInsecureTileFixes = true;
[Description("Some weapons override the range checks, however malicious users can take advantage of this and send lots of packets of certain types. Disabling this will turn off weapons that affect this.")]
public bool EnableRangeCheckOverrides = true;
public static ConfigFile Read(string path)
{