Skip to content

Commit

Permalink
adding RestrictRCon option
Browse files Browse the repository at this point in the history
  • Loading branch information
X39 committed Jul 28, 2023
1 parent 65d62ac commit b7c63de
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 0 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -390,4 +390,10 @@ Wenn diese Einstellung aktiviert ist, kann sich der Start des Servers um 600 Sek
<data name="DiscordCommand_GameServers_ModPack" xml:space="preserve">
<value>Modpack</value>
</data>
<data name="ServerController_Arma3_BattlEyeCfg_Rcon_RestrictRCon_Description" xml:space="preserve">
<value>Aktiviert/Deaktiviert RCon-Funktionen (Kick/Ban/Verbindungsbeschränkungen)</value>
</data>
<data name="ServerController_Arma3_BattlEyeCfg_Rcon_RestrictRCon_Title" xml:space="preserve">
<value>Beschränken</value>
</data>
</root>
6 changes: 6 additions & 0 deletions source/X39.UnitedTacticalForces.Api/Properties/Language.resx
Original file line number Diff line number Diff line change
Expand Up @@ -422,4 +422,10 @@ Usually this is the same as the installation path and the same as the one entere
<data name="DiscordCommand_GameServers_ModPack" xml:space="preserve">
<value>Mod pack</value>
</data>
<data name="ServerController_Arma3_BattlEyeCfg_Rcon_RestrictRCon_Description" xml:space="preserve">
<value>Enables/disables RCon functions (kick/ban/connection restrictions).</value>
</data>
<data name="ServerController_Arma3_BattlEyeCfg_Rcon_RestrictRCon_Title" xml:space="preserve">
<value>Restrict</value>
</data>
</root>
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ public override IEnumerable<ConfigurationEntryDefinition> GetConfigurationEntryD
yield return new ConfigurationEntryDefinition(false, RealmBattlEyeCfg, EConfigurationEntryKind.Password, "RConPassword", null, Language.ResourceManager.GetString(nameof(Language.ServerController_Arma3_BattlEyeCfg_Rcon), cultureInfo) ?? string.Empty, Language.ResourceManager.GetString(nameof(Language.ServerController_Arma3_BattlEyeCfg_Rcon_RconPassword_Title), cultureInfo) ?? string.Empty, Language.ResourceManager.GetString(nameof(Language.ServerController_Arma3_BattlEyeCfg_Rcon_RconPassword_Description), cultureInfo) ?? string.Empty);
yield return new ConfigurationEntryDefinition(false, RealmBattlEyeCfg, EConfigurationEntryKind.Password, "RConPort", null, Language.ResourceManager.GetString(nameof(Language.ServerController_Arma3_BattlEyeCfg_Rcon), cultureInfo) ?? string.Empty, Language.ResourceManager.GetString(nameof(Language.ServerController_Arma3_BattlEyeCfg_Rcon_RconPort_Title), cultureInfo) ?? string.Empty, Language.ResourceManager.GetString(nameof(Language.ServerController_Arma3_BattlEyeCfg_Rcon_RconPort_Description), cultureInfo) ?? string.Empty);
yield return new ConfigurationEntryDefinition(false, RealmBattlEyeCfg, EConfigurationEntryKind.Password, "RConIP", null, Language.ResourceManager.GetString(nameof(Language.ServerController_Arma3_BattlEyeCfg_Rcon), cultureInfo) ?? string.Empty, Language.ResourceManager.GetString(nameof(Language.ServerController_Arma3_BattlEyeCfg_Rcon_RConIP_Title), cultureInfo) ?? string.Empty, Language.ResourceManager.GetString(nameof(Language.ServerController_Arma3_BattlEyeCfg_Rcon_RConIP_Description), cultureInfo) ?? string.Empty);
yield return new ConfigurationEntryDefinition(false, RealmBattlEyeCfg, EConfigurationEntryKind.Boolean, "RestrictRCon", null, Language.ResourceManager.GetString(nameof(Language.ServerController_Arma3_BattlEyeCfg_Rcon), cultureInfo) ?? string.Empty, Language.ResourceManager.GetString(nameof(Language.ServerController_Arma3_BattlEyeCfg_Rcon_RestrictRCon_Title), cultureInfo) ?? string.Empty, Language.ResourceManager.GetString(nameof(Language.ServerController_Arma3_BattlEyeCfg_Rcon_RestrictRCon_Description), cultureInfo) ?? string.Empty);
// ReSharper restore StringLiteralTypo
// @formatter:max_line_length restore
}
Expand Down

0 comments on commit b7c63de

Please sign in to comment.