VPNStop is a plugin that will block VPN, OpenVPN, Proxy, Tor, Mobile, Business and Hosting connections from joining your server. It will also block any IP that is not in the whitelist. Version 1.2
Download the latest version of the plugin from here
Copy the plugin jar file to your plugins folder.
Edit the config.yml file to your liking. You can find the config file in the plugins/VPNStop folder.
You can get an API key from https://proxycheck.io/
You're done! Now you can start your server and enjoy the plugin.
/vpnstop
/vpnstop add <ip|name>
/vpnstop remove <ip|name>
/vpnstop help
/vpnstop info <name>
/vpnstop check <name>
# Bypass for players. Only
vpnstop.bypass:
description: Allows bypassing the VPNStop plugin IP checking. OP only by default.
default: op
vpnstop.command.add:
description: Allows players to add IPs to the whitelist. OP only by default.
default: op
vpnstop.command.remove:
description: Allows players to remove IPs from the whitelist. OP only by default.
default: op
vpnstop.command.help:
description: Allows players to see the help menu. OP only by default.
default: op
vpnstop.command.info:
description: Allows players to get info about the plugin
default: op
vpnstop.command.check:
description: Allows player to check another player IP address again
default: op
vpnstop.commands:
description: Allows players to use VPNStop commands
default: op
# EDIT THOSE LINES WITH YOUR OWN API KEY AND API URL FROM PROXYCHECK.IO
api_url: "https://proxycheck.io/v2/" # API URL
api_key: "Use your own api key" # API KEY
# EDIT THOSE LINES FOR CUSTOMIZING THE PLUGIN BEHAVIOR
# The plugin will launch this command when a player is blocked. %player% will be replaced by the player name and %ip% by the player IP and %reason% by the reason of the kick
on_bad_ip: "broadcast %player% tried to join the server with IP %ip% but was blocked by VPNStop : %reason%"
# EDIT THOSE LINES TO CUSTOMIZE THE PLUGIN MESSAGES
kick_message: "Your IP is not allowed to join this server." # The message that will be sent to an unknown IP
vpn_kick_message: "You are using a VPN connection. Please disable it and try again." # The message that will be sent to a VPN IP
openvpn_kick_message: "You are using a OpenVPN connection. Please disable it and try again." # The message that will be sent to a OpenVPN IP
proxy_kick_message: "You are using a Proxy connection. Please disable it and try again." # The message that will be sent to a Proxy IP
tor_kick_message: "You are using a Tor connection. Please disable it and try again." # The message that will be sent to a Tor IP
mobile_kick_message: "You are using a Mobile (H /4G/5G) connection. Please log using a Wi-Fi connection and try again." # The message that will be sent to a Mobile IP
business_kick_message: "You are using a Business connection. Please log using your own Wi-Fi connection and try again." # The message that will be sent to a Business IP
hosting_kick_message: "You are using a Hosting connection. Please log using your own Wi-Fi connection and try again." # The message that will be sent to a Hosting IP
# EDIT THOSE LINES TO ENABLE OR DISABLE TYPES OF CONNECTIONS
# Check https://proxycheck.io/api/#type_responses for all types of connections details
block_vpn: true # If true, the plugin will block VPN connections
block_openvpn: true # If true, the plugin will block OpenVPN connections
block_proxy: true # If true, the plugin will block Proxy connections
block_tor: true # If true, the plugin will block Tor connections
block_mobile: true # If true, the plugin will block Mobile connections
block_business: true # If true, the plugin will block Business connections
block_hosting: true # If true, the plugin will block hosting connections
You can get an API key from https://proxycheck.io/
The API URL is https://proxycheck.io/v2/
No, we don't save any data. We only use the API to check if the IP is a VPN, OpenVPN, Proxy, Tor, Mobile, Business or Hosting connection.
Yes, this plugin will stay free forever. The only thing I ask is to give me credit if you use this plugin in your server. The only thing you may pay for is the API key from proxycheck.io if the free one is not enough for you.
You can support me by giving me a star on GitHub and visiting my patrons page: https://www.patreon.com/yuri_hikari