Package-level declarations
Types
Facade of a coroutine session of a single plugin.
A BungeeCord event which is called when an exception is raised in one of the coroutines managed by MCCoroutine. Cancelling this exception causes the error to not get logged and offers to possibility for custom logging.
Functions
Launches a new coroutine on the BungeeCord Plugin ThreadPool without blocking the current thread and returns a reference to the coroutine as a Job. The coroutine is cancelled when the resulting job is Job.cancel.
Registers an command executor with suspending function. Does exactly the same as PluginManager.registerCommand
Registers an event listener with suspending functions. Does exactly the same thing as PluginManager.registerListener but makes suspension functions possible. Example: