AdvancedAntiVPN - Prevent Bad Actors, Bots & More ☄️ Security EVERY Server Needs ☄️ [1.8.x - 1.21.x] icon

AdvancedAntiVPN - Prevent Bad Actors, Bots & More ☄️ Security EVERY Server Needs ☄️ [1.8.x - 1.21.x] -----

☄️ Block VPNs/Proxies/Tor nodes from your server. (Spigot, BungeeCord & Velocity Support)




  • Updated libraries.
No config changes.
----------, Oct 2, 2024

  • Improved connect error message.
No config changes.
----------, Jul 15, 2024

  • Small tweaks/refactoring.
No config changes.
----------, Jul 11, 2024

  • Small refactor.
No config changes.
----------, Jul 7, 2024

  • Updated to Minecraft 1.21.
No config changes.
----------, Jun 16, 2024

  • Updated dependencies.
No config changes.
----------, Jun 9, 2024

  • Updated to Minecraft 1.20.6.
  • Rewrote and improved the version helper.
No config changes.
----------, May 12, 2024

  • Fixed an incorrect error message value getting replaced.
  • Added more information to the error message when attempting to add IP information to the database and the services are not indexed correctly.
No config changes.
----------, May 5, 2024

  • Some small improvements.
No config changes.
----------, Apr 15, 2024

  • Potentially fixed an issue with the database revision #3 on some SQLite implementations.
No config changes.
----------, Mar 25, 2024

  • Fixed a tiny memory leak in the update checker and in the GetIPIntel service.
No config changes.
----------, Mar 16, 2024

  • Fixed private addresses being checked when they shouldn't.
No config changes.
----------, Mar 15, 2024

  • Added an extra check before getting the IP's country data to only attempt to get the data if GeoLite2 is enabled.
  • Added UUID support for whitelist/blacklist.
Config changes
----------, Mar 8, 2024

  • Added %country% placeholder for Discord webhook.
Config changes
----------, Mar 2, 2024

  • Added checking for fraud score on IPQualityScore which can help prevent some pesky late detections. If you wish to retain the previous behaviour then change the new setting to 100 but it's not needed nor recommended.
Config changes
----------, Feb 24, 2024

  • Updated some dependencies.
  • Added a check not to process private addresses.
No config changes.
----------, Feb 10, 2024

  • Use new BungeeCord chat formatting methods.
No config changes.
----------, Feb 4, 2024

  • Updated to Velocity 3.3.0.
    • Warning: The plugin will no longer work on versions under 3.3.0!
No config changes.
----------, Jan 4, 2024

  • Updated dependencies.
  • Moved to use new modern bungeecord methods (Make sure to update BungeeCord).
No config changes.
----------, Dec 11, 2023

  • Fixed a method having an incorrect name.
No config changes.
----------, Nov 17, 2023

  • Fixed Aegis not resetting it's counter in some cases.
No config changes.
----------, Nov 17, 2023

  • General internal updates and cleanup.
No config changes.
----------, Nov 8, 2023

  • Merged the chat and action bar messaging system into one combined system internally.
No config changes.
----------, Oct 29, 2023

  • Added an Aegis mode with a command toggle. If Aegis is enabled then all connections are blocked unless the user has the new bypass permission. Useful for blocking attacks without using up API requests and if bypass permission is given to players with a rank such as their 2nd rankup then only active players can join for the time being.
Config changes
----------, Oct 26, 2023

  • Fixed an unnecessary implementation in the Velocity listener.
No config changes.
----------, Oct 18, 2023

  • Changed the invalid config warning message to be every 3 hours instead of every hour.
  • Future-proofed hashset sizes.
No config changes.
----------, Oct 7, 2023

  • Updated to Minecraft 1.20.2.
No config changes.
----------, Sep 22, 2023

  • Moved connections into a more unified setup system.
  • Improved the connection for downloading the GeoLite2 database.
No config changes.
----------, Aug 30, 2023

  • Changed the default stats command formatting.
  • Changed the warning message when you have no enabled services or an invalid flagged threshold and will be sent every hour.
