McServerChannelManager

Manages custom Minecraft channels and their associated handlers.

Properties

Link copied to clipboard

Gets the collection of registered channels ids.

Functions

Link copied to clipboard
abstract fun clear()

Unregisters all custom channel handlers.

Link copied to clipboard
abstract fun registerChannelHandler(channel: String, handler: McServerChannelHandler)

Registers a custom channel handler for the specified channel.

Link copied to clipboard
abstract fun unregisterChannelHandler(channel: String, handler: McServerChannelHandler)

Unregisters a custom channel handler.