Skip to main content

ClientEventNotification

Notification received when another client sends a custom event. Received via the udpNotifications subscription.

type ClientEventNotification {
appId: BigInt!
chunkX: BigInt!
chunkY: BigInt!
chunkZ: BigInt!
distance: Int!
decayRate: Int!
uuid: String!
eventType: Int!
state: String!
sequenceNumber: Int!
epochMillis: BigInt!
}

Fields

ClientEventNotification.appId ● BigInt! non-null scalar

The ID of the app where the event is occurring.

ClientEventNotification.chunkX ● BigInt! non-null scalar

The X coordinate of the chunk where the event is located.

ClientEventNotification.chunkY ● BigInt! non-null scalar

The Y coordinate of the chunk where the event is located.

ClientEventNotification.chunkZ ● BigInt! non-null scalar

The Z coordinate of the chunk where the event is located.

ClientEventNotification.distance ● Int! non-null scalar

Chunk replication distance (0-8) from the original message.

ClientEventNotification.decayRate ● Int! non-null scalar

Decay algorithm (0-5) from the original message.

ClientEventNotification.uuid ● String! non-null scalar

The unique identifier of the object controlling this event.

ClientEventNotification.eventType ● Int! non-null scalar

The event type ID (uint16). This determines how the event should be processed.

ClientEventNotification.state ● String! non-null scalar

The event state data, base64-encoded. The format is defined by the event type.

ClientEventNotification.sequenceNumber ● Int! non-null scalar

The sender's sequence number for this message (0-255).

ClientEventNotification.epochMillis ● BigInt! non-null scalar

Server-generated epoch milliseconds timestamp.

Implemented By

UdpNotification union