Suspending Java Plugin
Extension to the JavaPlugin for suspendable lifecycle functions.
Constructors
SuspendingJavaPlugin
Link copied to clipboard
fun SuspendingJavaPlugin()
Content copied to clipboard
Functions
on Disable Async
Link copied to clipboard
open suspend override fun onDisableAsync()
Content copied to clipboard
Called when this plugin is disabled.
on Enable Async
Link copied to clipboard
open suspend override fun onEnableAsync()
Content copied to clipboard
Called when this plugin is enabled
on Load Async
Link copied to clipboard
open suspend override fun onLoadAsync()
Content copied to clipboard
Called after a plugin is loaded but before it has been enabled.