Interface CMDSender

All Known Implementing Classes:
BukkitCMDSender, BukkitPlayerCMDSender, BungeeCMDSender, BungeePlayerCMDSender, NukkitCMDSender, NukkitPlayerCMDSender, ServerCommandSourceMixin, SpongeCMDSender, SpongePlayerCMDSender, VelocityCMDSender, VelocityPlayerCMDSender

public interface CMDSender
  • Method Details

    • buildMessage

      MessageBuilder buildMessage()
    • getPlayerName

      Optional<String> getPlayerName()
    • hasPermission

      boolean hasPermission(String permission)
    • hasPermission

      default boolean hasPermission(Permissions permission)
    • hasAllPermissionsFor

      default boolean hasAllPermissionsFor(Subcommand subcommand)
    • isMissingPermissionsFor

      default boolean isMissingPermissionsFor(Subcommand subcommand)
    • isPlayer

      default boolean isPlayer()
    • supportsChatEvents

      default boolean supportsChatEvents()
    • getUUID

      Optional<UUID> getUUID()
    • send

      void send(String message)
    • send

      default void send(String... messages)
    • getFormatter

      ChatFormatter getFormatter()