[How-to] Kick banned IPs before they load

I’ve noticed that there’s a lot of demand for IP banning/white-listing. Mr.Scammer has a solution for this but I’ve seen complaints that “banned” IPs need to load the map and resources first before they are being kicked. So I forged a little script for you guys to update your white-/black-listing resources with.

You can also shorten the code a bit with the following snippet, though I don’t know how consistent that “~600ms” delay is so you’ll have to do the science on that yourself.

4 Likes