sendRawPacket

fun Player.sendRawPacket(channel: String, action: ByteBuf.() -> Unit)

Sends a raw plugin-channel packet to this player.

Parameters

channel

The plugin channel identifier.

action

DSL block for writing data into the ByteBuf.