SuspendingJavaPlugin

Extension to the JavaPlugin for suspendable lifecycle functions.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun onDisable()

Called when this plugin is disabled

Link copied to clipboard
open suspend override fun onDisableAsync()

Called when this plugin is disabled.

Link copied to clipboard
open fun onEnable()

Called when this plugin is enabled

Link copied to clipboard
open suspend override fun onEnableAsync()

Called when this plugin is enabled

Link copied to clipboard
open fun onLoad()

Called after a plugin is loaded but before it has been enabled.

Link copied to clipboard
open suspend override fun onLoadAsync()

Called after a plugin is loaded but before it has been enabled.