1.4.8
- Added new method
CommandArguments#getCommandwhich returnsme.despical.commandframework.annotations.Command.- This method will return
null, if used in a tab completer.
- This method will return
- Added
CommandArguments#checkCooldownmethod to check cooldown in the command method.- This method can stop the execution of command when called.
- Added
CommandFramework#setLoggerandCommandFramework#getLoggermethods to set a different logger. (By default, the logger is instance plugin's logger). - Added
Messageenum to make error message handling in a better way. - Added
CommandArguments#sendMessage(Message)method to directly send messages fromMessageenum. - Moved
CommandFramework#setColorFormattermethod toMessageenum. - Renamed
CommandArguments#getCommandmethod 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