Interface ChatSupport


public interface ChatSupport
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.md_5.bungee.api.chat.ComponentBuilder
    append(net.md_5.bungee.api.chat.ComponentBuilder componentBuilder, net.md_5.bungee.api.chat.TextComponent textComponent)
    Append content to the component builder.
    void
    sendMessage(@NotNull org.bukkit.command.CommandSender commandSender, @NotNull net.md_5.bungee.api.chat.BaseComponent baseComponent)
    Send a baseComponent to the command sender.
    void
    sendMessage(@NotNull org.bukkit.command.CommandSender commandSender, @NotNull net.md_5.bungee.api.chat.BaseComponent[] baseComponent)
    Send a baseComponent array to the command sender.
    void
    sendMessage(@NotNull org.bukkit.command.CommandSender commandSender, @NotNull net.md_5.bungee.api.chat.TextComponent textComponent)
    Send a text component to the command sender.
    void
    sendMessage(@NotNull org.bukkit.command.CommandSender commandSender, @NotNull net.md_5.bungee.api.chat.TextComponent[] textComponent)
    Send a text component list to the command sender.
  • Method Details

    • sendMessage

      void sendMessage(@NotNull @NotNull org.bukkit.command.CommandSender commandSender, @NotNull @NotNull net.md_5.bungee.api.chat.TextComponent textComponent)
      Send a text component to the command sender.
      Parameters:
      commandSender - command sender.
      textComponent - text component.
    • sendMessage

      void sendMessage(@NotNull @NotNull org.bukkit.command.CommandSender commandSender, @NotNull @NotNull net.md_5.bungee.api.chat.TextComponent[] textComponent)
      Send a text component list to the command sender.
      Parameters:
      commandSender - command sender.
      textComponent - text component array.
    • append

      net.md_5.bungee.api.chat.ComponentBuilder append(net.md_5.bungee.api.chat.ComponentBuilder componentBuilder, net.md_5.bungee.api.chat.TextComponent textComponent)
      Append content to the component builder.
      Parameters:
      componentBuilder - component builder.
      textComponent - text component.
    • sendMessage

      void sendMessage(@NotNull @NotNull org.bukkit.command.CommandSender commandSender, @NotNull @NotNull net.md_5.bungee.api.chat.BaseComponent baseComponent)
      Send a baseComponent to the command sender.
      Parameters:
      commandSender - command sender.
      baseComponent - baseComponent.
    • sendMessage

      void sendMessage(@NotNull @NotNull org.bukkit.command.CommandSender commandSender, @NotNull @NotNull net.md_5.bungee.api.chat.BaseComponent[] baseComponent)
      Send a baseComponent array to the command sender.
      Parameters:
      commandSender - command sender.
      baseComponent - baseComponent list.