Interface CommandExecutor<T extends CommandSource>

Type Parameters:
T - the command source

public interface CommandExecutor<T extends CommandSource>
Handles executing a command.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    execute​(@NonNull T source, @NonNull Command command, @NonNull String[] args)
    Executes the given Command with the given CommandSource.
  • Method Details

    • execute

      void execute(@NonNull T source, @NonNull Command command, @NonNull String[] args)
      Executes the given Command with the given CommandSource.
      Parameters:
      source - the command source
      command - the command
      args - the arguments