Package dev. jaims. moducore. api. event
Types
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
Content copied to clipboard
The Chat Event that ModuCore will call if chat is enabled in the modules.
Link copied to clipboard
class ModuCoreReloadEvent(val executor: CommandSender) : ModuCoreCancellableEvent
Content copied to clipboard
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
Content copied to clipboard
An event called when a player clicks a sign to run a command.