Add cvar to disable ooc chat (#3258)

This commit is contained in:
DrSmugleaf
2021-02-16 20:14:32 +01:00
committed by GitHub
parent 3c54c755ce
commit ecb9993d80
7 changed files with 131 additions and 19 deletions

View File

@@ -252,5 +252,14 @@ namespace Content.Shared
*/
public static readonly CVarDef<bool> BrandingSteam = CVarDef.Create("branding.steam", false, CVar.CLIENTONLY);
/*
* OOC
*/
public static readonly CVarDef<bool> OocEnabled = CVarDef.Create("ooc.enabled", true, CVar.NOTIFY);
public static readonly CVarDef<bool> AdminOocEnabled =
CVarDef.Create("ooc.enabled_admin", true, CVar.NOTIFY);
}
}