Skip to content

1.4.8

Compare
Choose a tag to compare
@Despical Despical released this 19 Jul 12:53
· 36 commits to main since this release
  • Added new method CommandArguments#getCommand which returns me.despical.commandframework.annotations.Command.
    • This method will return null, if used in a tab completer.
  • Added CommandArguments#checkCooldown method to check cooldown in the command method.
    • This method can stop the execution of command when called.
  • Added CommandFramework#setLogger and CommandFramework#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 from Message enum.
  • Moved CommandFramework#setColorFormatter method to Message enum.
  • Renamed CommandArguments#getCommand method to CommandArguments#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