Add require login config
This commit is contained in:
parent
5c6d03f9af
commit
40973abb3f
3 changed files with 21 additions and 3 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue