This commit is contained in:
Metis
2024-10-07 20:21:02 -04:00
parent 8cdd35f733
commit b8b3d603c4
9 changed files with 235 additions and 0 deletions
+5
View File
@@ -429,6 +429,11 @@ GLOBAL_LIST_INIT(blacklisted_builds, list(
if(admin_memo_note)
to_chat(src, admin_memo_note)
adminGreet()
else if(!BC_IsKeyAllowedToConnect(ckey))
to_chat(src, "Sorry, but the server is currently only accepting whitelisted players. Please see the discord to be whitelisted.")
log_and_message_admins("[ckey] was denied a connection due to not being whitelisted.")
qdel(src)
return 0
add_verbs_from_config()
var/cached_player_age = set_client_age_from_db(tdata) //we have to cache this because other shit may change it and we need it's current value now down below.