Added max ban duration and perm ban right
This commit is contained in:
parent
00343b6b66
commit
fb251aadef
2 changed files with 32 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue