Adds a config option to automatically delist the server from the BYOND up when there are no admins.

This commit is contained in:
PsiOmegaDelta
2016-01-12 18:02:52 +01:00
parent c3586712e5
commit 4f6ebf9a43
5 changed files with 15 additions and 5 deletions

View File

@@ -734,8 +734,11 @@ proc/admin_notice(var/message, var/rights)
return
world.visibility = !(world.visibility)
var/long_message = "toggled hub visibility. The server is now [world.visibility ? "visible" : "invisible"] ([world.visibility])."
send2adminirc("[key_name(src)]" + long_message)
message_admins("[key_name_admin(usr)]" + long_message, 1)
log_admin("[key_name(usr)] toggled hub visibility.")
message_admins("[key_name_admin(usr)] toggled hub visibility. The server is now [world.visibility ? "visible" : "invisible"] ([world.visibility]).", 1)
feedback_add_details("admin_verb","THUB") //If you are copy-pasting this, ensure the 2nd parameter is unique to the new proc
/datum/admins/proc/toggletraitorscaling()