-
Notifications
You must be signed in to change notification settings - Fork 1
AtumPlugin class detailed
Besides handleEnable() and handleDisable() methods that are by default has to be overriden you can also override these:
- handleLoad() - called on plugin load. (before handleEnable(). Can be used to check dependencies and so)
- handleReload() - called on plugin reload.
The AtumPlugin also contains method reload() which cancels the plugin tasks and reloads the configs, and then calls handleReload()
- handleAfterLoad() - called after handleEnable()
- loadListeners() - here u can place all the listeners u created to not to manually register them
Use Lists.newArrayList() or Lists.of() for your convenience.

- loadPluginCommands() - the same for this, but commands Learn More
More convenient methods than from bukkit, especially if you are using kotlin.
getScheduler()
The same as the standard one from bukkit, but the info() method supports colored messages
getLogger()
Added for convenience. You can use all the important methods related to the events from there
getEventManager()
Powerful manager allowing u to not to care about the config files logic.
getConfigManager()
We will get back to that later, cause it require more info to provide.
Useful and simple lib to create gui menus
We will get back to that later, cause it require more info to provide.
Thats what I used in my YT videos:) We will get back to that later, cause it require more info to provide.