Adding a couple changeable things for hosts (#139)

This commit is contained in:
SandPoot
2021-01-28 23:13:14 -03:00
committed by GitHub
parent 28e87a5db5
commit d8e8592fa2
4 changed files with 17 additions and 3 deletions
+1 -1
View File
@@ -575,7 +575,7 @@ GLOBAL_LIST_INIT(blacklisted_builds, list(
if(CONFIG_GET(flag/panic_bunker) && !(ckey in GLOB.bunker_passthrough))
log_access("Failed Login: [key] - New account attempting to connect during panic bunker")
message_admins("<span class='adminnotice'>Failed Login: [key] - New account attempting to connect during panic bunker</span>")
to_chat(src, "<span class='notice'>You must first join the Discord to verify your account before joining this server.<br>To do so, read the rules and post a request in the #station-access-requests channel under the \"Main server\" category in the Discord server linked here: <a href='https://discord.gg/E6SQuhz'>https://discord.gg/E6SQuhz</a><br>If you have already done so, wait a few minutes then try again; sometimes the server needs to fully load before you can join.</span>") //CIT CHANGE - makes the panic bunker disconnect message point to the discord
to_chat(src, (CONFIG_GET(string/panic_bunker_warn) ? CONFIG_GET(string/panic_bunker_warn) : "The server sadly does not have their panic bunker message set, i recommend just getting into our discord, we'll help you in."))
var/list/connectiontopic_a = params2list(connectiontopic)
var/list/panic_addr = CONFIG_GET(string/panic_server_address)
if(panic_addr && !connectiontopic_a["redirect"])