Original Code is from https://github.com/SomewhatSane/VPNGuard I have decided to maintain this plugin since the original creator abandoned it
A VPN blocking plugin for SCP: SL servers running Exiled >= 8.11.0
Copy / Move VPNShield.dll to /EXILED/Plugins/ .
After starting up the plugin for the first time, a folder named VPNShield will be created in your plugins folder which contains whitelists and blacklists that VPNShield uses for caching known good and bad IPs / accounts. This folder will contain 4 files:
VPNShield-WhitelistIPs.txt
- Contains IPs that have passed an IP check.VPNShield-BlacklistIPs.txt
- Contains IPs that have failed an IP check.VPNShield-WhitelistAccountAgeCheck.txt
- Contains Steam IDs that have passed an account age check.VPNShield-WhitelistAccountPlaytimeCheck.txt
- Contains Steam IDs that have passed an account playtime check.VPNShield-WhitelistUserIDs.txt
- Contains SteamIDs that are allowed to bypass all checks.
To whitelist a user from account and VPN checking, you can enter a user ID in the form STEAMID64@steam
, DISCORDID@discord
, staffmember@northwood
or any other user ID that is supported by the Remote Admin configuration into VPNShield-WhitelistUserIDs.txt
(1 user ID per line). If you make any changes to VPNShield's lists, you can reload the VPNShield cache by running vs_reload
in Remote Admin or /vs_reload
in your server console (restarting your server also works).
vs_reload
- Reloads VPNShield's data files (above).