SuspendingPlugin

open class SuspendingPlugin

Constructors

SuspendingPlugin
Link copied to clipboard
fun SuspendingPlugin()

Default constructor.

SuspendingPlugin
Link copied to clipboard
fun SuspendingPlugin(proxy: <ERROR CLASS>, description: <ERROR CLASS>)

Constructor with parameters.

Functions

onDisable
Link copied to clipboard
open fun onDisable()

Called when this plugin is disabled

onDisableAsync
Link copied to clipboard
open suspend fun onDisableAsync()

Called when this plugin is disabled.

onEnable
Link copied to clipboard
open fun onEnable()

Called when this plugin is enabled.

onEnableAsync
Link copied to clipboard
open suspend fun onEnableAsync()

Called when this plugin is enabled

onLoad
Link copied to clipboard
open fun onLoad()

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

onLoadAsync
Link copied to clipboard
open suspend fun onLoadAsync()

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