registerChannelHandler

abstract fun registerChannelHandler(channel: String, handler: McProxyChannelHandler)

Registers a custom channel handler for the specified channel.

Parameters

channel

The name of the custom channel to register the handler for.

handler

The McProxyChannelHandler implementation that will process messages received on the channel.