Skip to main content

ClientTextNotification

Notification received when another client sends a text message (chat). Received via the udpNotifications subscription.

type ClientTextNotification {
appId: BigInt!
chunkX: BigInt!
chunkY: BigInt!
chunkZ: BigInt!
distance: Int!
decayRate: Int!
uuid: String!
text: String!
sequenceNumber: Int!
epochMillis: BigInt!
}

Fields

ClientTextNotification.appId ● BigInt! non-null scalar

The ID of the app where the text message is coming from.

ClientTextNotification.chunkX ● BigInt! non-null scalar

The X coordinate of the chunk where the text source is located.

ClientTextNotification.chunkY ● BigInt! non-null scalar

The Y coordinate of the chunk where the text source is located.

ClientTextNotification.chunkZ ● BigInt! non-null scalar

The Z coordinate of the chunk where the text source is located.

ClientTextNotification.distance ● Int! non-null scalar

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

ClientTextNotification.decayRate ● Int! non-null scalar

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

ClientTextNotification.uuid ● String! non-null scalar

The unique identifier of the text source (typically the player UUID sending the message).

ClientTextNotification.text ● String! non-null scalar

The text message content, UTF-8 encoded. Display this to the user.

ClientTextNotification.sequenceNumber ● Int! non-null scalar

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

ClientTextNotification.epochMillis ● BigInt! non-null scalar

Server-generated epoch milliseconds timestamp.

Implemented By

UdpNotification union