Discord Bot Fixes/Changes

- Fixed the discord bot Info command, to release the profile once the command has finished running.
- added new checkbox to allow the profile to be included in discord commands using the Cluster Id as the alias.
- pt-BR Translation file updated.
This commit is contained in:
Brett Hewitson 2022-04-23 13:42:25 +10:00
parent 3de08392eb
commit ac438da337
12 changed files with 151 additions and 143 deletions

View file

@ -12844,232 +12844,232 @@
"EngramPoints": 80
},
{
"XPRequired": 10073538,
"XPRequired": 10073540,
"EngramPoints": 80
},
{
"XPRequired": 10473538,
"XPRequired": 10473540,
"EngramPoints": 80
},
{
"XPRequired": 10873538,
"XPRequired": 10873540,
"EngramPoints": 80
},
{
"XPRequired": 11273538,
"XPRequired": 11273540,
"EngramPoints": 80
},
{
"XPRequired": 11673538,
"XPRequired": 11673540,
"EngramPoints": 80
},
{
"XPRequired": 12073538,
"XPRequired": 12073540,
"EngramPoints": 80
},
{
"XPRequired": 12473538,
"XPRequired": 12473540,
"EngramPoints": 80
},
{
"XPRequired": 13373538,
"XPRequired": 13373540,
"EngramPoints": 80
},
{
"XPRequired": 23373538,
"XPRequired": 23373540,
"EngramPoints": 80
},
{
"XPRequired": 33373538,
"XPRequired": 33373540,
"EngramPoints": 80
},
{
"XPRequired": 43373536,
"EngramPoints": 1
"XPRequired": 43373540,
"EngramPoints": 0
},
{
"XPRequired": 53373536,
"EngramPoints": 1
"XPRequired": 53373540,
"EngramPoints": 0
},
{
"XPRequired": 64048244,
"EngramPoints": 1
"XPRequired": 64048240,
"EngramPoints": 0
},
{
"XPRequired": 74722952,
"EngramPoints": 1
"XPRequired": 74722950,
"EngramPoints": 0
},
{
"XPRequired": 85397656,
"EngramPoints": 1
"XPRequired": 85397660,
"EngramPoints": 0
},
{
"XPRequired": 96072360,
"EngramPoints": 1
"EngramPoints": 0
},
{
"XPRequired": 106747072,
"EngramPoints": 1
"XPRequired": 106747100,
"EngramPoints": 0
},
{
"XPRequired": 117747072,
"EngramPoints": 1
"XPRequired": 117747100,
"EngramPoints": 0
},
{
"XPRequired": 129747072,
"EngramPoints": 1
"XPRequired": 129747100,
"EngramPoints": 0
},
{
"XPRequired": 142747072,
"EngramPoints": 1
"XPRequired": 142747100,
"EngramPoints": 0
},
{
"XPRequired": 156747072,
"EngramPoints": 1
"XPRequired": 156747100,
"EngramPoints": 0
},
{
"XPRequired": 171747072,
"EngramPoints": 1
"XPRequired": 171747100,
"EngramPoints": 0
},
{
"XPRequired": 187747072,
"EngramPoints": 1
"XPRequired": 187747100,
"EngramPoints": 0
},
{
"XPRequired": 204747072,
"EngramPoints": 1
"XPRequired": 204747100,
"EngramPoints": 0
},
{
"XPRequired": 222747072,
"EngramPoints": 1
"XPRequired": 222747100,
"EngramPoints": 0
},
{
"XPRequired": 241747072,
"EngramPoints": 1
"XPRequired": 241747100,
"EngramPoints": 0
},
{
"XPRequired": 261747072,
"EngramPoints": 1
"XPRequired": 261747100,
"EngramPoints": 0
},
{
"XPRequired": 282747072,
"EngramPoints": 1
"XPRequired": 282747100,
"EngramPoints": 0
},
{
"XPRequired": 282747104,
"EngramPoints": 1
"XPRequired": 282747100,
"EngramPoints": 0
},
{
"XPRequired": 305747104,
"EngramPoints": 1
"XPRequired": 305747100,
"EngramPoints": 0
},
{
"XPRequired": 329747104,
"EngramPoints": 1
"XPRequired": 329747100,
"EngramPoints": 0
},
{
"XPRequired": 354747104,
"EngramPoints": 1
"XPRequired": 354747100,
"EngramPoints": 0
},
{
"XPRequired": 380747100,
"EngramPoints": 1
"EngramPoints": 0
},
{
"XPRequired": 407747100,
"EngramPoints": 1
"EngramPoints": 0
},
{
"XPRequired": 435747100,
"EngramPoints": 1
"EngramPoints": 0
},
{
"XPRequired": 464747100,
"EngramPoints": 1
"EngramPoints": 0
},
{
"XPRequired": 494747100,
"EngramPoints": 1
"EngramPoints": 0
},
{
"XPRequired": 525747100,
"EngramPoints": 1
"EngramPoints": 0
},
{
"XPRequired": 557747100,
"EngramPoints": 1
"EngramPoints": 0
},
{
"XPRequired": 590747100,
"EngramPoints": 1
"EngramPoints": 0
},
{
"XPRequired": 624747100,
"EngramPoints": 1
"EngramPoints": 0
},
{
"XPRequired": 659747100,
"EngramPoints": 1
"EngramPoints": 0
},
{
"XPRequired": 695747100,
"EngramPoints": 1
"EngramPoints": 0
},
{
"XPRequired": 732747100,
"EngramPoints": 1
"EngramPoints": 0
},
{
"XPRequired": 770747100,
"EngramPoints": 1
"EngramPoints": 0
},
{
"XPRequired": 809747100,
"EngramPoints": 1
"EngramPoints": 0
},
{
"XPRequired": 849747100,
"EngramPoints": 1
"EngramPoints": 0
},
{
"XPRequired": 892234400,
"EngramPoints": 1
"EngramPoints": 0
},
{
"XPRequired": 934721900,
"EngramPoints": 1
"EngramPoints": 0
},
{
"XPRequired": 977209200,
"EngramPoints": 1
"EngramPoints": 0
},
{
"XPRequired": 1019697000,
"EngramPoints": 1
"EngramPoints": 0
},
{
"XPRequired": 1104671000,
"EngramPoints": 1
"EngramPoints": 0
},
{
"XPRequired": 1189646000,
"EngramPoints": 1
"EngramPoints": 0
},
{
"XPRequired": 1274621000,
"EngramPoints": 1
"EngramPoints": 0
},
{
"XPRequired": 1359595000,
"EngramPoints": 1
"EngramPoints": 0
},
{
"XPRequired": 1444570000,
"EngramPoints": 1
"EngramPoints": 0
},
{
"XPRequired": 1529545000,
"EngramPoints": 1
"EngramPoints": 0
}
],
"PlayerAdditionalLevels": "75",
@ -13318,22 +13318,22 @@
"XPRequired": 9739986
},
{
"XPRequired": 10957484
"XPRequired": 10957480
},
{
"XPRequired": 12327170
},
{
"XPRequired": 13868066
"XPRequired": 13868070
},
{
"XPRequired": 15601574
"XPRequired": 15601570
},
{
"XPRequired": 17551770
},
{
"XPRequired": 19745742
"XPRequired": 19745740
},
{
"XPRequired": 22213960

View file

@ -5626,7 +5626,6 @@
<sys:String x:Key="DiscordBot_ProfileMissing">Der Befehl '{0}' erfordert eine Profil-ID oder einen Alias.</sys:String>
<sys:String x:Key="DiscordBot_ProfileNotFound">Profil '{0}' wurde nicht gefunden oder ist nicht mit dem Kanal verbunden.</sys:String>
<sys:String x:Key="DiscordBot_ProfileMultiples">Es wurden mehrere Profile mit '{0}' im Kanal gefunden, der Befehl wurde abgebrochen.</sys:String>
<sys:String x:Key="DiscordBot_ProfileBadStatus">Das Profil '{0}' befindet sich in einem Zustand '{1}', in dem dieser Befehl nicht ausgeführt werden kann.</sys:String>
<sys:String x:Key="DiscordBot_ProfileUpdating">Das Profil '{0}' wird gerade aktualisiert.</sys:String>

View file

@ -1238,6 +1238,8 @@
<sys:String x:Key="ServerSettings_DiscordBotChannelTooltip">The id of the discord server channel this profile will listen to.</sys:String>
<sys:String x:Key="ServerSettings_DiscordAliasLabel">Alias:</sys:String>
<sys:String x:Key="ServerSettings_DiscordAliasTooltip">A unique name to identify your server when using the discord commands, can be used instead of the profile id.</sys:String>
<sys:String x:Key="ServerSettings_AllowDiscordClusterAliasLabel">Allow Cluster Alias</sys:String>
<sys:String x:Key="ServerSettings_AllowDiscordClusterAliasTooltip">If enabled, the cluster id can be used as a discord alias to perform server commands.</sys:String>
<sys:String x:Key="ServerSettings_AllowDiscordBackupLabel">Allow Backup</sys:String>
<sys:String x:Key="ServerSettings_AllowDiscordBackupTooltip">If enabled, the profile will listen for backup commands from discord.</sys:String>
<sys:String x:Key="ServerSettings_AllowDiscordRestartLabel">Allow Restart</sys:String>
@ -5646,8 +5648,7 @@
<sys:String x:Key="DiscordBot_CommandDisabledProfile">Command '{0}' has been disabled for profile '{1}'.</sys:String>
<sys:String x:Key="DiscordBot_ProfileMissing">The '{0}' command requires a profile id or alias.</sys:String>
<sys:String x:Key="DiscordBot_ProfileNotFound">Profile '{0}' was not found or is not associated with the channel.</sys:String>
<sys:String x:Key="DiscordBot_ProfileMultiples">Multiple profiles with '{0}' were found in the channel, command aborted.</sys:String>
<sys:String x:Key="DiscordBot_ProfileNotFound">Profile/Alias '{0}' was not found or is not associated with the channel.</sys:String>
<sys:String x:Key="DiscordBot_ProfileBadStatus">Profile '{0}' is in a state '{1}' that cannot run this command.</sys:String>
<sys:String x:Key="DiscordBot_ProfileUpdating">Profile '{0}' is currently being updated.</sys:String>
<sys:String x:Key="DiscordBot_NoChannelProfiles">No profiles are associated with the channel.</sys:String>

View file

@ -5645,7 +5645,6 @@
<sys:String x:Key="DiscordBot_ProfileMissing">The '{0}' commande nécessite un ID du profil.</sys:String>
<sys:String x:Key="DiscordBot_ProfileNotFound">Profile '{0}' n'a pas été trouvé ou n'est pas associé au canal.</sys:String>
<sys:String x:Key="DiscordBot_ProfileMultiples">Plusieurs profils avec '{0}' ont été trouvés dans le canal, commande avorté.</sys:String>
<sys:String x:Key="DiscordBot_ProfileBadStatus">Profile '{0}' est dans un état '{1}' qui ne peut pas exécuter cette commande.</sys:String>
<sys:String x:Key="DiscordBot_ProfileUpdating">Profile '{0}' est actuellement mis à jour.</sys:String>

View file

@ -639,6 +639,8 @@
<sys:String x:Key="GlobalSettings_DiscordBotLogLevelLabel">Nível de registro:</sys:String>
<sys:String x:Key="GlobalSettings_DiscordBotApplyButtonLabel">Obter Token...</sys:String>
<sys:String x:Key="GlobalSettings_DiscordBotHelpButtonLabel">Ajuda...</sys:String>
<sys:String x:Key="GlobalSettings_DiscordBotAllServersKeywordLabel">Alias de todos os perfis:</sys:String>
<sys:String x:Key="GlobalSettings_DiscordBotAllServersKeywordTooltip">Ao ser usado enviar um comando via discord para todos os perfis associados a um canal de discord. Não inclua espaços ou caracteres especiais. Para desabilitar o alias de Todos os Perfis, limpe o valor.</sys:String>
<sys:String x:Key="ServerSettings_DiscordBotAllowAllBotsLabel">Permitir todos os bots</sys:String>
<sys:String x:Key="ServerSettings_DiscordBotAllowAllBotsTooltip">Se ativado, o bot do gerenciador do servidor responderá a todos os outros bots, caso contrário, eles serão ignorados, a menos que estejam na lista de permissões.</sys:String>
<sys:String x:Key="GlobalSettings_DiscordBotWhitelistLabel">Bot Whitelist</sys:String>
@ -5649,9 +5651,9 @@
<sys:String x:Key="DiscordBot_ProfileMissing">O comando '{0}' requer um id de perfil.</sys:String>
<sys:String x:Key="DiscordBot_ProfileNotFound">O perfil '{0}' não foi encontrado ou não está associado ao canal.</sys:String>
<sys:String x:Key="DiscordBot_ProfileMultiples">Vários perfis com '{0}' foram encontrados no canal, comando abortado.</sys:String>
<sys:String x:Key="DiscordBot_ProfileBadStatus">O perfil '{0}' está em um estado '{1}' que não pode executar este comando.</sys:String>
<sys:String x:Key="DiscordBot_ProfileUpdating">O perfil '{0}' está sendo atualizado.</sys:String>
<sys:String x:Key="DiscordBot_NoChannelProfiles">Nenhum perfil está associado ao canal.</sys:String>
<sys:String x:Key="DiscordBot_InfoFailed">A chamada para o servidor '{0}' falhou.</sys:String>
<sys:String x:Key="DiscordBot_BackupRequested">Uma solicitação de backup para o servidor '{0}' foi enviada.</sys:String>

View file

@ -5724,7 +5724,6 @@
<sys:String x:Key="DiscordBot_ProfileMissing">Для команды '{0}' требуется идентификатор профиля.</sys:String>
<sys:String x:Key="DiscordBot_ProfileNotFound">Профиль '{0}' не найден или не связан с каналом.</sys:String>
<sys:String x:Key="DiscordBot_ProfileMultiples">В канале было обнаружено несколько профилей с "{0}", команда прервана.</sys:String>
<sys:String x:Key="DiscordBot_ProfileBadStatus">Профиль '{0}' находится в состоянии '{1}', и эта команда не может быть запущена.</sys:String>
<sys:String x:Key="DiscordBot_ProfileUpdating">Профиль '{0}' в настоящее время обновляется.</sys:String>

View file

@ -6987,7 +6987,6 @@
<sys:String x:Key="DiscordBot_ProfileMissing">这个 '{0}' 命令需要配置文件ID或别名。</sys:String>
<sys:String x:Key="DiscordBot_ProfileNotFound">简介 '{0}'找不到或与通道不关联.</sys:String>
<sys:String x:Key="DiscordBot_ProfileMultiples">具有多个配置文件 '{0}' 在通道中找到,命令中止.</sys:String>
<sys:String x:Key="DiscordBot_ProfileBadStatus">简介 '{0}'他处于一种状态'{1}' 无法运行此命令的.</sys:String>
<sys:String x:Key="DiscordBot_ProfileUpdating">简介 '{0}' 目前正在更新.</sys:String>

View file

@ -960,6 +960,14 @@ namespace ServerManagerTool.Lib
set { SetValue(DiscordAliasProperty, value); }
}
public static readonly DependencyProperty AllowDiscordClusterAliasProperty = DependencyProperty.Register(nameof(AllowDiscordClusterAlias), typeof(bool), typeof(ServerProfile), new PropertyMetadata(true));
[DataMember]
public bool AllowDiscordClusterAlias
{
get { return (bool)GetValue(AllowDiscordClusterAliasProperty); }
set { SetValue(AllowDiscordClusterAliasProperty, value); }
}
public static readonly DependencyProperty AllowDiscordBackupProperty = DependencyProperty.Register(nameof(AllowDiscordBackup), typeof(bool), typeof(ServerProfile), new PropertyMetadata(true));
[DataMember]
public bool AllowDiscordBackup

