Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
Runs work submitted for a player one item at a time, in the order it was submitted.
Link copied to clipboard
Provides a coroutine scope tied to the plugin lifecycle.
Link copied to clipboard
data class ServiceContainer(val languageManager: LanguageManager, val playerSettingsManager: PlayerSettingsManager, val directMessageHandler: DirectMessageHandler, val romajiConverter: RomanjiConverter? = null, val conversionCache: ConversionCache? = null, val channelManager: ChannelManager? = null, val channelMembershipManager: ChannelMembershipManager? = null, val channelMessageLogger: ChannelMessageLogger? = null, val channelMessageHandler: ChannelMessageHandler? = null, val channelNotificationHandler: ChannelNotificationHandler? = null, val velocityConnectionManager: VelocityConnectionManager? = null, val crossServerChatManager: CrossServerChatManager? = null, val crossServerDirectMessageManager: CrossServerDirectMessageManager? = null, val remotePlayerRegistry: RemotePlayerRegistry? = null, val stoppables: List<StoppableService> = emptyList())
Container for initialized services.
Link copied to clipboard
class ServiceInitializer(plugin: JavaPlugin, configuration: LunaticChatConfiguration, httpClient: Lazy<HttpClient>, logger: Logger)
Handles initialization and shutdown of all plugin services.
Link copied to clipboard
interface StoppableService
A service with work to finish before the server stops - a cache to flush, a connection to close.