mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
set RCON_BackupMessageCommand to RCON_MessageCommand is empty
This commit is contained in:
parent
7b3ae3263c
commit
3d760b20d6
8 changed files with 16 additions and 6 deletions
|
|
@ -892,7 +892,7 @@
|
|||
<value>all</value>
|
||||
</setting>
|
||||
<setting name="RCON_BackupMessageCommand" serializeAs="String">
|
||||
<value>Broadcast</value>
|
||||
<value />
|
||||
</setting>
|
||||
</ServerManagerTool.Config>
|
||||
</userSettings>
|
||||
|
|
|
|||
|
|
@ -379,6 +379,11 @@ namespace ServerManagerTool
|
|||
// check and update the public IP address
|
||||
DiscoverMachinePublicIP(Config.Default.ManagePublicIPAutomatically);
|
||||
|
||||
if (string.IsNullOrWhiteSpace(Config.Default.RCON_BackupMessageCommand))
|
||||
{
|
||||
Config.Default.RCON_BackupMessageCommand = Config.Default.RCON_MessageCommand;
|
||||
}
|
||||
|
||||
var installPath = Path.GetDirectoryName(Assembly.GetEntryAssembly().Location);
|
||||
PluginHelper.Instance.BetaEnabled = this.BetaVersion;
|
||||
PluginHelper.Instance.LoadPlugins(installPath, true);
|
||||
|
|
|
|||
2
src/ARKServerManager/Config.Designer.cs
generated
2
src/ARKServerManager/Config.Designer.cs
generated
|
|
@ -3162,7 +3162,7 @@ namespace ServerManagerTool {
|
|||
|
||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("Broadcast")]
|
||||
[global::System.Configuration.DefaultSettingValueAttribute("")]
|
||||
public string RCON_BackupMessageCommand {
|
||||
get {
|
||||
return ((string)(this["RCON_BackupMessageCommand"]));
|
||||
|
|
|
|||
|
|
@ -870,7 +870,7 @@
|
|||
<Value Profile="(Default)">SaveGames</Value>
|
||||
</Setting>
|
||||
<Setting Name="RCON_BackupMessageCommand" Type="System.String" Scope="User">
|
||||
<Value Profile="(Default)">Broadcast</Value>
|
||||
<Value Profile="(Default)" />
|
||||
</Setting>
|
||||
</Settings>
|
||||
</SettingsFile>
|
||||
Loading…
Add table
Add a link
Reference in a new issue