1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

implement admin "privacy" for issue #185

This commit is contained in:
RaidMax
2021-01-09 12:37:20 -06:00
parent 0387b6bd23
commit f984d509b3
6 changed files with 60 additions and 13 deletions

View File

@ -135,6 +135,8 @@ namespace SharedLibraryCore.Configuration
[LocalizedDisplayName("WEBFRONT_CONFIGURATION_PRESET_BAN_REASONS")]
public Dictionary<string, string> PresetPenaltyReasons { get; set; } = new Dictionary<string, string>
{{"afk", "Away from keyboard"}, {"ci", "Connection interrupted. Reconnect"}};
[LocalizedDisplayName(("WEBFRONT_CONFIGURATION_ENABLE_PRIVILEGED_USER_PRIVACY"))]
public bool EnablePrivilegedUserPrivacy { get; set; }
[UIHint("ServerConfiguration")]
public ServerConfiguration[] Servers { get; set; }