GlobalChatMessage

@Serializable
data class GlobalChatMessage(val messageId: String, val serverName: String, val playerId: String, val playerName: String, val message: String, val timestamp: Long = System.currentTimeMillis()) : PluginMessage(source)

Global chat message (Paper ↔ Velocity ↔ Paper)

Constructors

Link copied to clipboard
constructor(messageId: String, serverName: String, playerId: String, playerName: String, message: String, timestamp: Long = System.currentTimeMillis())

Properties

Link copied to clipboard

Chat message content

Link copied to clipboard

UUID for deduplication

Link copied to clipboard

UUID as string

Link copied to clipboard

Player name

Link copied to clipboard

Source server identifier

Link copied to clipboard

Message timestamp (milliseconds since epoch)