diff --git a/CSM/beta/VersionFeed.xml b/CSM/beta/VersionFeed.xml index bc39155b..7a0ec597 100644 --- a/CSM/beta/VersionFeed.xml +++ b/CSM/beta/VersionFeed.xml @@ -5,45 +5,28 @@ Conan Server Manager Version Feed This is the Conan Server Manager beta version feed. - 2021-12-05T00:00:00Z + 2021-12-06T00:00:00Z - urn:uuid:6263DCCE-DC5A-4630-8BDB-F78DFD7118E3 - 1.1.55 (1.1.55.2) - 1.1.55.2 + urn:uuid:F8A08616-749B-48E7-87D5-D97E86AB3926 + 1.1.56 (1.1.56.1) + 1.1.56.1 - 2021-12-05T00:00:00Z + 2021-12-06T00:00:00Z

- CHANGE + NEW

    -
  • Project files clean-up.
  • -
-

-
-
- - bletch - bletch1971@hotmail.com - -
- - - urn:uuid:A3A790A9-D511-4CE8-AC15-A36B3DAB4385 - 1.1.55 (1.1.55.1) - 1.1.55.1 - - 2021-12-02T00:00:00Z - -
-

- CHANGE -
-

    -
  • Changed some globalization key values (maps and branches).
  • -
  • Changed the way the data directory is selected and created on first startup of the server manager.
  • +
  • + 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/CSM/beta/en-US.xaml b/CSM/beta/en-US.xaml index e61a9e28..cc9d22c9 100644 --- a/CSM/beta/en-US.xaml +++ b/CSM/beta/en-US.xaml @@ -628,6 +628,9 @@ Reinstall SteamCMD Error An 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 Confirmation You are about to start the server, do you want to continue? Shutdown Server Confirmation @@ -768,6 +771,23 @@ Show shutdown reason with ALL shutdown messages If 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 Settings Host: The name or IP address of the host used for SMTP transmissions. @@ -1121,6 +1141,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. + + Server File Details NOTE: Any changes will require a server restart to take effect. @@ -1193,4 +1231,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/CSM/beta/latest.txt b/CSM/beta/latest.txt index d9a10f3d..27e2cdee 100644 --- a/CSM/beta/latest.txt +++ b/CSM/beta/latest.txt @@ -1 +1 @@ -1.1.55.2 +1.1.56.1 diff --git a/CSM/beta/latest.zip b/CSM/beta/latest.zip index cc4e3efc..b804b03e 100644 Binary files a/CSM/beta/latest.zip and b/CSM/beta/latest.zip differ diff --git a/src/ConanServerManager/ConanServerManager.csproj b/src/ConanServerManager/ConanServerManager.csproj index 8c938509..7adf702e 100644 --- a/src/ConanServerManager/ConanServerManager.csproj +++ b/src/ConanServerManager/ConanServerManager.csproj @@ -36,7 +36,7 @@ Bletch1971 Server Managers false - 1 + 2 1.1.56.%2a false true