Add options to kick empty UUID - handling to ignore UUID login and bans for blank UUIDs if this option is not enabled

This commit is contained in:
k0rd 2013-10-09 23:53:24 -04:00
parent a40eecc82f
commit a58e21191b
2 changed files with 9 additions and 4 deletions

6
TShockAPI/ConfigFile.cs Normal file → Executable file
View file

@ -207,10 +207,10 @@ namespace TShockAPI
[Description("Disable users from being able to login with account password when joining.")] public bool
DisableLoginBeforeJoin;
[Description("Disable users from being able to login with their client UUID.")]
public bool
DisableUUIDLogin;
[Description("Disable users from being able to login with their client UUID.")] public bool DisableUUIDLogin;
[Description("Kick clients that don't send a UUID to the server.")] public bool KickEmptyUUID;
[Description("Allows users to register any username with /register.")] public bool AllowRegisterAnyUsername;
[Description("Allows users to login with any username with /login.")] public bool AllowLoginAnyUsername = true;