MCCoroutineConfiguration

interface MCCoroutineConfiguration

Additional configurations for MCCoroutine and communication.

Functions

disposePluginSession
Link copied to clipboard
abstract fun disposePluginSession()

Manually disposes the MCCoroutine session for the current extension or server.

Properties

logger
Link copied to clipboard
abstract var logger: Logger

The logger being used by MCCoroutine.

minecraftExecutor
Link copied to clipboard
abstract var minecraftExecutor: Executor

The executor being used to schedule tasks on the main thread of minecraft. Can be retrieved from the MinecraftServer instance.

shutdownStrategy
Link copied to clipboard
abstract var shutdownStrategy: ShutdownStrategy

Strategy handling how MCCoroutine is disposed. Defaults to ShutdownStrategy.SCHEDULER.