Adds a configurable world name to be sent to clients which is saved as
the name of the server.
This commit is contained in:
Deathmax 2012-05-27 11:46:49 +08:00
parent ccdedca196
commit 727bff5bd4
3 changed files with 5 additions and 3 deletions

View file

@ -83,7 +83,8 @@ namespace TShockAPI
[Description("Not implemented")] public string RconPassword = "";
[Description("Not implemented")] public int RconPort = 7777;
[Description("Used when replying to a rest /status request.")] public string ServerName = "";
[Description("Used when replying to a rest /status request or sent to the client when UseServerName is true.")] public string ServerName = "";
[Description("Sends ServerName in place of the world name to clients.")] public bool UseServerName = false;
[Description("Not implemented")] public string MasterServer = "127.0.0.1";
[Description("Valid types are \"sqlite\" and \"mysql\"")] public string StorageType = "sqlite";