- Added support for BetterReload
- Fixed "commandblocker.bypass" permission not being listed in plugin.yml.
- Updated adventure to 4.17.0.
- Fixed incompatibility with server software that included old versions of Adventure
- Added "/cb v" as an alias for "/cb version"
Added a new rule type: MESSAGE. This takes a command that does not exist, and when run displays the configured block message and block sound. It also adds the command to tab complete.
3:
type: MESSAGE
commands:
- test
blockMessage: "<rainbow>You have typed the test message!"
This will not work for commands that already exist.
API Changes
- The methods that were deprecated in the last update have been removed.
- When getting the block message or block sound information from a rule, it will default to the global configuration if a rule-specific one is not configured.
- Added API methods for getting global block message and global block sound. See this for a full list of methods.
You can now play a sound when a command is blocked.
blockSound:
sound: ENTITY_ENDERMAN_TELEPORT
pitch: 0.5
volume: 1.0
The "sound" uses Bukkit's Sound enum, since XSeries does not support 1.20.6 currently. This can differ between versions, so you'll want to make sure the list you are using is for your Minecraft version. 1.8: https://helpch.at/docs/1.8.8/index.html?org/bukkit/Sound.html 1.20: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
Pitch and Volume values are floats that can range from 0.0 to 1.0.
API Notice As of this update, we have renamed a number of methods to be more consistent with the Spigot ecosystem. The previous names are now deprecated, with removal planned within the next few updates.
Fixed plugin not loading on Paper 1.20.6
Initial plugin release