SuspendingPlugin

open class SuspendingPlugin

Constructors

Link copied to clipboard
constructor()

Default constructor.

constructor(proxy: <Error class: unknown class>, description: <Error class: unknown class>)

Constructor with parameters.

Functions

Link copied to clipboard
open fun onDisable()

Called when this plugin is disabled

Link copied to clipboard
open suspend 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 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 fun onLoadAsync()

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