mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
[MIRROR] Server maint subsystem (#9408)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
4f9bd4462d
commit
f72f2f8c89
@@ -549,13 +549,12 @@
|
||||
/datum/config_entry/flag/persistence_ignore_mapload
|
||||
|
||||
/datum/config_entry/flag/allow_byond_links
|
||||
default = TRUE //CHOMP Edit turned this on
|
||||
|
||||
default = TRUE
|
||||
/datum/config_entry/flag/allow_discord_links
|
||||
default = TRUE //CHOMP Edit turned this on
|
||||
default = TRUE
|
||||
|
||||
/datum/config_entry/flag/allow_url_links
|
||||
default = TRUE // honestly if I were you i'd leave this one off, only use in dire situations //CHOMP Edit: pussy.
|
||||
default = TRUE // honestly if I were you i'd leave this one off, only use in dire situations
|
||||
|
||||
/datum/config_entry/flag/starlight // Whether space turfs have ambient light or not
|
||||
|
||||
|
||||
@@ -150,7 +150,7 @@ SUBSYSTEM_DEF(plants)
|
||||
|
||||
// Debug for testing seed genes.
|
||||
/client/proc/show_plant_genes()
|
||||
set category = "Debug.Investigate" //CHOMPEdit
|
||||
set category = "Debug.Investigate"
|
||||
set name = "Show Plant Genes"
|
||||
set desc = "Prints the round's plant gene masks."
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ SUBSYSTEM_DEF(server_maint)
|
||||
/*/datum/controller/subsystem/server_maint/PreInit()
|
||||
world.hub_password = "" *///quickly! before the hubbies see us.
|
||||
|
||||
/datum/controller/subsystem/server_maint/Initialize()
|
||||
/datum/controller/subsystem/server_maint/Initialize() // CHOMPEdit
|
||||
if (fexists("tmp/"))
|
||||
fdel("tmp/")
|
||||
//if (CONFIG_GET(flag/hub))
|
||||
@@ -91,7 +91,7 @@ SUBSYSTEM_DEF(server_maint)
|
||||
if (fexists("tmp/"))
|
||||
fdel("tmp/")
|
||||
//kick_clients_in_lobby(span_boldannounce("The round came to an end with you in the lobby."), TRUE) //second parameter ensures only afk clients are kicked
|
||||
var/server = null//CONFIG_GET(string/server) todo properly later once config controller is updated
|
||||
var/server = CONFIG_GET(string/server)
|
||||
for(var/thing in GLOB.clients)
|
||||
if(!thing)
|
||||
continue
|
||||
@@ -136,7 +136,7 @@ SUBSYSTEM_DEF(statpanels)
|
||||
|
||||
target.stat_panel.send_message("update_stat", list(
|
||||
global_data = global_data,
|
||||
ping_str = "Ping: [round(target.lastping, 1)]ms (Average: [round(target.avgping, 1)]ms)", // CHOMPEdit
|
||||
ping_str = "Ping: [round(target.lastping, 1)]ms (Average: [round(target.avgping, 1)]ms)",
|
||||
other_str = target.mob?.get_status_tab_items(),
|
||||
))
|
||||
|
||||
|
||||
@@ -400,7 +400,7 @@ SUBSYSTEM_DEF(vote)
|
||||
usr.client.vote()
|
||||
|
||||
/client/verb/vote()
|
||||
set category = "OOC.Game" //CHOMPEdit
|
||||
set category = "OOC.Game"
|
||||
set name = "Vote"
|
||||
|
||||
if(SSvote)
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
|
||||
// Debug verbs.
|
||||
/client/proc/restart_controller(controller in list("Master", "Failsafe"))
|
||||
set category = "Debug.Dangerous" //CHOMPEdit
|
||||
set category = "Debug.Dangerous"
|
||||
set name = "Restart Controller"
|
||||
set desc = "Restart one of the various periodic loop controllers for the game (be careful!)"
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
message_admins("Admin [key_name_admin(usr)] has restarted the [controller] controller.")
|
||||
|
||||
/client/proc/debug_antagonist_template(antag_type in all_antag_types)
|
||||
set category = "Debug.Investigate" //CHOMPEdit
|
||||
set category = "Debug.Investigate"
|
||||
set name = "Debug Antagonist"
|
||||
set desc = "Debug an antagonist template."
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
message_admins("Admin [key_name_admin(usr)] is debugging the [antag.role_text] template.")
|
||||
|
||||
/client/proc/debug_controller()
|
||||
set category = "Debug.Investigate" //CHOMPEdit
|
||||
set category = "Debug.Investigate"
|
||||
set name = "Debug Controller"
|
||||
set desc = "Debug the various subsystems/controllers for the game (be careful!)"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user