ModuCoreSudoEvent

class ModuCoreSudoEvent(    val command: String,     val player: Player,     val executor: CommandSender) : ModuCoreEvent

Called when a player is forced to run a command

Parameters

command

the command run

player

the player who runs the command

executor

the person forcing player to run the command

Constructors

Link copied to clipboard
fun ModuCoreSudoEvent(    command: String,     player: Player,     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

Properties

Link copied to clipboard
val command: String
Link copied to clipboard
val executor: CommandSender
Link copied to clipboard
val player: Player