mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-30 03:52:52 +00:00
Auto Local Admin (#11254)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user