McServerChannelHandler

Represents a Minecraft server channel handler.

Channel handlers can be registered using the McServerChannelManager.

Functions

Link copied to clipboard
abstract fun receive(player: McServerPlayer, data: ByteArray)

Invoked when a message is received on the associated channel.