ModuCoreReloadEvent

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.

Parameters

executor

who ran the command to reload the plugin

Constructors

Link copied to clipboard
fun ModuCoreReloadEvent(executor: CommandSender)

Functions

Link copied to clipboard
open fun callEvent(): Boolean
Link copied to clipboard
@NotNull
open fun getEventName(): @NotNull String
Link copied to clipboard
open override fun getHandlers(): HandlerList
Link copied to clipboard
fun isAsynchronous(): Boolean
Link copied to clipboard
open override fun isCancelled(): Boolean
Link copied to clipboard
open override fun setCancelled(cancel: Boolean)

Properties

Link copied to clipboard
val executor: CommandSender