Oops... looks like the spiders padded through here
Add products to your cart and remove them from here Lets buyOn this page, you will find information on how to block players connecting through a vpn or a proxy.
Anti VPN looks up the address of every player that connects and denies the ones that come from a vpn, a proxy or a hosting provider. The result is kept for cache-minutes so the same address is not looked up again.
Players with phoenixlobby.bypass.antivpn are never checked, and administrators with phoenixlobby.alert.antivpn are notified when someone is denied.
The lookup is done with a free service by default. You can point api-url to any service that answers with the same fields, and %ip% is replaced with the address of the player.
If the service is down or too slow, the player is let in unless kick-on-lookup-failure is set to true.
anti-vpn:
enabled: true
api-url: http://ip-api.com/json/%ip%?fields=status,message,proxy,hosting
block-proxies: true
block-hosting: false
kick-on-lookup-failure: false
cache-minutes: 60
timeout-millis: 3000
notify-admins: true
whitelisted-addresses: []
Behind a proxy this only works when the real player address is forwarded, so make sure ip_forward is on with BungeeCord, or player-info-forwarding-mode with Velocity.
Oops... looks like the spiders padded through here
Add products to your cart and remove them from here Lets buy