Config changes
----------, Aug 6, 2023

  • Added bStats metrics for if Geoblocking is enabled or not.
  • Added a comment in the config where to get the GeoLite2 key.
Config changes
----------, Aug 5, 2023

  • Added GeoLite2 support from MaxMind with a whitelist or blacklist to allow or block certain countries from joining your network/server.
Config changes
----------, Aug 4, 2023

  • Fixed the local IP address check warning not always getting triggered when it should be.
No config changes.
----------, Aug 2, 2023

  • Updated SQLite JDBC to 3.42.0.0.
No config changes.
----------, Jul 30, 2023

Hey everyone, I wanted to post a very quick 2-question survey which takes a few seconds to answer about if the plugin should add a country-blocking system which would allow you to block IPs from certain countries from joining your network, such as blocking all UK IPs, check the survey below:

https://www.surveymonkey.co.uk/r/QHCYZ8L

Thank you!
----------, Jul 28, 2023

  • Fixed an issue where we wouldn't check the cached data on player join.
No config changes.
----------, Jul 27, 2023

  • Fixed an error when using the commands action with 0 delay on Bukkit based servers.
No config changes.
----------, Jul 27, 2023

  • Fixed an issue when saving IP information to the database when using MySQL.
No config changes.
----------, Jul 25, 2023

Edit: There is currently a known issue when using MySQL on this version, please use v2.19.0 if you are using MySQL otherwise this version is fine to use. Fixed in v2.20.1!
  • The plugin now stores all the services responses in the database file.
  • Overhauled the service manager by moving checks into two separate checks, local and remote checks.
  • Overhauled the join events and processing of player IPs.
  • Improved the test command, removed the force check, now only does remote checks, and now shows a lot more information for each service.
  • A lot of other clean-up and optimizations.
  • More streamlined checking.
  • Improved internal objects by adding toString methods, debug and null checking to ensure safety.
Config changes

This was a significant update to how the plugin works under the hood and even though I have tested it as best I can there may be some issues, please let me know! Due to the database changes, you cannot downgrade to pre-2.20.0 so make sure you take a quick database.db backup, as well as all cached information will be deleted when converting to revision 3 of the database since all the old information isn't valid anymore!
----------, Jul 19, 2023

  • Added the missing purge command in the config command usage.
  • Added a new test command to test an IP with an option to bypass cache and blacklist/whitelist checks or not.
Config changes
----------, Jul 10, 2023

  • Added internal support for force checking of IP addresses and returning the internal result of the check.
No config changes.
----------, Jul 9, 2023

  • Improved some internal placeholders.
  • Small internal refactor.
No config changes.
----------, Jul 3, 2023

  • Added some debug messages when creating objects.
No config changes.
----------, Jun 24, 2023

  • Improved the debug messaging to not colorize the actual debug information.
  • Improved console logging.
No config changes.
----------, Jun 21, 2023

  • Possibly added a fix when a player joins with an null name, such as a player from bedrock on first join.
No config changes.
----------, Jun 20, 2023

  • Updated bStats to 3.0.2.
  • Updated to Minecraft 1.20.1.
No config changes.
----------, Jun 15, 2023

  • Improved the connection error message.
No config changes.
----------, May 10, 2023

  • Added advanced settings for IPQualityScore, IPHub & IPHunter.
Config changes
----------, Apr 30, 2023

  • Added a purge command to clear all the cache data from the database on demand.
Config changes
----------, Apr 29, 2023

  • Added IPQualityScore as a service.
Config changes
----------, Apr 28, 2023

  • Added a debug message when sending the Discord webhook.
No config changes.
----------, Apr 22, 2023

  • Added the ability to change the Discord webhook's footer message.
Config changes
----------, Apr 9, 2023

  • Updated dependencies:
    • Spigot 1.19.3 -> 1.19.4
    • bStats 3.0.0 -> 3.0.1
    • JetBrains Annotations 24.0.0 -> 24.0.1
No config changes.
----------, Mar 17, 2023

  • Fixed BungeeCord and Velocity not having LuckPerms as a soft depend.
  • Fixed an error message saying LuckPerm and not LuckPerms.
  • Fixed LuckPerms API not working on Velocity to check if the player should bypass the plugin checks on join.
No config changes.
----------, Mar 16, 2023

  • Updated JSON to 20230227.
  • Updated SQL connectors and use the new library location.
    • SQLite: 3.36.0.3 -> 3.41.0.0
    • MySQL: 8.0.29 -> 8.0.32
No config changes.
----------, Mar 5, 2023

  • Updated JetBrains annotations to 24.0.0.
  • Improved Velocity's implementation startup and shut down process.
No config changes.
----------, Feb 18, 2023

  • The plugin now checks the status message of IP-API when using that service to ensure it was a successful request.
No config changes.
----------, Feb 17, 2023

  • The plugin will now check if the IP is on the blacklist before the whitelist.
  • Added IP-API as a new service.
Config changes
----------, Jan 27, 2023

  • Added toString methods to the connection and information objects.
  • Added debug messages for the bypass, whitelist, blacklist checks and when using cached data.
No config changes.
----------, Jan 26, 2023

  • Added some missing NotNull annotations.
  • Reverted SLF4J back to 1.7.36 due to some cosmetic issues.
  • Fixed the cache system not working on non-flagged IPs. It's vital that you update to this version because of this bug.
No config changes.
----------, Jan 20, 2023

  • Added a check if IPHunter returns an error status.
No config changes.
----------, Dec 22, 2022

  • Added IPHunter as a service.
  • Removed tiers from the config.yml comments.
Config changes
----------, Dec 21, 2022

  • Small internal cleanup.
  • Added some more comments in the config.yml.
  • Changed some default config.yml settings.
  • Fixed the Bukkit version not using the shared code.
Config changes (Just comment changes, you don't need to update)
----------, Dec 20, 2022

  • Updated to 1.19.3.
  • Updated other dependencies.
No config changes.
----------, Dec 17, 2022

  • Misc internal updates.
  • Fixed some errors not returning the correct error type.
No config changes.
----------, Nov 28, 2022

  • Cached the user agent used for all service connections to improve speed and memory.
  • Added a new result type when connecting to services when the connection cannot be opened instead of just displaying an unknown error.
No config changes.
----------, Nov 22, 2022

  • Internal cleanup and refactoring.
No config changes.
----------, Nov 1, 2022

  • Fixed the action and service manager returning a live view of the enabled actions/services instead of a copy.
No config changes
----------, Oct 21, 2022

  • Improved the Discord Webhook's resource closing.
No config changes.
----------, Oct 18, 2022

  • Changed an incorrect on enable message.
  • Fixed an internal value being an Integer and not just an int.
  • Fixed the commands action not having the same placeholders as the Discord Webhook.
  • Added placeholder comments to the config.yml.
  • Misc internal cleanup.
  • Fixed AbstractMethodError on older Minecraft versions.
Config changes (Just comment changes, you don't need to update)
----------, Oct 16, 2022

  • Fixed the command actions delay not working correctly.
No config changes.
----------, Oct 15, 2022

  • Changed the default prefix color in the config.yml.
  • Added missing "!" in an exception message.
  • Fixed the plugin trying to execute empty commands.
  • Changed the commands to a collection instead of a list to improve performance.
  • Misc cleanup.
Config changes (Just default changes, you don't need to update)
----------, Oct 5, 2022

  • Small internal refactoring.
  • Updated the JSON library.
No config changes.
----------, Oct 1, 2022

  • Fixed the plugin attempting to post a Discord Webhook when you provide an invalid URL in the config.
No config changes.
----------, Sep 23, 2022

  • The plugin will now tell you in the console if you use an invalid hex color on your Discord Webhook action and will use a default hex color of #000000 instead of erroring.
No config changes.
----------, Sep 20, 2022

  • Added a missing internal comment.
  • Moved a bunch of internel code into an IPInformation object instead of a bunch of entries to be cleaner and more efficient.
No config changes.
----------, Sep 20, 2022

  • Added more information when debug mode is enabled when a service flags or doesn't flag an IP from a player join.
No config changes.
----------, Sep 18, 2022

  • Bunch of internal refactoring and clean-up.
  • Improved some messages sent to the console.
  • Improved checking if a service or action is enabled.
  • The "higher flagged threshold" error message will only be sent if you have any services enabled.
  • You now get an error message if you have an invalid threshold of 0 or less in the config.
No config changes.
----------, Sep 10, 2022

  • Fixed an error when checking a player's permission on BungeeCord.
No config changes.
----------, Aug 28, 2022

  • Improved command action's array creation.
  • Changed %player% to %player_name% in all actions, you will need to update it in your config if you use it.
  • Improved default command action commands.
Config changes
----------, Aug 25, 2022

  • Improved service initialization.
  • Improved message sending when sending multiple messages into single-method calls.
No config changes.
----------, Aug 23, 2022

  • Improved the whitelist and blacklist add/remove commands to make more sense.
No config changes.
----------, Aug 23, 2022

  • The internals now use InetAddresses instead of strings, much cleaner.
  • Moved the internals to use a process system where we check the outcome.
  • Moved common code that is used on all versions to the shared module.
  • Improved the local address detection.
  • Improved the local address detection warning message and added the IP in the message.
  • Improved permission checking on all implementations.
  • Bunch of refactoring.
No config changes.
----------, Aug 22, 2022

  • Changed some service tiers around in the config.
Config changes (Not needed)
----------, Aug 13, 2022

  • The plugin is now built against 1.19.2 (No update needed).
  • Fixed issue when joining with a local IP on BungeeCord.
No config changes.
----------, Aug 12, 2022

  • The plugin is now built against 1.19.1 (No update needed).
  • Fixed a config comment being wrong.
  • Added username and avatar settings to the Discord webhook action.
Config changes
----------, Aug 5, 2022

  • Fixed the command action not working on Velocity.
  • Fixed MySQL on Velocity, due to Velocity not having the MySQL driver so the plugin will now download the MySQL driver at runtime, if you don't have internet access you can follow the manual install steps on the main page but the plugin will still load and enable without it.
  • Fix MySQL not working when processing database revisions.
No config changes.
----------, Jul 26, 2022

  • Improved the instance creations for all platforms.
  • Improved the result messages with colors and more information.
  • Added Velocity support.
  • Removed an unused platform enum.
No config changes.
----------, Jul 25, 2022

  • Fixed an error with the VPNAPI service when it wouldn't respond with a message.
No config changes.
----------, Jul 19, 2022

  • Added a debug mode config setting to log connection data to the console.
Config changes
----------, Jul 19, 2022

  • Improved connection checking for all services such as when a service returns a 429 (Too many requests).
No config changes.
----------, Jul 19, 2022

  • Fixed some errors with VPNAPI when checking certain IP addresses.
No config changes.
----------, Jul 18, 2022

  • Improved the service manager by running all the services in parallel instead of waiting for each one to complete before checking the next service. This has decreased the checking time when using 4 all services to around 274.51ms from 495.42ms, almost double the speed!
No config changes.
----------, Jul 17, 2022

  • Added support for more hex color formats, we now support <#RRGGBB>, [#RRGGBB], {#RRGGBB}, (#RRGGBB), &#RRGGBB and #RRGGBB.
  • Added support for converting hex colors to the nearest legacy colors on pre-1.16 servers if they are used instead of just displaying a broken color.
  • Removed some default comments about the hex format since we now support pretty much all the formats commonly used.
Config changes
----------, Jul 13, 2022

  • Improved the error messages when processing database revisions and getting/adding data to the database.
  • Improved the initial database creation.
  • Moved the database revision checking into a central system instead of manually per database revision.
  • Improved the database revision handling where it'll cancel further revisions if one of them fails.
  • Moved the database revision increment system into a central system instead of manually per database revision.
  • Moved all database queries that have data inside to prepared statements.
  • Fixed a wrong ordering of messages when falling back to the default database type.
  • Added a whitelist and blacklist system with a command that lets you add or remove IPs from the list. The command is /advancedantivpn (whitelist/blacklist) add/remove (IP) with permission advancedantivpn.command.(whitelist/blacklist).
  • Some misc internal refactoring.
Config changes
----------, Jul 12, 2022

  • Improved the update checker by removing all messages apart from the update available message and made it run every 24 hours.
Config changes
----------, Jul 8, 2022

  • Added more bStats/metrics pie charts for flagged threshold, enabled services and actions.
No config changes.
----------, Jul 5, 2022

  • Tweaked the loading SQLite console message.
  • Fixed colorizing messages twice on BungeeCord when notifying players.
  • Added commands as a new action.
Config changes
----------, Jun 29, 2022

  • Added VPNAPI as a new service.
Config changes
----------, Jun 26, 2022

  • Changed the order of which the managers are initialized on both Bukkit and BungeeCord implementations.
No config changes.
----------, Jun 26, 2022

  • Some code clean-up, removing some useless things left over.
  • Fixed not getting default config settings on BungeeCord when missing from the config.yml.
No config changes.
----------, Jun 25, 2022

  • Fixed BungeeCord messages being gray and not white.
  • Added the update checker to the BungeeCord implementation.
  • Removed the join update notification.
  • Improved the update available message to be two lines.
No config changes.
----------, Jun 24, 2022

  • Converted the entire project codebase into a multi-module system and moved all non-Bukkit-related code into the shared module.
  • Added full BungeeCord support, Bukkit and BungeeCord support are all in the same single jar file. please note that due to SQLite not being available in BungeeCord and the library size being almost 10MB, way over the Spigot file size limit, the plugin will need to download a library at runtime for SQLite to work on BungeeCord, you can still use MySQL without it and you can follow the steps on the plugin's page to install the library manually. The plugin still loads and enables without it.
No config changes.

If you are upgrading from v1.x.x then you can replace your plugin with v2.x.x without issues and even revert back to v1.x.x at any time since the database and configs are the exact same formats.

Due to the nature of this update due to it being an almost complete recode, it has been marked as a BETA as things might error, break or not work at all especially how they did in v1.x.x. I don't recommend using it on production servers in case of any issues I missed but please load it on your local machine or another server with a copy of your production data to test. Please report issues to my DMs!
----------, Jun 23, 2022

  • Misc internal refactoring.
  • Fixed util classes having a public constructor.
  • The plugin is now built against 1.19.
  • Trimmed leading spaces in the config.yml.
  • Added links to the service websites in the config.yml
Config changes
----------, Jun 11, 2022

  • The plugin now tells you if you have a higher flagged threshold than enabled services, causing players never to get flagged.
No config changes.
----------, Jun 6, 2022

  • Removed the ConfigManager since the small performance increase is not worth the maintenance that comes with it.
No config changes.
----------, Jun 3, 2022

  • Changed the Discord webhook username and avatar.
No config changes.
----------, May 21, 2022

  • Updated JSON library.
  • Removed some unused date creations when setting the IP information in the database.
No config changes.
----------, May 16, 2022

  • Added Metrics for database type.
No config changes.
----------, May 2, 2022

  • Changed some internal lists to sets to ensure there are no double entries.
No config changes.
----------, Apr 29, 2022

  • Added a bunch of config settings to allow you to customize your Discord Webhook message, that being, color, title, thumbnail and description.
  • Fixed a Discord Webhook exception message providing the wrong information.
  • Cleaned up a bunch of the Discord Webhook code to be more maintainable and smoother.
  • Heavily improved the database resource closing, they are now closed in the correct order, much faster, cleaner and if one resource close fails it won't stop the other ones.
Config changes
----------, Apr 21, 2022

  • Added /AdvancedAntiVPN stats to show your database statistics with total IPs and flagged amounts. Permission advancedantivpn.command.stats
Config changes
----------, Apr 15, 2022

  • Added the plugin page to the top of the config.yml
  • Fixed a typo in the config.yml
  • Improved the plugin startup purchaser ID and nonce by utilizing the PluginInformation.
Config changes
----------, Apr 15, 2022

  • Added the Spigot link in the plugin.yml for /version output.
  • Added an update checker.
  • Fixed console color issues.
No config changes.
----------, Apr 11, 2022

Resource Information
Author:
----------
Total Downloads: 595
First Release: Apr 9, 2022
Last Update: Oct 2, 2024
Category: ---------------
All-Time Rating:
37 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings