Class StaticReferenceMessage

java.lang.Object
com.booksaw.betterTeams.message.StaticComponentHolderMessage
com.booksaw.betterTeams.message.StaticReferenceMessage
All Implemented Interfaces:
ComponentHolderMessage, Message

public class StaticReferenceMessage extends StaticComponentHolderMessage
  • Constructor Details

    • StaticReferenceMessage

      public StaticReferenceMessage(String reference)
  • Method Details

    • sendMessage

      public void sendMessage(org.bukkit.command.CommandSender recipient)
      Description copied from interface: Message
      Used to send the message.
      Parameters:
      recipient - the CommandSender to send the message to.
    • sendMessage

      public void sendMessage(Collection<? extends org.bukkit.command.CommandSender> recipients)
      Description copied from interface: Message
      Used to send the message to a Collection of Players.
      Parameters:
      recipients - the CommandSenders to send the message to
    • sendTitle

      public void sendTitle(org.bukkit.entity.Player recipient)
      Description copied from interface: Message
      Used to send a title to a Player.

      A 'title' is a big text, centered on the recipient screen. It fades in and out and is only shortly visible.

      This message is not logged in the chat. if you need this, use Message.sendMessage(CommandSender) instead.

      Parameters:
      recipient - the Player to send the title to.
    • sendTitle

      public void sendTitle(Collection<org.bukkit.entity.Player> recipients)
      Description copied from interface: Message
      Used to send a title to a Collection of Players.

      A 'title' is a big text, centered on the recipient screen. It fades in and out and is only shortly visible.

      This message is not logged in the chat. if you need this, use Message.sendMessage(Collection) instead.

      Parameters:
      recipients - the Players to send the title to.