FabricRemoteServerTransport

Registers the authenticated Fabric buffer transport and detaches received fragments before native buffer release.

Properties

Link copied to clipboard
val ID: ResourceLocation

Native identifier for Strata's fixed external plugin-message channel.

Functions

Link copied to clipboard

Registers the channel once before play connections are constructed; callbacks only enqueue detached input.

Link copied to clipboard
fun read(buffer: FriendlyByteBuf): ByteArray

Validates the unread frame length before allocating and returns independently owned bytes.

Link copied to clipboard
fun send(connection: ServerGamePacketListenerImpl, bytes: ByteArray)

Sends a copied fragment to the authenticated native player.