Add cvar to show new players in ahelp (#23265)

* Implement cvar

* Enable cvar on Wizden
This commit is contained in:
LankLTE
2024-01-03 20:45:23 -08:00
committed by GitHub
parent 8a8d42e24e
commit 01082c6c27
3 changed files with 19 additions and 0 deletions

View File

@@ -804,6 +804,14 @@ namespace Content.Shared.CCVar
/// </summary>
public static readonly CVarDef<string> AdminAhelpOverrideClientName =
CVarDef.Create("admin.override_adminname_in_client_ahelp", string.Empty, CVar.SERVERONLY);
/// <summary>
/// The threshold of minutes to appear as a "new player" in the ahelp menu
/// If 0, appearing as a new player is disabled.
/// </summary>
public static readonly CVarDef<int> NewPlayerThreshold =
CVarDef.Create("admin.new_player_threshold", 0, CVar.ARCHIVE | CVar.REPLICATED | CVar.SERVER);
/*
* Explosions
*/