View file

@ -1537,10 +1537,11 @@
</Binding>
</TextBox.Text>
</TextBox>
<CheckBox Grid.Row="0" Grid.Column="4" Grid.ColumnSpan="2" Margin="5" IsChecked="{Binding AllowDiscordClusterAlias, Mode=TwoWay}" Content="{DynamicResource ServerSettings_AllowDiscordClusterAliasLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_AllowDiscordClusterAliasTooltip}"/>
<CheckBox Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2" Margin="5,5,5,0" IsChecked="{Binding AllowDiscordBackup, Mode=TwoWay}" Content="{DynamicResource ServerSettings_AllowDiscordBackupLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_AllowDiscordBackupTooltip}"/>
<CheckBox Grid.Row="1" Grid.Column="2" Grid.ColumnSpan="2" Margin="5,5,5,0" IsChecked="{Binding AllowDiscordUpdate, Mode=TwoWay}" Content="{DynamicResource ServerSettings_AllowDiscordUpdateLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_AllowDiscordUpdateTooltip}"/>
<CheckBox Grid.Row="1" Grid.Column="4" Grid.ColumnSpan="2" Margin="5,5,5,0" IsChecked="{Binding AllowDiscordStart, Mode=TwoWay}" Content="{DynamicResource ServerSettings_AllowDiscordStartLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_AllowDiscordStartTooltip}"/>
<CheckBox Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2" Margin="5" IsChecked="{Binding AllowDiscordBackup, Mode=TwoWay}" Content="{DynamicResource ServerSettings_AllowDiscordBackupLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_AllowDiscordBackupTooltip}"/>
<CheckBox Grid.Row="1" Grid.Column="2" Grid.ColumnSpan="2" Margin="5" IsChecked="{Binding AllowDiscordUpdate, Mode=TwoWay}" Content="{DynamicResource ServerSettings_AllowDiscordUpdateLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_AllowDiscordUpdateTooltip}"/>
<CheckBox Grid.Row="1" Grid.Column="4" Grid.ColumnSpan="2" Margin="5" IsChecked="{Binding AllowDiscordStart, Mode=TwoWay}" Content="{DynamicResource ServerSettings_AllowDiscordStartLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_AllowDiscordStartTooltip}"/>
<CheckBox Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2" Margin="5" IsChecked="{Binding AllowDiscordRestart, Mode=TwoWay}" Content="{DynamicResource ServerSettings_AllowDiscordRestartLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_AllowDiscordRestartTooltip}"/>
<CheckBox Grid.Row="2" Grid.Column="2" Grid.ColumnSpan="2" Margin="5" IsChecked="{Binding AllowDiscordShutdown, Mode=TwoWay}" Content="{DynamicResource ServerSettings_AllowDiscordShutdownLabel}" HorizontalAlignment="Left" ToolTip="{DynamicResource ServerSettings_AllowDiscordShutdownTooltip}"/>

