Send a custom RakNet packet
send-packetTransmit a custom outgoing RakNet packet to a live Roblox client using a hex payload, priority, reliability, and ordering channel for direct protocol-level game-state writes.
Instructions
WRITES LIVE GAME STATE — transmits a raw packet. Sends a custom OUTGOING low-level packet via raknet.send with the given payload (a hex string, converted to a byte array), priority, reliability, and ordering channel. Requires the raknet library. WARNING: malformed packets or wrong metadata can disconnect the client or break protocol behavior — only send payloads you understand. Signature: { dataHex: string, priority: any?, reliability: any?, orderingChannel: any?, threadContext: number? }. Phase: act; cost=medium; idempotency=contextual-write. Requires: active-client, explicit-mutation-approval. Capabilities: RakNet packet APIs. Produces: operation-receipt. Verify with: assert-state. Safety: MUTATING; performs external network or socket I/O. On failure: inspect tool-schema for exact fields, defaults, constraints, and an invocation example.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dataHex | Yes | Payload as a hex string (e.g. '01020304' or '01 02 03 04'); whitespace is ignored. Must be an even number of hex digits. | |
| priority | No | RakNet send priority (default 0). | |
| reliability | No | RakNet reliability mode (default 0). | |
| threadContext | No | Optional Roblox thread identity for this call; omit it to use the server default. | |
| orderingChannel | No | Ordering channel for ordered traffic (default 0). |