Releases: YouHaveTrouble/CommandWhitelist
Fixing edge cases
Certain plugins don't register their aliases properly and instead make the player execute the main command.
Added use-protocollib-to-detect-commands config option. This will make the plugin use protocollib for command filter instead of built-in event, which seems to fix the issue. If you don't have issues with aliases you don't need to do anything.
Velocity Support
Very basic velocity proxy support.
No command for adding/removing commands dynamically.
No command blocked message, blocked proxy command is forwarded to spigot server
Velocity version is a little bit different (makes more sense) because of the velocity api. There is no "no such command" message as velocity just passes the command to backend server and uses a message from there.
The command for reloading config on velocity is /vcw reload
Velocity support
Very basic velocity proxy support.
No command for adding/removing commands dynamically.
No command blocked message, blocked proxy command is forwarded to spigot server
Bugfix
Subcommand blocker now fails gracefully when it tries to block suggestions that were not registered at all (there is no way of fixing this, if one of your plugins caused errors with commandwhitelist seek to replace it asap!)
Bugfix
Prevented commands beings saved to file multiple times when repeating /cw add command
Blocking subcommands!
Added:
- Ability to add blocked subcommands on spigot servers. If you want bungee/waterfall subcommand blocker PRs are welcome.
For blocking subcommands properly the base command needs to be whitelisted.
You need to provide full command string for the subcommand, so for example to block /help about you need to add help about in config.
Dynamic whitelisting
Added add and remove command for bukkkit and bungee. This allows players with commandwhitelist.admin dynamically add and remove whitelisted commands for groups existing in config.
Commands include full support of tab-completion.
Fixing whoopsies
Bug fixes
- Removed debug when tab completing in legacy mode
- Fixed commands not being sent at all in legacy mode
bStats
Added bStats and improved overall code quality.