View file

@ -111,6 +111,7 @@ namespace ServerManagerTool.Utils
string.Equals(profileIdOrAlias, s.Profile.ProfileID, StringComparison.OrdinalIgnoreCase)
|| !string.IsNullOrWhiteSpace(s.Profile.DiscordAlias) && string.Equals(profileIdOrAlias, s.Profile.DiscordAlias, StringComparison.OrdinalIgnoreCase)
|| !string.IsNullOrWhiteSpace(Config.Default.DiscordBotAllServersKeyword) && string.Equals(profileIdOrAlias, Config.Default.DiscordBotAllServersKeyword, StringComparison.OrdinalIgnoreCase)
|| s.Profile.AllowDiscordClusterAlias && string.Equals(profileIdOrAlias, s.Profile.CrossArkClusterId, StringComparison.OrdinalIgnoreCase)
)
);
@ -178,6 +179,8 @@ namespace ServerManagerTool.Utils
{
responseList.Add(string.Format(_globalizer.GetResourceString("DiscordBot_InfoFailed"), profile.ServerName));
}
_currentProfileCommands.Remove(profile.ProfileId);
}
return responseList;
@ -231,6 +234,7 @@ namespace ServerManagerTool.Utils
string.Equals(profileIdOrAlias, s.Profile.ProfileID, StringComparison.OrdinalIgnoreCase)
|| !string.IsNullOrWhiteSpace(s.Profile.DiscordAlias) && string.Equals(profileIdOrAlias, s.Profile.DiscordAlias, StringComparison.OrdinalIgnoreCase)
|| !string.IsNullOrWhiteSpace(Config.Default.DiscordBotAllServersKeyword) && string.Equals(profileIdOrAlias, Config.Default.DiscordBotAllServersKeyword, StringComparison.OrdinalIgnoreCase)
|| s.Profile.AllowDiscordClusterAlias && string.Equals(profileIdOrAlias, s.Profile.CrossArkClusterId, StringComparison.OrdinalIgnoreCase)
)
);
@ -282,6 +286,7 @@ namespace ServerManagerTool.Utils
string.Equals(profileIdOrAlias, s.Profile.ProfileID, StringComparison.OrdinalIgnoreCase)
|| !string.IsNullOrWhiteSpace(s.Profile.DiscordAlias) && string.Equals(profileIdOrAlias, s.Profile.DiscordAlias, StringComparison.OrdinalIgnoreCase)
|| !string.IsNullOrWhiteSpace(Config.Default.DiscordBotAllServersKeyword) && string.Equals(profileIdOrAlias, Config.Default.DiscordBotAllServersKeyword, StringComparison.OrdinalIgnoreCase)
|| s.Profile.AllowDiscordClusterAlias && string.Equals(profileIdOrAlias, s.Profile.CrossArkClusterId, StringComparison.OrdinalIgnoreCase)
)
);
@ -382,6 +387,7 @@ namespace ServerManagerTool.Utils
string.Equals(profileIdOrAlias, s.Profile.ProfileID, StringComparison.OrdinalIgnoreCase)
|| !string.IsNullOrWhiteSpace(s.Profile.DiscordAlias) && string.Equals(profileIdOrAlias, s.Profile.DiscordAlias, StringComparison.OrdinalIgnoreCase)
|| !string.IsNullOrWhiteSpace(Config.Default.DiscordBotAllServersKeyword) && string.Equals(profileIdOrAlias, Config.Default.DiscordBotAllServersKeyword, StringComparison.OrdinalIgnoreCase)
|| s.Profile.AllowDiscordClusterAlias && string.Equals(profileIdOrAlias, s.Profile.CrossArkClusterId, StringComparison.OrdinalIgnoreCase)
)
);
@ -487,6 +493,7 @@ namespace ServerManagerTool.Utils
string.Equals(profileIdOrAlias, s.Profile.ProfileID, StringComparison.OrdinalIgnoreCase)
|| !string.IsNullOrWhiteSpace(s.Profile.DiscordAlias) && string.Equals(profileIdOrAlias, s.Profile.DiscordAlias, StringComparison.OrdinalIgnoreCase)
|| !string.IsNullOrWhiteSpace(Config.Default.DiscordBotAllServersKeyword) && string.Equals(profileIdOrAlias, Config.Default.DiscordBotAllServersKeyword, StringComparison.OrdinalIgnoreCase)
|| s.Profile.AllowDiscordClusterAlias && string.Equals(profileIdOrAlias, s.Profile.CrossArkClusterId, StringComparison.OrdinalIgnoreCase)
)
);
@ -591,6 +598,7 @@ namespace ServerManagerTool.Utils
string.Equals(profileIdOrAlias, s.Profile.ProfileID, StringComparison.OrdinalIgnoreCase)
|| !string.IsNullOrWhiteSpace(s.Profile.DiscordAlias) && string.Equals(profileIdOrAlias, s.Profile.DiscordAlias, StringComparison.OrdinalIgnoreCase)
|| !string.IsNullOrWhiteSpace(Config.Default.DiscordBotAllServersKeyword) && string.Equals(profileIdOrAlias, Config.Default.DiscordBotAllServersKeyword, StringComparison.OrdinalIgnoreCase)
|| s.Profile.AllowDiscordClusterAlias && string.Equals(profileIdOrAlias, s.Profile.CrossArkClusterId, StringComparison.OrdinalIgnoreCase)
)
);
@ -696,6 +704,7 @@ namespace ServerManagerTool.Utils
string.Equals(profileIdOrAlias, s.Profile.ProfileID, StringComparison.OrdinalIgnoreCase)
|| !string.IsNullOrWhiteSpace(s.Profile.DiscordAlias) && string.Equals(profileIdOrAlias, s.Profile.DiscordAlias, StringComparison.OrdinalIgnoreCase)
|| !string.IsNullOrWhiteSpace(Config.Default.DiscordBotAllServersKeyword) && string.Equals(profileIdOrAlias, Config.Default.DiscordBotAllServersKeyword, StringComparison.OrdinalIgnoreCase)
|| s.Profile.AllowDiscordClusterAlias && string.Equals(profileIdOrAlias, s.Profile.CrossArkClusterId, StringComparison.OrdinalIgnoreCase)
)
);
@ -802,6 +811,7 @@ namespace ServerManagerTool.Utils
string.Equals(profileIdOrAlias, s.Profile.ProfileID, StringComparison.OrdinalIgnoreCase)
|| !string.IsNullOrWhiteSpace(s.Profile.DiscordAlias) && string.Equals(profileIdOrAlias, s.Profile.DiscordAlias, StringComparison.OrdinalIgnoreCase)
|| !string.IsNullOrWhiteSpace(Config.Default.DiscordBotAllServersKeyword) && string.Equals(profileIdOrAlias, Config.Default.DiscordBotAllServersKeyword, StringComparison.OrdinalIgnoreCase)
|| s.Profile.AllowDiscordClusterAlias && string.Equals(profileIdOrAlias, s.Profile.CrossArkClusterId, StringComparison.OrdinalIgnoreCase)
)
);

