registerAll

fun registerAll(plugin: LunaticChat, services: ServiceContainer, configuration: LunaticChatConfiguration, updateAvailable: AtomicBoolean, debug: DebugLogger = DebugLogger.Disabled)(source)

Registers all event listeners based on available services.

Parameters

plugin

The plugin instance

services

The initialized services

configuration

The plugin configuration

updateAvailable

Atomic flag for update availability

debug

Debug logger passed to the listeners that report their routing decisions