diff --git a/src/ARKServerManager/VersionFeed.xml b/src/ARKServerManager/VersionFeed.xml
index 9b310125..90857bec 100644
--- a/src/ARKServerManager/VersionFeed.xml
+++ b/src/ARKServerManager/VersionFeed.xml
@@ -5,7 +5,30 @@
Ark Server Manager Version Feed
This is the Ark Server Manager release version feed.
- 2021-12-20T00:00:00Z
+ 2021-12-22T00:00:00Z
+
+
+ urn:uuid:AA87D3F1-80EA-4027-AA61-F1975D18128F
+ 1.1.414 (1.1.414.1)
+ 1.1.414.1
+
+ 2021-12-22T00:00:00Z
+
+
+
+ BUGFIX
+
+
+ Fixed the duplication of the Server Files for Steam Users.
+
+
+
+
+
+ bletch
+ bletch1971@hotmail.com
+
+
urn:uuid:3E33DCB2-ECFE-4489-B1A4-56F5D386F9DC
diff --git a/src/ARKServerManager/VersionFeedBeta.xml b/src/ARKServerManager/VersionFeedBeta.xml
index b2b46d59..f97952a4 100644
--- a/src/ARKServerManager/VersionFeedBeta.xml
+++ b/src/ARKServerManager/VersionFeedBeta.xml
@@ -5,418 +5,21 @@
Ark Server Manager Version Feed
This is the Ark Server Manager beta version feed.
- 2021-12-20T00:00:00Z
+ 2021-12-22T00:00:00Z
- urn:uuid:B08AA2A8-9E9C-4CD2-8992-6848AA5F0757
- 1.1.413 (1.1.413.17)
- 1.1.413.17
+ urn:uuid:AA87D3F1-80EA-4027-AA61-F1975D18128F
+ 1.1.414 (1.1.414.1)
+ 1.1.414.1
- 2021-12-20T00:00:00Z
-
-
-
- CHANGE
-
-
- Added better status detection for stopping servers.
-
-
-
-
-
- bletch
- bletch1971@hotmail.com
-
-
-
-
- urn:uuid:D8C3D087-64DB-4FB8-829F-7FA665F77309
- 1.1.413 (1.1.413.16)
- 1.1.413.16
-
- 2021-12-20T00:00:00Z
-
-
-
- CHANGE
-
-
- Out of Date Mod Check - Added Valid mod check, so will not include mod that are invalid.
-
-
-
-
-
- bletch
- bletch1971@hotmail.com
-
-
-
-
- urn:uuid:6E0126E3-4120-4F3A-9EF1-05762C2A5078
- 1.1.413 (1.1.413.15)
- 1.1.413.15
-
- 2021-12-20T00:00:00Z
-
-
-
- CHANGE
-
-
- Auto process - tweaked logging.
-
-
-
-
-
- bletch
- bletch1971@hotmail.com
-
-
-
-
- urn:uuid:2CEA3E4F-C188-4AF2-B56D-FD17BAC5FC1C
- 1.1.413 (1.1.413.14)
- 1.1.413.14
-
- 2021-12-20T00:00:00Z
-
-
-
- CHANGE
-
-
- Auto-Update process - have reworked parts of the process and the logging.
- Manual-Update process - have reworked parts of the logging.
-
-
-
-
-
- bletch
- bletch1971@hotmail.com
-
-
-
-
- urn:uuid:84796ACA-B3A1-4EEA-962A-1FB59E0ACFB3
- 1.1.413 (1.1.413.13)
- 1.1.413.13
-
- 2021-12-19T00:00:00Z
+ 2021-12-22T00:00:00Z
BUGFIX
- Fixed a bug when cleaning up config files and backup path was passed as null.
-
-
CHANGE
-
-
- pt-BR Translation file updated.
-
-
-
-
-
- bletch
- bletch1971@hotmail.com
-
-
-
-
- urn:uuid:A652172B-F29A-4050-8A0C-8A34F6DDF1FA
- 1.1.413 (1.1.413.12)
- 1.1.413.12
-
- 2021-12-18T00:00:00Z
-
-
-
- BUGFIX
-
-
- Fixed the cleanup of the User config backup files.
-
-
-
-
-
- bletch
- bletch1971@hotmail.com
-
-
-
-
- urn:uuid:A652172B-F29A-4050-8A0C-8A34F6DDF1FA
- 1.1.413 (1.1.413.11)
- 1.1.413.11
-
- 2021-12-18T00:00:00Z
-
-
-
- BUGFIX
-
-
- Fixed the cleanup of the log files generated by the auto processes (Backup, Update and Shutdown/Restart). NOTE: It will not cleanup the existing files, you need to do that manually.
-
-
NEW
-
-
- Global Settings - Added new Log settings which allow you to turn if on/off and set the number of days/files to retain.
-
-
CHANGE
-
-
- zh-CN Translation file updated.
-
-
-
-
-
- bletch
- bletch1971@hotmail.com
-
-
-
-
- urn:uuid:D1CFECED-7968-47FD-B1DE-2FECD7878BDA
- 1.1.413 (1.1.413.10)
- 1.1.413.10
-
- 2021-12-18T00:00:00Z
-
-
-
- CHANGE
-
-
- Server Settings - Discord Bot section - Add a reset to default button.
- Profile Sync - Added Discord Bot section to the list.
-
-
-
-
-
- bletch
- bletch1971@hotmail.com
-
-
-
-
- urn:uuid:1B7448FB-E4E0-4E0F-BF87-AE8661AA7D93
- 1.1.413 (1.1.413.9)
- 1.1.413.9
-
- 2021-12-18T00:00:00Z
-
-
-
- CHANGE
-
-
- Main Window - cleaned up the top area.
- Discord Bot - added some additional logging and some code cleanup.
- pt-BR Translation file updated.
- ru-RU Translation file updated.
-
-
-
-
-
- bletch
- bletch1971@hotmail.com
-
-
-
-
- urn:uuid:8EE5659C-18E6-47D3-941D-C32B129D2E06
- 1.1.413 (1.1.413.8)
- 1.1.413.8
-
- 2021-12-17T00:00:00Z
-
-
-
- CHANGE
-
-
- Discord Bot - all commands are now case INsensitive, along with the profile id and the alias.
-
-
-
-
-
- bletch
- bletch1971@hotmail.com
-
-
-
-
- urn:uuid:8EE5659C-18E6-47D3-941D-C32B129D2E06
- 1.1.413 (1.1.413.7)
- 1.1.413.7
-
- 2021-12-17T00:00:00Z
-
-
-
- NEW
-
-
- Main Window - Added Discord Bot Status and a button to Stop/Start the discord bot.
- Global Settings - Discord Bot section - Added a checkbox to allow all bots.
-
-
-
-
-
- bletch
- bletch1971@hotmail.com
-
-
-
-
- urn:uuid:65A7E6B1-98D1-422D-B42F-B0EBB1D20E41
- 1.1.413 (1.1.413.6)
- 1.1.413.6
-
- 2021-12-17T00:00:00Z
-
-
-
- CHANGE
-
-
- Added additional message logging when log level set to debug.
- pt-BR Translation file updated.
- ru-RU Translation file updated.
-
-
-
-
-
- bletch
- bletch1971@hotmail.com
-
-
-
-
- urn:uuid:65A7E6B1-98D1-422D-B42F-B0EBB1D20E41
- 1.1.413 (1.1.413.5)
- 1.1.413.5
-
- 2021-12-16T00:00:00Z
-
-
-
- NEW
-
-
- Global Settings - Discord Bot section - Added a log level droplist.
-
-
-
-
-
- bletch
- bletch1971@hotmail.com
-
-
-
-
- urn:uuid:98FFBFA1-4E99-4801-BF2B-CA68BE300C27
- 1.1.413 (1.1.413.4)
- 1.1.413.4
-
- 2021-12-16T00:00:00Z
-
-
-
- BUGFIX
-
-
- Fixed a bug that would prevent a bot on the whitelist processing the message.
-
-
-
-
-
- bletch
- bletch1971@hotmail.com
-
-
-
-
- urn:uuid:8958A494-DE13-4F6F-ACA2-10026D5FB8A9
- 1.1.413 (1.1.413.3)
- 1.1.413.3
-
- 2021-12-16T00:00:00Z
-
-
-
- NEW
-
-
- Server Settings - Discord Bot section - Added an alias that can be used with the discord command instead of the profile id.
-
-
CHANGE
-
-
- Removed the mandatory requirement to enter the '!' after the discord prefix. The '!' has been added to the existing prefix so no change to existing functionality, but you can now change it.
- zh-CN Translation file updated.
-
-
-
-
-
- bletch
- bletch1971@hotmail.com
-
-
-
-
- urn:uuid:8958A494-DE13-4F6F-ACA2-10026D5FB8A9
- 1.1.413 (1.1.413.2)
- 1.1.413.2
-
- 2021-12-16T00:00:00Z
-
-
-
- NEW
-
-
- Global Settings - Discord Bot section - Added a whitelist to allow bots to send commands to the server manager.
-
-
-
-
-
- bletch
- bletch1971@hotmail.com
-
-
-
-
- urn:uuid:3E33DCB2-ECFE-4489-B1A4-56F5D386F9DC
- 1.1.413 (1.1.413.1)
- 1.1.413.1
-
- 2021-12-16T00:00:00Z
-
-
-
- CHANGE
-
-
- Made changes to the code to help improve performance.
+ Fixed the duplication of the Server Files for Steam Users.
diff --git a/src/ConanServerManager/VersionFeed.xml b/src/ConanServerManager/VersionFeed.xml
index 003db384..ab7a0435 100644
--- a/src/ConanServerManager/VersionFeed.xml
+++ b/src/ConanServerManager/VersionFeed.xml
@@ -5,7 +5,30 @@
Conan Server Manager Version Feed
This is the Conan Server Manager release version feed.
- 2021-12-20T00:00:00Z
+ 2021-12-22T00:00:00Z
+
+
+ urn:uuid:7531B516-6C68-452B-B484-25374A47C7A5
+ 1.1.59 (1.1.59.1)
+ 1.1.59.1
+
+ 2021-12-22T00:00:00Z
+
+
+
+ BUGFIX
+
+
+ Fixed the duplication of the Server Files for Steam Users.
+
+
+
+
+
+ bletch
+ bletch1971@hotmail.com
+
+
urn:uuid:19B09A66-43F2-4D5F-AF33-5C77D7EA9A6B
diff --git a/src/ConanServerManager/VersionFeedBeta.xml b/src/ConanServerManager/VersionFeedBeta.xml
index 2fe6b5fe..fa58aa70 100644
--- a/src/ConanServerManager/VersionFeedBeta.xml
+++ b/src/ConanServerManager/VersionFeedBeta.xml
@@ -5,403 +5,21 @@
Conan Server Manager Version Feed
This is the Conan Server Manager beta version feed.
- 2021-12-20T00:00:00Z
+ 2021-12-22T00:00:00Z
- urn:uuid:25F39F6F-E7FE-417D-9BC9-EC6EF7DEC1BC
- 1.1.58 (1.1.58.17)
- 1.1.58.17
+ urn:uuid:7531B516-6C68-452B-B484-25374A47C7A5
+ 1.1.59 (1.1.59.1)
+ 1.1.59.1
- 2021-12-20T00:00:00Z
-
-
-
- CHANGE
-
-
- Added better status detection for stopping servers.
-
-
-
-
-
- bletch
- bletch1971@hotmail.com
-
-
-
-
- urn:uuid:0C184A8F-803D-4AC6-B9CB-599810F9AD29
- 1.1.58 (1.1.58.16)
- 1.1.58.16
-
- 2021-12-20T00:00:00Z
-
-
-
- CHANGE
-
-
- Out of Date Mod Check - Added Valid mod check, so will not include mod that are invalid.
-
-
-
-
-
- bletch
- bletch1971@hotmail.com
-
-
-
-
- urn:uuid:5FA48BA6-9154-4626-9B33-63F2D9079B2D
- 1.1.58 (1.1.58.15)
- 1.1.58.15
-
- 2021-12-20T00:00:00Z
-
-
-
- CHANGE
-
-
- Auto process - tweaked logging.
-
-
-
-
-
- bletch
- bletch1971@hotmail.com
-
-
-
-
- urn:uuid:B6CDDC20-AD16-4338-8F33-CF12D6A62713
- 1.1.58 (1.1.58.14)
- 1.1.58.14
-
- 2021-12-20T00:00:00Z
-
-
-
- CHANGE
-
-
- Auto-Update process - have reworked parts of the process and the logging.
- Manual-Update process - have reworked parts of the logging.
-
-
-
-
-
- bletch
- bletch1971@hotmail.com
-
-
-
-
- urn:uuid:2F47A36B-221D-4B74-882E-C990226A441B
- 1.1.58 (1.1.58.13)
- 1.1.58.13
-
- 2021-12-19T00:00:00Z
+ 2021-12-22T00:00:00Z
BUGFIX
- Fixed a bug when cleaning up config files and backup path was passed as null.
-
-
-
-
-
- bletch
- bletch1971@hotmail.com
-
-
-
-
- urn:uuid:40905243-2E97-4FCD-ACEA-53C9D42E69F0
- 1.1.58 (1.1.58.12)
- 1.1.58.12
-
- 2021-12-18T00:00:00Z
-
-
-
- BUGFIX
-
-
- Fixed the cleanup of the User config backup files.
-
-
-
-
-
- bletch
- bletch1971@hotmail.com
-
-
-
-
- urn:uuid:40905243-2E97-4FCD-ACEA-53C9D42E69F0
- 1.1.58 (1.1.58.11)
- 1.1.58.11
-
- 2021-12-18T00:00:00Z
-
-
-
- BUGFIX
-
-
- Fixed the cleanup of the log files generated by the auto processes (Backup, Update and Shutdown/Restart). NOTE: It will not cleanup the existing files, you need to do that manually.
-
-
NEW
-
-
- Global Settings - Added new Log settings which allow you to turn if on/off and set the number of days/files to retain.
-
-
-
-
-
- bletch
- bletch1971@hotmail.com
-
-
-
-
- urn:uuid:6EF11E7A-65D0-481E-A712-71CDB6C3F23F
- 1.1.58 (1.1.58.10)
- 1.1.58.10
-
- 2021-12-18T00:00:00Z
-
-
-
- CHANGE
-
-
- Server Settings - Discord Bot section - Add a reset to default button.
- Profile Sync - Added Discord Bot section to the list.
-
-
-
-
-
- bletch
- bletch1971@hotmail.com
-
-
-
-
- urn:uuid:970CFB45-B99A-4F12-9135-1E5763D1B2F6
- 1.1.58 (1.1.58.9)
- 1.1.58.9
-
- 2021-12-18T00:00:00Z
-
-
-
- CHANGE
-
-
- Main Window - cleaned up the top area.
- Discord Bot - added some additional logging and some code cleanup.
-
-
-
-
-
- bletch
- bletch1971@hotmail.com
-
-
-
-
- urn:uuid:9A427D82-9904-44F5-8C1E-7C943049869A
- 1.1.58 (1.1.58.8)
- 1.1.58.8
-
- 2021-12-17T00:00:00Z
-
-
-
- CHANGE
-
-
- Discord Bot - all commands are now case INsensitive, along with the profile id and the alias.
-
-
-
-
-
- bletch
- bletch1971@hotmail.com
-
-
-
-
- urn:uuid:9A427D82-9904-44F5-8C1E-7C943049869A
- 1.1.58 (1.1.58.7)
- 1.1.58.7
-
- 2021-12-17T00:00:00Z
-
-
-
- NEW
-
-
- Main Window - Added Discord Bot Status and a button to Stop/Start the discord bot.
- Global Settings - Discord Bot section - Added a checkbox to allow all bots.
-
-
-
-
-
- bletch
- bletch1971@hotmail.com
-
-
-
-
- urn:uuid:A189668E-DA03-471A-9C5A-7FF2A7264F9C
- 1.1.58 (1.1.58.6)
- 1.1.58.6
-
- 2021-12-17T00:00:00Z
-
-
-
- CHANGE
-
-
- Added additional message logging when log level set to debug.
-
-
-
-
-
- bletch
- bletch1971@hotmail.com
-
-
-
-
- urn:uuid:A189668E-DA03-471A-9C5A-7FF2A7264F9C
- 1.1.58 (1.1.58.5)
- 1.1.58.5
-
- 2021-12-16T00:00:00Z
-
-
-
- NEW
-
-
- Global Settings - Discord Bot section - Added a log level droplist.
-
-
-
-
-
- bletch
- bletch1971@hotmail.com
-
-
-
-
- urn:uuid:F3C22842-A089-46F7-AB1A-5D3DED105412
- 1.1.58 (1.1.58.4)
- 1.1.58.4
-
- 2021-12-16T00:00:00Z
-
-
-
- BUGFIX
-
-
- Fixed a bug that would prevent a bot on the whitelist processing the message.
-
-
-
-
-
- bletch
- bletch1971@hotmail.com
-
-
-
-
- urn:uuid:F3C22842-A089-46F7-AB1A-5D3DED105412
- 1.1.58 (1.1.58.3)
- 1.1.58.3
-
- 2021-12-16T00:00:00Z
-
-
-
- NEW
-
-
- Server Settings - Discord Bot section - Added an alias that can be used with the discord command instead of the profile id.
-
-
CHANGE
-
-
- Removed the mandatory requirement to enter the '!' after the discord prefix. The '!' has been added to the existing prefix so no change to existing functionality, but you can now change it.
-
-
-
-
-
- bletch
- bletch1971@hotmail.com
-
-
-
-
- urn:uuid:C566D9D2-3566-46DF-8AD4-39F5FC0FFEF2
- 1.1.58 (1.1.58.2)
- 1.1.58.2
-
- 2021-12-16T00:00:00Z
-
-
-
- NEW
-
-
- Global Settings - Discord Bot section - Added a whitelist to allow bots to send commands to the server manager.
-
-
-
-
-
- bletch
- bletch1971@hotmail.com
-
-
-
-
- urn:uuid:19B09A66-43F2-4D5F-AF33-5C77D7EA9A6B
- 1.1.58 (1.1.58.1)
- 1.1.58.1
-
- 2021-12-16T00:00:00Z
-
-
-
- CHANGE
-
-
- Made changes to the code to help improve performance.
+ Fixed the duplication of the Server Files for Steam Users.
diff --git a/src/ServerManager.Common/Model/PlayerUserList.cs b/src/ServerManager.Common/Model/PlayerUserList.cs
index fadb48b6..80ba9102 100644
--- a/src/ServerManager.Common/Model/PlayerUserList.cs
+++ b/src/ServerManager.Common/Model/PlayerUserList.cs
@@ -25,17 +25,17 @@ namespace ServerManagerTool.Common.Model
public static PlayerUserList GetList(SteamUserDetailResponse response, IEnumerable ids)
{
+ if (ids is null)
+ return new PlayerUserList();
+
var result = new PlayerUserList();
- if (ids != null)
+ foreach (var id in ids)
{
- foreach (var id in ids)
+ result.Add(new PlayerUserItem()
{
- result.Add(new PlayerUserItem()
- {
- PlayerId = id,
- PlayerName = "",
- });
- }
+ PlayerId = id,
+ PlayerName = "",
+ });
}
if (response?.players != null)
@@ -43,17 +43,11 @@ namespace ServerManagerTool.Common.Model
foreach (var detail in response.players)
{
var item = result.FirstOrDefault(i => i.PlayerId == detail.steamid);
- if (item == null)
- {
- var newItem = PlayerUserItem.GetItem(detail);
- if (!string.IsNullOrWhiteSpace(newItem?.PlayerId))
- result.Add(newItem);
- }
- else
- {
- item.PlayerId = detail.steamid;
- item.PlayerName = detail.personaname ?? string.Empty;
- }
+ if (item is null)
+ continue;
+
+ item.PlayerId = detail.steamid;
+ item.PlayerName = detail.personaname ?? string.Empty;
}
}
@@ -69,7 +63,8 @@ namespace ServerManagerTool.Common.Model
public void Remove(string steamId)
{
- foreach (var item in this.Where(i => i.PlayerId.Equals(steamId, System.StringComparison.OrdinalIgnoreCase)))
+ var ids = this.Where(i => i.PlayerId.Equals(steamId, System.StringComparison.OrdinalIgnoreCase)).ToArray();
+ foreach (var item in ids)
{
this.Remove(item);
}