-
Notifications
You must be signed in to change notification settings - Fork 1
Commands API
Phoenix-Ra edited this page Jul 21, 2023
·
6 revisions


So, as u can see it looks almost the same as the default bukkit command API.
What is usage and description?
They are used for automatic creation of '/[command] help' command! You no longer need to care about it. Besides that, the '/[command] reload' is automatically created as well. It simply uses AtumPlugin#reload() method
How to register the command? First of all, of course add it to the plugin.yml
Then, open ur main class and override the following method: AtumPlugin#loadPluginCommands()
It is pretty useful feature to simplify your code and make it look less messy.
Usage Examples:
