Kicking AFK players (#12812)

* Kicking AFK players

* Set correct CCvar values
This commit is contained in:
Morb
2022-12-01 19:38:20 +03:00
committed by GitHub
parent 026991ed17
commit ca260ee666
3 changed files with 29 additions and 4 deletions

View File

@@ -1149,6 +1149,12 @@ namespace Content.Shared.CCVar
public static readonly CVarDef<float> AfkTime =
CVarDef.Create("afk.time", 60f, CVar.SERVERONLY);
/// <summary>
/// How long seconds a client can go after being detected as AFK before being kicked.
/// </summary>
public static readonly CVarDef<float> AfkKickTime =
CVarDef.Create("afk.kick_time", 600f, CVar.SERVERONLY);
/*
* IC
*/