Modu Core Sign Command Event
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.
Parameters
sender
the player/consolesender that ran the command. you can use an instanceOf check to see whether console or a player ran the command
command
the command that was ran by the player, completely unmodified.
actual Command
the command that was ran by the player, colorized and with placeholders replaced appropriately
sign Clicked
the sign the player clicked. can be used to get coordinates/location, etc etc
interact Event
the rest of the event data if you want it for any reason
Constructors
Link copied to clipboard
fun ModuCoreSignCommandEvent( sender: CommandSender, command: String, actualCommand: Component, signClicked: Sign, interactEvent: PlayerInteractEvent)
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