Interface CommandSource

All Superinterfaces:
Audience, Pointered
All Known Subinterfaces:
Player

public interface CommandSource extends Audience
Represents an object that is a source of a command.
  • Method Details

    • hasPermission

      boolean hasPermission(@NotNull @NotNull String permission)
      Checks if the player has the permission
      Parameters:
      permission - the permission to test
      Returns:
      whether the player has the permission
      Since:
      1.0.0