Implements panic bunkering. (#9315)
* Implements panic bunkering. Helps with raid management, esp with unknown accounts. * adds an enable/disable command.
This commit is contained in:
@@ -207,6 +207,18 @@ namespace Content.Shared.CCVar
|
||||
public static readonly CVarDef<int> SoftMaxPlayers =
|
||||
CVarDef.Create("game.soft_max_players", 30, CVar.SERVERONLY | CVar.ARCHIVE);
|
||||
|
||||
/// <summary>
|
||||
/// Whether or not panic bunker is currently enabled.
|
||||
/// </summary>
|
||||
public static readonly CVarDef<bool> PanicBunkerEnabled =
|
||||
CVarDef.Create("game.panic_bunker.enabled", false, CVar.SERVERONLY);
|
||||
|
||||
/// <summary>
|
||||
/// Minimum age of the account (from server's PoV, so from first-seen date) in minutes.
|
||||
/// </summary>
|
||||
public static readonly CVarDef<int> PanicBunkerMinAccountAge =
|
||||
CVarDef.Create("game.panic_bunker.min_account_age", 1440, CVar.SERVERONLY);
|
||||
|
||||
#if EXCEPTION_TOLERANCE
|
||||
/// <summary>
|
||||
/// Amount of times round start must fail before the server is shut down.
|
||||
|
||||
Reference in New Issue
Block a user