Skip to main content

ServerEventNotification

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

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

Fields

ServerEventNotification.appId ● BigInt! non-null scalar

The ID of the app where the event is occurring.

ServerEventNotification.chunkX ● BigInt! non-null scalar

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

ServerEventNotification.chunkY ● BigInt! non-null scalar

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

ServerEventNotification.chunkZ ● BigInt! non-null scalar

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

ServerEventNotification.distance ● Int! non-null scalar

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

ServerEventNotification.decayRate ● Int! non-null scalar

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

ServerEventNotification.uuid ● String! non-null scalar

The unique identifier of the object controlling this event.

ServerEventNotification.eventType ● Int! non-null scalar

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

ServerEventNotification.state ● String! non-null scalar

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

ServerEventNotification.sequenceNumber ● Int! non-null scalar

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

ServerEventNotification.epochMillis ● BigInt! non-null scalar

Server-generated epoch milliseconds timestamp.

Implemented By

UdpNotification union