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.
Code (YAML):
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.