Added max ban duration and perm ban right

This commit is contained in:
Valentin Barat
2024-04-25 00:46:23 +02:00
parent 00343b6b66
commit fb251aadef
2 changed files with 32 additions and 0 deletions

View File

@@ -58,6 +58,9 @@ namespace CS2_SimpleAdmin
[JsonPropertyName("DisableDangerousCommands")]
public bool DisableDangerousCommands { get; set; } = true;
[JsonPropertyName("MaxBanDuration")]
public int MaxBanDuration { get; set; } = 60 * 24 * 7; // 7 days
[JsonPropertyName("BanType")]
public int BanType { get; set; } = 1;