Interface CommandCaller

All Known Implementing Classes:
ConsolePlayer, PlotPlayer

public interface CommandCaller
Any entity that is able to execute commands, receive messages & and have permission nodes
  • Method Details

    • sendMessage

      void sendMessage(@NonNull Caption caption, @NonNull net.kyori.adventure.text.minimessage.Template... replacements)
      Send a message to the command caller
      Parameters:
      caption - Caption to send
      replacements - Variable replacements
    • hasPermission

      boolean hasPermission(@NonNull String permission)
      Check the player's permissions. Will be cached if permission caching is enabled.
      Parameters:
      permission - the name of the permission
      Returns:
      if permission is had
    • getSuperCaller

      Get the type of the caller
      Returns:
      Caller type