mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-26 01:52:15 +00:00
Adds a config option to automatically delist the server from the BYOND up when there are no admins.
This commit is contained in:
@@ -219,6 +219,7 @@ var/list/gamemode_cache = list()
|
||||
var/list/language_prefixes = list(",","#","-")//Default language prefixes
|
||||
|
||||
var/ghosts_can_possess_animals = 0
|
||||
var/delist_when_no_admins = FALSE
|
||||
|
||||
/datum/configuration/New()
|
||||
var/list/L = typesof(/datum/game_mode) - /datum/game_mode
|
||||
@@ -707,6 +708,9 @@ var/list/gamemode_cache = list()
|
||||
if ("lobby_screens")
|
||||
config.lobby_screens = text2list(value, ";")
|
||||
|
||||
if("delist_when_no_admins")
|
||||
config.delist_when_no_admins = TRUE
|
||||
|
||||
else
|
||||
log_misc("Unknown setting in configuration: '[name]'")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user