Auto Local Admin (#11254)

This commit is contained in:
Geeves
2021-02-23 18:19:54 +02:00
committed by GitHub
parent 7ab47aac02
commit b633d1e75a
3 changed files with 19 additions and 0 deletions

View File

@@ -162,6 +162,7 @@ var/list/gamemode_cache = list()
var/animal_delay = 0
var/auto_local_admin = FALSE
var/admin_legacy_system = 0 //Defines whether the server uses the legacy admin system with admins.txt or the SQL system. Config option in config.txt
var/ban_legacy_system = 0 //Defines whether the server uses the legacy banning system with the files in /data or the SQL system. Config option in config.txt
var/use_age_restriction_for_jobs = 0 //Do jobs use account age restrictions? --requires database
@@ -365,6 +366,9 @@ var/list/gamemode_cache = list()
if(type == "config")
switch (name)
if ("auto_local_admin")
config.auto_local_admin = TRUE
if ("admin_legacy_system")
config.admin_legacy_system = 1