Changed some globalization key values (maps, branches, total conversions and events).
-
Changed the primitive plus gamedata header from Mods to TotalConversions.
-
Changed the way the data directory is selected and created on first startup of the server manager.
-
pt-BR Translation file updated.
+
A new Discord Bot has been added to the server manager.
+ This new discord bot will allow you to send Start, Stop, Shutdown, Restart, Backup and Update commands to the server manager from within your discord client.
+ To setup the new discord bot, open the global settings and scroll down to the Discord section.
+
+ NOTE: This is long process to get the discord bot working, and I have created a forum post with detailed instructions how to do it.
+
+
diff --git a/ASM/beta/en-US.xaml b/ASM/beta/en-US.xaml
index 2384aae1..cf3bef41 100644
--- a/ASM/beta/en-US.xaml
+++ b/ASM/beta/en-US.xaml
@@ -610,7 +610,24 @@
This message will be displayed when the server shutdown has been cancelled.Show shutdown reason with ALL shutdown messagesIf enabled, the shutdown reason will be shown with all shutdown message; otherwise it will only be shown at the start of the server shutdown.
-
+
+ Enable Discord Bot
+ You will need to restart the server manager if you change any settings for the Discord Bot.
+ Token:
+ The token associated with the discord bot.
+ Server Id:
+ The id of the discord server the bot will listen to.
+ Prefix:
+ The prefix that must be used when sending a command via discord.
+ Get Token...
+ Help...
+ If enabled, the backup command can be sent from discord.
+ If enabled, the restart command can be sent from discord.
+ If enabled, the shutdown command can be sent from discord.
+ If enabled, the start command can be sent from discord.
+ If enabled, the stop command can be sent from discord.
+ If enabled, the update command can be sent from discord.
+
SMTP Email SettingsHost:The name or IP address of the host used for SMTP transmissions.
@@ -775,6 +792,9 @@
Reinstall SteamCMD ErrorAn error occured while trying to reinstall SteamCMD. This has left SteamCmd in an unstable state, try reinstalling again or please report this.\r\nException: {0}
+ Discord Bot Running Commands
+ The discord bot has one or more running commands, do you want to continue shutting down the server manager?
+
Start Server ConfirmationYou are about to start the server, do you want to continue?Shutdown Server Confirmation
@@ -1179,6 +1199,24 @@
If enabled, the server will be restarted even if shutdown for Auto-Restarts and Auto-Updates.
+
+ Discord Bot Details
+ Channel Id:
+ The id of the discord server channel this profile will listen to.
+ Allow Backup
+ If enabled, the profile will listen for backup commands from discord.
+ Allow Restart
+ If enabled, the profile will listen for restart commands from discord.
+ Allow Shutdown
+ If enabled, the profile will listen for shutdown commands from discord.
+ Allow Start
+ If enabled, the profile will listen for start commands from discord.
+ Allow Stop
+ If enabled, the profile will listen for stop commands from discord.
+ Allow Update
+ If enabled, the profile will listen for update commands from discord.
+
+
RulesEnable Hardcore Mode
@@ -5523,4 +5561,32 @@
There was a problem while performing the server update. This may leave your server in a incomplete state.\r\n\r\nDo you want to continue with the server start, this could cause problems?
+
+ Discord Bot Error
+ The discord bot requires a valid token so it can log into the discord server\r\nThis can be set in the global settings.
+ The discord bot prefix contains invalid characters. Only letters and numbers are allowed.
+
+ Command '{0}' has not been enabled.
+ Unknown command '{0}'.
+ Another command is currently being processed.
+ Another command '{0}' is currently running against profile '{1}'.
+ Command '{0}' has been disabled for profile '{1}'.
+
+ The '{0}' command requires a profile id.
+ Profile '{0}' was not found or is not associated with the channel.
+ Profile '{0}' is in a state '{1}' that cannot run this command.
+ Profile '{0}' is currently being updated.
+
+ Call to server '{0}' failed.
+ A backup request for server '{0}' has been sent.
+ A restart request for server '{0}' has been sent.
+ A shutdown request for server '{0}' has been sent.
+ A start request for server '{0}' has been sent.
+ A stop request for server '{0}' has been sent.
+ An update request for server '{0}' has been sent.
+
+ Count:
+ Map:
+
+
\ No newline at end of file
diff --git a/ASM/beta/latest.txt b/ASM/beta/latest.txt
index 441631ef..ac9bc8cb 100644
--- a/ASM/beta/latest.txt
+++ b/ASM/beta/latest.txt
@@ -1 +1 @@
-1.1.410.2
+1.1.411.1
diff --git a/ASM/beta/latest.zip b/ASM/beta/latest.zip
index eb8ad6cc..09375598 100644
Binary files a/ASM/beta/latest.zip and b/ASM/beta/latest.zip differ
diff --git a/src/ARKServerManager/ARKServerManager.csproj b/src/ARKServerManager/ARKServerManager.csproj
index f7baf7b7..96625ad9 100644
--- a/src/ARKServerManager/ARKServerManager.csproj
+++ b/src/ARKServerManager/ARKServerManager.csproj
@@ -36,7 +36,7 @@
Bletch1971Server Managersfalse
- 1
+ 21.1.411.%2afalsetrue