Package dev.jaims.moducore.api.event


Link copied to clipboard
class ModuCoreAsyncChatEvent(    val player: Player,     val originalMessage: String,     var message: Component,     var recipients: Set<Player>,     val mentionedPlayers: Set<Player>,     var playersToPing: Set<Player>) : ModuCoreCancellableEvent

The Chat Event that ModuCore will call if chat is enabled in the modules.

Link copied to clipboard
class ModuCoreReloadEvent(val executor: CommandSender) : ModuCoreCancellableEvent

The Event called when ModuCore is reloaded. Note: If you cancel the event, the reload will fail silently, so you may want to notify the executor that the event has been cancelled.

Link copied to clipboard
class ModuCoreSignCommandEvent(    val sender: CommandSender,     val command: String,     val actualCommand: Component,     val signClicked: Sign,     val interactEvent: PlayerInteractEvent) : ModuCoreCancellableEvent

An event called when a player clicks a sign to run a command.