Modu Core Async Chat Event
class ModuCoreAsyncChatEvent( val player: Player, val originalMessage: String, var message: Component, var recipients: Set<Player>, val mentionedPlayers: Set<Player>, var playersToPing: Set<Player>) : ModuCoreCancellableEvent
Content copied to clipboard
The Chat Event that ModuCore will call if chat is enabled in the modules.
Parameters
player
the player who sent the message
original Message
the original message without markdown formatting
message
the bukkit message with formatting
recipients
the players who will recieve the message
mentioned Players
the players that were mentioned in the message using the ChatPing activator
players To Ping
a filtered list of mentionedPlayers that only includes those that have chat pings enabled. this is who the sound will play for.
Constructors
Link copied to clipboard
fun ModuCoreAsyncChatEvent( player: Player, originalMessage: String, message: Component, recipients: Set<Player>, mentionedPlayers: Set<Player>, playersToPing: Set<Player>)
Content copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard