Fixes #439
Adds a configurable world name to be sent to clients which is saved as the name of the server.
This commit is contained in:
parent
ccdedca196
commit
727bff5bd4
3 changed files with 5 additions and 3 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue