mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-28 21:46:30 +01:00
toml config, database storage for repositories / singletons (#6893)
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
|
||||
/client/proc/reload_configuration()
|
||||
set category = "Debug"
|
||||
set name = "Reload Configuration"
|
||||
set desc = "Force config reload to world default"
|
||||
if(!check_rights(R_DEBUG))
|
||||
return
|
||||
if(alert(usr, "Are you absolutely sure you want to reload the configuration from the default path on the disk, wiping any in-round modificatoins?", "Really reset?", "No", "Yes") == "Yes")
|
||||
log_and_message_admins("[key_name(usr)] reloaded server configuration.")
|
||||
config.admin_reload()
|
||||
Configuration.admin_reload()
|
||||
load_configuration() //for legacy
|
||||
Reference in New Issue
Block a user