Add require login config

This commit is contained in:
Zidonuke 2011-12-27 12:42:53 -05:00
parent 5c6d03f9af
commit 40973abb3f
3 changed files with 21 additions and 3 deletions

View file

@ -192,6 +192,9 @@ namespace TShockAPI
[Description("Disable/Revert a player if they exceed this number of tile places within 1 second.")]
public int TilePlaceThreshold = 20;
[Description("Require all players to register or login before being allowed to play.")]
public bool RequireLogin = false;
public static ConfigFile Read(string path)
{