Admin New Player Notification Sound (#24327)

play a sound to active admins when a new player joins
This commit is contained in:
DEATHB4DEFEAT
2024-03-23 19:46:45 -07:00
committed by GitHub
parent 5ba5815a96
commit b9db06ebb1
4 changed files with 20 additions and 0 deletions

View File

@@ -779,6 +779,12 @@ namespace Content.Shared.CCVar
public static readonly CVarDef<bool> SeeOwnNotes =
CVarDef.Create("admin.see_own_notes", false, CVar.ARCHIVE | CVar.REPLICATED | CVar.SERVER);
/// <summary>
/// Should the server play a quick sound to the active admins whenever a new player joins?
/// </summary>
public static readonly CVarDef<bool> AdminNewPlayerJoinSound =
CVarDef.Create("admin.new_player_join_sound", false, CVar.SERVERONLY);
/// <summary>
/// The amount of days before the note starts fading. It will slowly lose opacity until it reaches stale. Set to 0 to disable.
/// </summary>