Whitelist reason cvar + RP server whitelist reason (#10451)

This commit is contained in:
Kara
2022-08-08 16:55:57 -07:00
committed by GitHub
parent 1eb4dfb13f
commit bbdb269b5f
3 changed files with 8 additions and 1 deletions

View File

@@ -813,6 +813,12 @@ namespace Content.Shared.CCVar
public static readonly CVarDef<bool> WhitelistEnabled =
CVarDef.Create("whitelist.enabled", false, CVar.SERVERONLY);
/// <summary>
/// The loc string to display as a disconnect reason when someone is not whitelisted.
/// </summary>
public static readonly CVarDef<string> WhitelistReason =
CVarDef.Create("whitelist.reason", "whitelist-not-whitelisted", CVar.SERVERONLY);
/*
* VOTE
*/