mirror of
https://github.com/tribufu/ServerManagers
synced 2026-06-01 09:42:39 +00:00
Fix AutoBackup RCON message
AutoBackup RCON Mmssage isn't send, if "ServerShutdown_SendShutdownMessages" is disabled
This commit is contained in:
parent
d4310d6a38
commit
953ab22d16
3 changed files with 52 additions and 3 deletions
|
|
@ -2859,12 +2859,15 @@ namespace ServerManagerTool.Lib
|
||||||
|
|
||||||
private bool SendMessage(string message, CancellationToken token)
|
private bool SendMessage(string message, CancellationToken token)
|
||||||
{
|
{
|
||||||
return SendMessage(Config.Default.RCON_MessageCommand, message, token);
|
if (SendShutdownMessages)
|
||||||
|
{
|
||||||
|
return SendMessage(Config.Default.RCON_MessageCommand, message, token);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private bool SendMessage(string mode, string message, CancellationToken token)
|
private bool SendMessage(string mode, string message, CancellationToken token)
|
||||||
{
|
{
|
||||||
if (string.IsNullOrWhiteSpace(message) || !SendShutdownMessages)
|
if (string.IsNullOrWhiteSpace(message))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
var sent = SendCommand($"{GetRconMessageCommand(mode)} {message}", token);
|
var sent = SendCommand($"{GetRconMessageCommand(mode)} {message}", token);
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,30 @@
|
||||||
<title>Ark Server Manager Version Feed</title>
|
<title>Ark Server Manager Version Feed</title>
|
||||||
<subtitle>This is the Ark Server Manager release version feed.</subtitle>
|
<subtitle>This is the Ark Server Manager release version feed.</subtitle>
|
||||||
<link href="https://arkservermanager.freeforums.net/" />
|
<link href="https://arkservermanager.freeforums.net/" />
|
||||||
<updated>2023-11-16T00:00:00Z</updated>
|
<updated>2024-01-01T00:00:00Z</updated>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<id></id>
|
||||||
|
<title>1.1.445 (1.1.445.2)</title>
|
||||||
|
<summary>1.1.445.2</summary>
|
||||||
|
<link href="" />
|
||||||
|
<updated>2024-01-01T00:00:00Z</updated>
|
||||||
|
<content type="xhtml">
|
||||||
|
<div xmlns="http://www.w3.org/1999/xhtml" style="font-family: Arial, Verdana, Helvetica, Sans-Serif;font-size: .8em;">
|
||||||
|
<p>
|
||||||
|
<u style="font-size: .9em;">BUGFIX</u>
|
||||||
|
<br/>
|
||||||
|
<ul>
|
||||||
|
<li>AutoBackup - fix RCON message wasn't send</li>
|
||||||
|
</ul>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</content>
|
||||||
|
<author>
|
||||||
|
<name>Lacoi</name>
|
||||||
|
<email></email>
|
||||||
|
</author>
|
||||||
|
</entry>
|
||||||
|
|
||||||
<entry>
|
<entry>
|
||||||
<id>urn:uuid:D776BB39-92F0-4C80-A57C-468B80DEB086</id>
|
<id>urn:uuid:D776BB39-92F0-4C80-A57C-468B80DEB086</id>
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,29 @@
|
||||||
<link href="https://arkservermanager.freeforums.net/" />
|
<link href="https://arkservermanager.freeforums.net/" />
|
||||||
<updated>2023-11-16T00:00:00Z</updated>
|
<updated>2023-11-16T00:00:00Z</updated>
|
||||||
|
|
||||||
|
<entry>
|
||||||
|
<id></id>
|
||||||
|
<title>1.1.445 (1.1.445.2)</title>
|
||||||
|
<summary>1.1.445.2</summary>
|
||||||
|
<link href="" />
|
||||||
|
<updated>2024-01-01T00:00:00Z</updated>
|
||||||
|
<content type="xhtml">
|
||||||
|
<div xmlns="http://www.w3.org/1999/xhtml" style="font-family: Arial, Verdana, Helvetica, Sans-Serif;font-size: .8em;">
|
||||||
|
<p>
|
||||||
|
<u style="font-size: .9em;">BUGFIX</u>
|
||||||
|
<br/>
|
||||||
|
<ul>
|
||||||
|
<li>AutoBackup - fix RCON message wasn't send</li>
|
||||||
|
</ul>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</content>
|
||||||
|
<author>
|
||||||
|
<name>Lacoi</name>
|
||||||
|
<email></email>
|
||||||
|
</author>
|
||||||
|
</entry>
|
||||||
|
|
||||||
<entry>
|
<entry>
|
||||||
<id>urn:uuid:D776BB39-92F0-4C80-A57C-468B80DEB086</id>
|
<id>urn:uuid:D776BB39-92F0-4C80-A57C-468B80DEB086</id>
|
||||||
<title>1.1.445 (1.1.445.1)</title>
|
<title>1.1.445 (1.1.445.1)</title>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue