
NoVPN 2.0.0-beta-8
Block VPN/Proxy and McLeaks TheAltening
- Fix error when discord webhook response is 204
- Fix error when handshake expire
- Fix add/remove ASN in whitelist/blacklist
- Fix colors not working on Velocity
- Fix whitelist not working with max ip check
- Fix packet events not working on bungeecord
- Add load dependencies at runtime
- Add MySQL support
- Fix asynchronous command dispatch error in spigot
- Fix Velocity config not properly loading
- Add blacklist / whitelist for ISP
- Add async
- Update join event priority to avoid spamming ban commands
- Add packet events
- Fix issue with command suggestions in Velocity.
- Automatically perform handshake on bad request.
- Fix exception in command when API response fails.
- Fix incorrect permission name for the anti-bot protection mode start command.
- Handle new exceptions when a player joins.
- Improve handling of other exceptions in API calls.
- Fix issue with command suggestions in Velocity.
- Automatically perform handshake on bad request.
- Fix exception in command when API response fails.
- Fix incorrect permission name for the anti-bot protection mode start command.
The plugin has been completely rewritten in this version. It is still in the beta stage. If you find any bugs, please report them to me. You can also suggest new features.
This new version improves anti-bot checks and has been completely reworked.
Fixed old issues related to max IP, players being able to rejoin, etc.
Added more commands and messages for better understanding.
Improved permissions management.
Blacklist/Whitelist now supports IP/player name/country.
The cache system has been reworked.
You can now look up an IP.
You have more information when you look up a player/IP.
You can set the minimum score from the API to flag an IP as bad.
Improved log management.
Enhanced config and messages configuration.
Added anti-bot notifications with message or action bar.
If you are updating the plugin from version 1.x, remove the "NoVPN" folder as many things have changed.
I will continue to work on the plugin, and I will also focus more on the API.
- Add country whitelist
- Move name checking out of AntiBot section
- Fix name checking not working
Config changes
name-check is not in antibot section anymore
name-check:
enabled: false
contains:
- 'mcdrop'
- 'mcstorm'
- 'spammer'
- 'mcspam'
- 'bot'
whitelist-country is added
whitelist-country:
enabled: false
countries:
- ''
also added in messages.yml
name-check: &cYou are not allowed to join due to your username
whitelist-country: &cYour country is not allowed
- Drop support of SQL
- Fix config.yml file not loading properly
- Added a new configuration file (messages.yml)
All texts are now configurable in messages.yml file! If you migrate from an old plugin version you can remove everything inside the "messages" section.
+ Added discord webhook
To configure discord webhook:
You will have 2 files discord.json and discord_account.json. The format is JSON you can fully customize your webhook with discohook.org for example. You can import JSON and fetch it when it's done.
Config file changed! Check the new config on the plugin description.
Added config:
# Discord Webhook
webhook:
enabled: false
url: ''"
+ Added clear old player file cache
+ Added api-version in plugin.yml
+ Use logger instead of java default print
+ Added more debug
+ Configurable /nvp message
+ Added console filter
+ Added on/off command for VPN check
+ Added IP cleaner for max IP check
* Fixed spaces in nvp and nvp checks commands
* Fixed file cache saving when blacklist is enabled
* Fixed VPN was not checked after re-login
- Some code cleaning and optimizations
Config file changed! Check the new config on the plugin description.
Added config:
#Clear player file/sql entry after a fixed time (in seconds)
#604800 = 1 week
#-1 to disable it
clear-cache-delay: 604800
console-filter: true
messages:
nvp-message: |-
&6=========&6[&aNoVPN&6]=========
&a/nvp check <player> &7| &6View player info
&a/nvp verify <player> &7| &6Re-check a player
&a/nvp on/off &7| &6Enable/disable VPN check
&a/nvp blacklist <add/remove/list> <IP/Username> &7| &6Add ip or username in blacklist
&a/nvp whitelist <add/remove/list> <IP/Username> &7| &6Add ip or username in whitelist
&6========================
- Optimization in player connection
- Bad account and Antibot are not forced disabled anymore (a warning message is shown)
- Optimization in max IP checker
- Better file writing/SQL request for player data
- Post login event is now in async for Bungeecord and Velocity (fix performance issues during login)
- Change in config file to disable VPN check more easily. Comments in config file are more concise
/ ! \ Config file changed. Please take these changes into consideration!
You can see the new default config file in the plugin description.
Updated keys:
kick => vpn.kick
ban => vpn.ban
notify => vpn.notify
ban-cmd => vpn.ban-cmd
- Fixed bad account user not kicked on first login (Bungeecord/Velocity)
- Fixed: API key doesn't update after startup error
- Fixed error on startup
- Fixed compatibility on new versions
- Paper 1.17.1 can now start the plugin
- Minecraft 1.17 and Java 16 are now supported
- Better code stability
- Some code optimization
- Added full support of new line (|-) in yaml
- Added more invalid IPs
Config changed a little bit:
vpmessages is now vpmessage
vpmessage is not a list anymore, it now use |-
Example:
vpmessage: |-
&6=========&6[&aNoVPN&6]=========
&bName: &a%player%
&bIP: &a%IP%
&bCountry: &a%country%
&bBad account: &a%mcleaks%
&bVPN: &a%info_vpn%
&6=========================