After getting banned, you now have to re-read the rules! (#33270)
* first commit * opps * Reset cooldown instead * Added ccvar * Not replicated!
This commit is contained in:
@@ -89,6 +89,12 @@ public sealed partial class CCVars
|
||||
public static readonly CVarDef<bool> ServerBanErasePlayer =
|
||||
CVarDef.Create("admin.server_ban_erase_player", false, CVar.ARCHIVE | CVar.SERVER | CVar.REPLICATED);
|
||||
|
||||
/// <summary>
|
||||
/// If true, will reset the last time the player has read the rules. This will mean on their next login they will be shown the rules again.
|
||||
/// </summary>
|
||||
public static readonly CVarDef<bool> ServerBanResetLastReadRules =
|
||||
CVarDef.Create("admin.server_ban_reset_last_read_rules", true, CVar.ARCHIVE | CVar.SERVER);
|
||||
|
||||
/// <summary>
|
||||
/// Minimum players sharing a connection required to create an alert. -1 to disable the alert.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user