/antivpn
also /dantivpn, /avpn
Look up connections, clear cached results and reload DAntiVPN
/antivpn help
Checks every player who joins for a VPN or proxy and for countries you choose. You decide what happens: tell staff, kick, run a command or post to Discord.
Main commands
/antivpn info Alex/antivpn exempt add 203.0.113.7 vpn 30d trusted friend/antivpn exempt list/antivpn deny add 203.0.113.0/24 vpn 7d proxy farm/antivpn reload/antivpn clear/antivpn doctor/antivpn providersWhy is nobody being kicked?
New installs start in OBSERVE mode. Set operation.mode to ENFORCE in settings.yml and run /antivpn reload.
What if the detection service is down?
failure-policy decides. OPEN lets the player in, CLOSED turns them away for now, OBSERVE lets them in and records why.
Do I need a proxy like Velocity?
No. There is a Paper jar and a separate Velocity jar. On a proxy network, install the proxy jar on the proxy only.
Do I need LuckPerms or Floodgate?
No. Both are optional. LuckPerms is only used for permission-based exemptions.
Menus and messages come from the default DAntiVPN files. Run a command, click an example, or pick a menu.
This plugin works through commands and chat. Try one below.
<name> you must fill in[name] optionalword typed as shown
also /dantivpn, /avpn
Look up connections, clear cached results and reload DAntiVPN
/antivpn helpWho has each one before you set anything up is in the middle column.
| Permission | Default | Grants |
|---|---|---|
| dantivpn.command.help | Operators | See the command list |
| dantivpn.command.info | Operators | Look up an IP address or an online player |
| dantivpn.command.clear | Operators | Clear cached lookup results |
| dantivpn.command.reload | Operators | Reload the settings and messages |
| dantivpn.command.local | Operators | Manage local allow and deny data |
| dantivpn.command.policy | Operators | Inspect and test the connection policy |
| dantivpn.command.doctor | Operators | Check the setup, forwarding and providers |
| dantivpn.command.providers | Operators | See each lookup provider and its health |
| dantivpn.command.stats | Operators | See lookup and cache counters |
| dantivpn.command.explain | Operators | Explain which sources and rules decide for an IP |
| dantivpn.command.allow | Operators | Add or remove allow rules |
| dantivpn.command.deny | Operators | Add or remove deny rules |
| dantivpn.command.exempt | Operators | Add or remove check exemptions |
| dantivpn.notify.vpn | Operators | Get a message when a player joins through a VPN |
| dantivpn.notify.geo | Operators | Get a message when a player joins from a blocked country |
| dantivpn.exemption.vpn | Nobody | Skip the VPN check |
| dantivpn.exemption.geo | Nobody | Skip the country check |
DCore
LuckPerms, floodgate.
Paper 1.21 or newer, and forks like Purpur and Leaf. Folia is supported. Java 21 or newer.