CrossServerChatManager

class CrossServerChatManager(plugin: Plugin, logger: Logger, configuration: LunaticChatConfiguration, cacheSize: Int = 100)(source)

Manages cross-server global chat messages

Handles:

  • Sending global chat messages to Velocity

  • Processing incoming messages from Velocity

  • Message deduplication using LRU cache

Constructors

Link copied to clipboard
constructor(plugin: Plugin, logger: Logger, configuration: LunaticChatConfiguration, cacheSize: Int = 100)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard

Handles incoming global chat message from Velocity

Link copied to clipboard
fun sendGlobalMessage(playerId: UUID, playerName: String, message: String)

Sends a global chat message to Velocity for cross-server broadcast