Enable panic bunker by default (#23252)

* update cvars

* vote 1984

* rip

* add custom reason

* make panic_bunker.enabled a server cvar

I am kind of guessing

---------

Co-authored-by: DrSmugleaf <drsmugleaf@gmail.com>
This commit is contained in:
Chief-Engineer
2024-01-03 03:26:13 -06:00
committed by GitHub
parent aa6645c8e9
commit 7ecd7668a1
4 changed files with 12 additions and 1 deletions

View File

@@ -258,7 +258,7 @@ namespace Content.Shared.CCVar
/// Whether or not panic bunker is currently enabled. /// Whether or not panic bunker is currently enabled.
/// </summary> /// </summary>
public static readonly CVarDef<bool> PanicBunkerEnabled = public static readonly CVarDef<bool> PanicBunkerEnabled =
CVarDef.Create("game.panic_bunker.enabled", false, CVar.NOTIFY | CVar.REPLICATED); CVarDef.Create("game.panic_bunker.enabled", false, CVar.NOTIFY | CVar.REPLICATED | CVar.SERVER);
/// <summary> /// <summary>
/// Whether or not the panic bunker will disable when an admin comes online. /// Whether or not the panic bunker will disable when an admin comes online.

View File

@@ -4,6 +4,9 @@
[game] [game]
hostname = "[EN] Wizard's Den Leviathan [US East 1]" hostname = "[EN] Wizard's Den Leviathan [US East 1]"
panic_bunker.enabled = false
panic_bunker.disable_with_admins = false
panic_bunker.enable_without_admins = false
[hub] [hub]
tags = "lang:en,region:am_n_e,rp:low" tags = "lang:en,region:am_n_e,rp:low"

View File

@@ -4,6 +4,9 @@
[game] [game]
hostname = "[EN] Wizard's Den Lizard [US West]" hostname = "[EN] Wizard's Den Lizard [US West]"
panic_bunker.enabled = false
panic_bunker.disable_with_admins = false
panic_bunker.enable_without_admins = false
[hub] [hub]
tags = "lang:en,region:am_n_w,rp:low" tags = "lang:en,region:am_n_w,rp:low"

View File

@@ -5,6 +5,11 @@
desc = "Official English Space Station 14 servers. Vanilla, low roleplay." desc = "Official English Space Station 14 servers. Vanilla, low roleplay."
lobbyenabled = true lobbyenabled = true
soft_max_players = 80 soft_max_players = 80
panic_bunker.enabled = true
panic_bunker.disable_with_admins = true
panic_bunker.enable_without_admins = true
panic_bunker.show_reason = true
panic_bunker.custom_reason = "You have not played on Wizard's Den server long enough to connect to this server. Please play on Wizard's Den Lizard or Wizard's Den Leviathan until you have more playtime."
[infolinks] [infolinks]
bug_report = "https://github.com/space-wizards/space-station-14/issues/new/choose" bug_report = "https://github.com/space-wizards/space-station-14/issues/new/choose"