Key Features • How To Use • Credits • Related • License
- Detect VPNs - react to them how you like!
- Kick: Prevent players with VPNs to join your server.
- Notify: Notify admins or moderators that a VPN user joined.
- Command: Execute a command when a VPN user joins.
- Multiple Detection Provider - Minimize false flags, maximize detection!
- ProxyCheck (100 queries per day for free without api key, 1.000 queries per day for free with api key)
- IP-Hub (1.000 queries per day for free with api key)
- IP-API (45 queries per minute for free, no api key required)
- VPN-API (1.000 queries per day for free with api key)
- Custom Provider (configure the plugin to automatically use the REST-API of the detection provider, supports
GET
andPOST
)
- Geo-Blocking - No more bots from foreign countries!
Whitelist
orBlacklist
mode- Over 200 countries supported!
- Connection Information - Know everything about your players connection!
- IP address (and whether it is a vpn/proxy)
- Country code (e.g.
US
,CA
, ...) - City name (e.g.
Berlin
,London
, ...) - ISP provider (e.g.
AT&T
,Telekom
, ...)
- WebHook Support for Discord - Send messages to discord channels when a geo-blocked or vpn user tries to connect!
- Exclude players from the vpn- and geo-check by giving them the
connectionguard.exemption.vpn
orconnectionguard.exemption.geo
permission! (can be enabled in the config, requires LuckPerms on BungeeCord and Spigot)
To use Connection Guard, you need a Spigot server (or Paper, Pufferfish, Purpur, ...) running on 1.8.X
and 1.21.X
or an up-to-date version of BungeeCord (or Waterfall) or Velocity.
- Build the project (
./gradlew clean shadowJar
) download it from the release section. - Place the downloaded
.jar
file into the plugins folder of your Spigot, BungeeCord or Velocity server. - Start or restart your server.
- Optional: Configure Connection Guard configuration in its directory (
config.yml
andtranslation/en.yml
)
When freshly installed, Connection Guard blocks VPN connections and notifies all players with the connectionguard.notify.vpn
permission (KICK_NOTIFY
).
All players are geo checked by default, but when players from Russia or China join, all players with the
connectionguard.notify.geo
permission are notified (NOTIFY
). You can customize every aspect including all
messages sent to players in the config.yml
and the corresponding messages file (en.yml
by default.)
/connectionguard help
Help overview of Connection Guard commands- Permission:
connectionguard.command.help
- Permission:
/connectionguard reload
Reload the config and the messages file. Changes to providers require a restart.- Permission:
connectionguard.command.reload
- Permission:
/connectionguard clear (<Player/UUID/IP>)
Clear the entire cache or just for the specified player/uuid/ip. If you specify a player or an uuid, the player has to be online.- Permission:
connectionguard.command.clear
- Permission:
/connectionguard info <Player/UUID/IP>
Show all connection information (IP, VPN, Country, City, ISP) about the player or the IP. If you specify a player or an uuid, the player has to be online.- Permission:
connectionguard.command.info
- Permission:
This software uses the following open source packages:
- OkHttp
- Gson
- sqlite-jdbc
- Jedis
- Readme is taken from here
Connection Guard Spigot Page - Official Resource Page
LNDNR's Anti-VPN & Geo-Blocking - Predecessor of Connection Guard
- Discord Server or contact me on discord directly:
gold.ly
MIT
GitHub @gerolndnr