Whitelist reason cvar + RP server whitelist reason (#10451)
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user