Re-add ServerNickname and copies it to ServerName

This commit is contained in:
Deathmax 2012-05-30 10:18:44 +08:00
parent 2289458053
commit 4eaf64709b
2 changed files with 4 additions and 0 deletions

View file

@ -132,6 +132,8 @@ namespace TShockAPI
[Description("This will turn on a token requirement for the /status API endpoint.")] public bool
EnableTokenEndpointAuthentication;
[Description("Deprecated. Use ServerName instead.")] public string ServerNickname = "TShock Server";
[Description("Enable/Disable the rest api.")] public bool RestApiEnabled;
[Description("This is the port which the rest api will listen on.")] public int RestApiPort = 7878;