View file

@ -5,7 +5,37 @@
<title>Ark Server Manager Version Feed</title>
<subtitle>This is the Ark Server Manager release version feed.</subtitle>
<link href="http://arkservermanager.freeforums.net/" />
<updated>2022-04-16T00:00:00Z</updated>
<updated>2022-04-23T00:00:00Z</updated>
<entry>
<id>urn:uuid:8AD6F2C4-D9BD-41D5-BE91-DA23F31A2FA4</id>
<title>1.1.423 (1.1.423.1)</title>
<summary>1.1.423.1</summary>
<link href="" />
<updated>2022-04-23T00: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>Fixed the discord bot Info command, to release the profile once the command has finished running.</li>
</ul>
<u style="font-size: .9em;">CHANGE</u>
<br/>
<ul>
<li>Profile Discord Settings - added new checkbox to allow the profile to be included in discord commands using the Cluster Id as the alias.</li>
<li>Realigned the default Player and Creature levels to the wiki.</li>
<li>pt-BR Translation file updated.</li>
</ul>
</p>
</div>
</content>
<author>
<name>bletch</name>
<email>bletch1971@hotmail.com</email>
</author>
</entry>
<entry>
<id>urn:uuid:95C9671F-4AEC-4433-AD68-CF91854FEC1B</id>

