users now can login with /login password - new config option to enable the ability to log in with username and password

This commit is contained in:
darkunderdog 2011-12-30 20:29:27 -06:00
parent 6437d2a977
commit eaeb37ced5
2 changed files with 27 additions and 13 deletions

View file

@ -195,6 +195,9 @@ namespace TShockAPI
[Description("Allows users to register any username with /register")] public bool AllowRegisterAnyUsername;
[Description("Allows users to register any username with /register")]
public bool AllowLoginAnyUsername;
public static ConfigFile Read(string path)
{
if (!File.Exists(path))