1.4.8
- Added new method
CommandArguments#getCommand
which returnsme.despical.commandframework.annotations.Command
.- This method will return
null
, if used in a tab completer.
- This method will return
- Added
CommandArguments#checkCooldown
method to check cooldown in the command method.- This method can stop the execution of command when called.
- Added
CommandFramework#setLogger
andCommandFramework#getLogger
methods to set a different logger. (By default, the logger is instance plugin's logger). - Added
Message
enum to make error message handling in a better way. - Added
CommandArguments#sendMessage(Message)
method to directly send messages fromMessage
enum. - Moved
CommandFramework#setColorFormatter
method toMessage
enum. - Renamed
CommandArguments#getCommand
method toCommandArguments#getBukkitCommand
. - Fixed broken unit tests.
- Updated 90% of the Javadocs.
- Seperated some of the classes into different packages so this update may break your imports.
Full Changelog: 1.4.7...1.4.8