View file

@ -5,68 +5,28 @@
<title>Ark Server Manager Version Feed</title>
<subtitle>This is the Ark Server Manager beta version feed.</subtitle>
<link href="http://arkservermanager.freeforums.net/" />
<updated>2022-04-16T00:00:00Z</updated>
<updated>2022-04-23T00:00:00Z</updated>
<entry>
<id>urn:uuid:B5B32577-54E7-49D3-9EDF-D623F54A47D9</id>
<title>1.1.422 (1.1.422.3)</title>
<summary>1.1.422.3</summary>
<id>urn:uuid:8AD6F2C4-D9BD-41D5-BE91-DA23F31A2FA4</id>
<title>1.1.423 (1.1.423.1)</title>
<summary>1.1.423.1</summary>
<link href="" />
<updated>2022-04-16T00:00:00Z</updated>
<updated>2022-04-23T00: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;">CHANGE</u>
<u style="font-size: .9em;">BUGFIX</u>
<br/>
<ul>
<li>ru-RU Translation file updated.</li>
<li>Fixed the discord bot Info command, to release the profile once the command has finished running.</li>
</ul>
</p>
</div>
</content>
<author>
<name>bletch</name>
<email>bletch1971@hotmail.com</email>
</author>
</entry>
<entry>
<id>urn:uuid:B5B32577-54E7-49D3-9EDF-D623F54A47D9</id>
<title>1.1.422 (1.1.422.2)</title>
<summary>1.1.422.2</summary>
<link href="" />
<updated>2022-04-14T00: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;">CHANGE</u>
<br/>
<ul>
<li>Global Settings - added new discord bot setting for an All Profiles alias. To disable to All Profiles feature, just clear the alias field.</li>
<li>Discord Bot - can now use the new All Profiles alias to send a command to all profiles associated with the channel.</li>
</ul>
</p>
</div>
</content>
<author>
<name>bletch</name>
<email>bletch1971@hotmail.com</email>
</author>
</entry>
<entry>
<id>urn:uuid:95C9671F-4AEC-4433-AD68-CF91854FEC1B</id>
<title>1.1.422 (1.1.422.1)</title>
<summary>1.1.422.1</summary>
<link href="" />
<updated>2022-03-23T00: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;">CHANGE</u>
<br/>
<ul>
<li>Changed the auto process message broadcast to use a config setting, not a hardcoded value.</li>
<li>Profile Discord Settings - added new checkbox to allow the profile to be included in discord commands using the Cluster Id as the alias.</li>
<li>Realigned the default Player and Creature levels to the wiki.</li>
<li>pt-BR Translation file updated.</li>
</ul>
</p>
</div>