Require hwid (#35331)
* Make cvar to require that the client has a modern hwid * Ignore guests and don't disable cvar on dev * Rename and add docs
This commit is contained in:
@@ -183,6 +183,12 @@ public sealed partial class CCVars
|
||||
public static readonly CVarDef<bool> BanHardwareIds =
|
||||
CVarDef.Create("ban.hardware_ids", true, CVar.SERVERONLY);
|
||||
|
||||
/// <summary>
|
||||
/// Determines if we'll reject connections from clients who don't have a modern hwid.
|
||||
/// </summary>
|
||||
public static readonly CVarDef<bool> RequireModernHardwareId =
|
||||
CVarDef.Create("admin.require_modern_hwid", true, CVar.SERVERONLY);
|
||||
|
||||
/// <summary>
|
||||
/// If true, players are allowed to connect to multiple game servers at once.
|
||||
/// If false, they will be kicked from the first when connecting to another.
|
||||
|
||||
Reference in New Issue
Block a user