Global Setting Changes

- Global Backup Settings - added option to include/exclude the SaveGames folder in the worldsave backup (default exclude).
- Global Alert Settings - added new textbox allowing the formatting of the ipaddress and port in the server startup message (default {ipaddress}:{port}).
This commit is contained in:
Brett Hewitson 2022-05-07 14:22:25 +10:00
parent d0a6b15eb2
commit a176a04362
24 changed files with 530 additions and 282 deletions

View file

@ -2354,5 +2354,29 @@ namespace ServerManagerTool {
this["RCON_BackupMessageCommand"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("False")]
public bool AutoBackup_IncludeSaveGamesFolder {
get {
return ((bool)(this["AutoBackup_IncludeSaveGamesFolder"]));
}
set {
this["AutoBackup_IncludeSaveGamesFolder"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("{ipaddress}:{port}")]
public string Alert_ServerStartedMessageIPandPort {
get {
return ((string)(this["Alert_ServerStartedMessageIPandPort"]));
}
set {
this["Alert_ServerStartedMessageIPandPort"] = value;
}
}
}
}