----------------- If you want, you can donate to support my projects! just click right here ------------------------------------------------ One of the simplest AntiVPN plugins on SpigotMC! Prevent players from using a virtual proxy/VPN!
no API key - unlimited usage - easy ____________________________________
ABOUT ProVPN is a simple structured AntiVPN plugin that prevents players from joining your server through a virtual proxy/VPN!
WHY THIS PLUGIN? This plugin uses its own API webpage which includes no limit and makes it possible to detect and block new VPN services very easily without any struggles!
FEATURES Discord Webhooks:
Actionbar statistics:
Execute console commands:
Fully customizable kick-message for each kick-reason:
Simple and easy-to-use commands:
CONFIGURATION FILES
COMMANDS & PERMISSIONS
DEVELOPER API You can also make your own detection checks by using our developer API! To disable the default checks from the plugin you need to activate the "api-mode" in the settings.yml.
Code (Java):
// Trigger an event! // Available types are: ALLOWED, CHECKING, DETECTED // The included objects can be whatever you want to use in your own event ProEventManager.
triggerEvents(ProEventType.
ALLOWED, objects
);
Code (Java):
// Here's a small example of an event class ProEvent event
= ProEvent
(){ @Override
public ProEventType type
(){return ProEventType.
CHECKING;} @Override
publicvoid execute
(Object...
objects){ System.
out.
println("Checking... -> "+ objects
[0]); }
Code (Java):
// How to register the new event ProEventManager.
addEvent(event
);
Code (Java):
// Here's a small code-example to check if somebody is using a virtual proxy or not if(!AddressUtils.
isValidAddress(address
)){ // Not a valid address return; } if(AddressUtils.
isVirtualProxy(address
)){ // Detected using a virtual proxy }