Class CommandSender.Spigot

java.lang.Object
org.bukkit.command.CommandSender.Spigot
Direct Known Subclasses:
Entity.Spigot
Enclosing interface:
CommandSender

public static class CommandSender.Spigot
extends Object
  • Constructor Details

  • Method Details

    • sendMessage

      public void sendMessage​(@NotNull BaseComponent component)
      Sends this sender a chat component.
      Parameters:
      component - the components to send
    • sendMessage

      public void sendMessage​(@NotNull BaseComponent... components)
      Sends an array of components as a single message to the sender.
      Parameters:
      components - the components to send