Interface PlayerCommandExecutor

All Superinterfaces:
NormalExecutor<org.bukkit.entity.Player,BukkitPlayer>, TypedExecutor<org.bukkit.entity.Player,BukkitPlayer>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface PlayerCommandExecutor extends NormalExecutor<org.bukkit.entity.Player,BukkitPlayer>
A normal command executor for a Player
  • Method Summary

    Modifier and Type
    Method
    Description
    default ExecutorType
    Returns the type of the sender of the current executor.
    default void
    run(ExecutionInfo<org.bukkit.entity.Player,BukkitPlayer> info)
    The code to run when this command is performed
    void
    run(org.bukkit.entity.Player sender, CommandArguments args)
    The code to run when this command is performed

    Methods inherited from interface dev.jorel.commandapi.executors.NormalExecutor

    executeWith