Add max range for being restricted

Change max reserved slots to 20
This commit is contained in:
Zidonuke 2011-12-27 14:53:55 -05:00
parent 31c4e1a37b
commit 14e2d8ca46
3 changed files with 7 additions and 4 deletions

View file

@ -204,6 +204,9 @@ namespace TShockAPI
[Description("Disables Invisibility potions from being used in PvP (Note, they can use them on the client, but the effect isn't sent to the rest of the server)")]
public bool DisableInvisPvP = false;
[Description("The maximum distance players disabled for various reasons can move from")]
public int MaxRangeForDisabled = 10;
public static ConfigFile Read(string path)
{