Restrict character names to alphanumerics via cvar (#4947)
* Restrict character names to ASCII via cvar * Alphanumerics is better * name randomization Co-authored-by: ike709 <ike709@github.com>
This commit is contained in:
@@ -461,5 +461,15 @@ namespace Content.Shared.CCVar
|
||||
/// </summary>
|
||||
public static readonly CVarDef<float> AfkTime =
|
||||
CVarDef.Create("afk.time", 60f, CVar.SERVERONLY);
|
||||
|
||||
/*
|
||||
* IC
|
||||
*/
|
||||
|
||||
/// <summary>
|
||||
/// Restricts IC character names to alphanumeric chars.
|
||||
/// </summary>
|
||||
public static readonly CVarDef<bool> RestrictedNames =
|
||||
CVarDef.Create("ic.restricted_names", true, CVar.SERVER | CVar.REPLICATED);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user