mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-18 18:44:48 +01:00
Whitelisting to bypass the reroute system.
Note, all ckeys in the ofwhitelist must be lowercase and contain no spaces.
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
|
||||
if(config.player_overflow_cap && config.overflow_server_url) //Overflow rerouting, if set, forces players to be moved to a different server once a player cap is reached. Less rough than a pure kick.
|
||||
if(src.client.holder) return //admins are immune to overflow rerouting
|
||||
if(config.overflow_whitelist.Find(lowertext(src.ckey))) return //Whitelisted people are immune to overflow rerouting.
|
||||
var/tally = 0
|
||||
for(var/client/C in clients)
|
||||
tally++
|
||||
|
||||
Reference in New Issue
Block a user