SCP: Secret Laboratory

SCP: Secret Laboratory

Not enough ratings
A guide for Server Owners to block countries from joining the server.
By Apex
This guide is here to assist server owners in managing their ban and block systems more effectively than currently possible with the admin panel.
   
Award
Favorite
Favorited
Unfavorite
Foreword
I've decided to make this guide as I felt it's useful information for people who want to block certain countries for a variety of reasons. Forced language cohesion or general problems with players from a certain region are two reasons, but obviously there can be more.

As a note of goodwill, I am willing to admit that I don't like taking these precautions, but the admin panel is defunct in its current form. Bans aren't permanent and are easily evaded. This is harder to evade but still possible.

Some Russian players are technologically advanced enough to have a VPN, which is fine. They will still be able to connect if their VPN uses an IP Address not originating from blocked countries.

However, this measure should block most people from joining from a blocked region.
What are the steps
The first step is having a stable internet connection and the forethought to take the following into account;
If you block a region, and you own a Community that hosts more servers than just SCP: Secret Laboratory, nobody from the blocked countries can connect to any of your servers. This includes voice software such as TS3.

The first step is to download PeerBlock.[download.cnet.com]

Once you've downloaded it, obviously install it and run it. You'll be greeted with a setup, where you can set up lists. I personally recommend lists from iblocklist.[www.iblocklist.com]

Click lists, and control + F the regions you want to be blocking. Remember they are written in universal English, so searching in your native language won't yield much results. Once you've done so, you add a new list and add the URL of the list in question. The URL of the list is found on the right of the country name.

Rinse and repeat for the amount of regions/countries you want to block.

As final step, make a normal .txt file. I call it "bannedplayers.txt" and add that as a list as well, but select the file instead of a URL this time. If there is a player being troublesome but falling OUTSIDE of the Geo block, you can add their IP manually. The unfortunate side of this is that the admin panel actually has to work for this option to work. If it does, the bans are saved in the bans folder for SCP: SL in Appdata/roaming/SCP Secret Laboratory. Open it with Notepad++ and copy over the IP Address. The format on Line 3 will be looking like;
::ffff:99.999.999.99 as an example.

ONLY copy the numerical part and paste that into the list by manually adding a new entry. Just fill in the IP as range, starting IP and end IP. This will block said person from your server without negatively affecting an entire IP range, which might cause for undue harm to your server.
Other options
There are some other options. You can go into Settings 1 and set up the coloring scheme of allowed, rejected, etc entries to have a certain color, to make filtering easier. You can also only log blocked, allowed or not log anything.

In Settings 2 you can further specify which ports apply to the blocklist. I've personally disabled the website ports so those banned by the Geo blocker can still reach our website to file a whitelist request.
In closing
I understand I'll get immense amounts of flak from the international community for doing this, especially the countries blocked by me (Poland, Russia and Ukraine).

I'm fine with receiving flak, as I'm used to such after 6 years of doing so. But allow me to say that you shouldn't be cursing at me. No. Curse at your own country for ♥♥♥♥♥♥♥ up the game so much that I was more or less forced to do this.

Why was I forced to do this? If Russians claim they own the server because 70% are Russian, and demand the admin password, you will not receive an open dialogue on how to sort this out. This isn't some Communistic simulator with the most predominant region present owning the server. If you want to claim you own something, other than toxic behaviour, buy your own server and foot your own bill.

In closing, I hope to have been informative. I intend this geo blocker only to be a temporary solution until the admin panel actually works as it should. However other people do this is not my call nor my problem.

Any country to have been blocked by me will have had a majority of them ♥♥♥♥♥♥♥ things up for others.

Any questions you may have can be left in the comment section and I'll answer them ASAP.
20 Comments
Apex  [author] Mar 6, 2018 @ 11:50am 
Mark, you seem like a good guy. I, as a person who employs these tactics, am more than willing to whitelist IP addresses to join if they prove to be able to speak English.
ItsRikoVR Feb 6, 2018 @ 4:18pm 
Do you know how to block people only on one port but allow everyone from another port? That way I can have one server english only, and the other open for everyone.
jackoid Jan 31, 2018 @ 5:13am 
This is such a good idea, server hosts on all games should be able to region lock their servers.
Apex  [author] Jan 24, 2018 @ 2:59pm 
Not sure, what are you doing? Besides, this isn't a support guide for my server.
doggosuki Jan 24, 2018 @ 2:54pm 
i seem to be being kicked from even UK servers even though I live in england lol
smack you Jan 24, 2018 @ 2:05pm 
It's awful when you have random tards from countries that join your server and have 100+ ping, or voice spam your game in an unknown language. The logic of people crying about this is the same as the PUBG creator refusing to region lock China even though nearly all of the game's cheaters come from China. "It's racist to exclude regions" or whatever shit people say is completely false. Play within your own region where you have good ping, don't invade other people's regions halfway across the globe.
Patchxs Jan 16, 2018 @ 11:32am 
Fair, Fair.
Apex  [author] Jan 15, 2018 @ 8:57am 
That's unfortunate. But as I outlined in my guide, it's the many that ruin it for the few.
grug Jan 15, 2018 @ 8:55am 
what if some people in these countries dont even harm you, and speak english.
Apex  [author] Jan 15, 2018 @ 8:54am 
How is it unfair?