Class CommandExecuteEvent

java.lang.Object
eu.sculkpowered.server.event.ResultedEvent<ResultedEvent.GenericResult>
eu.sculkpowered.server.event.command.CommandExecuteEvent

public final class CommandExecuteEvent extends ResultedEvent<ResultedEvent.GenericResult>
Represents an event that fires when a command is executed.
  • Constructor Details

    • CommandExecuteEvent

      public CommandExecuteEvent(@NotNull @NotNull CommandSource source, @NotNull @NotNull String command)
  • Method Details

    • source

      @NotNull public @NotNull CommandSource source()
    • command

      @NotNull public @NotNull String command()