Interface AdditionsNameTag


public interface AdditionsNameTag
Custom AdditionsPlus Name Tag class. Periodically update (animated) name tags based on groups. Supports Placeholders and HEX colors.
  • Method Details

    • getOrder

      int getOrder()
      Get the server order position of this name tag.
      Returns:
      Order position of this name tag.
    • getPermission

      String getPermission()
      Get the permission of this name tag.
      Returns:
      Permission of this name tag.
    • getTag

      Get the name tag value.
      Returns:
      AdditionsAnimation that contains the frames.
    • getGroup

      String getGroup()
      Get the identifier of this name tag (group).
      Returns:
      Group identifier of this name tag.
    • getUpdateInterval

      long getUpdateInterval()
      Get the update interval of this name tag in ticks.
      Returns:
      Update interval of this name tag in ticks.
    • isChangeDisplayName

      boolean isChangeDisplayName()
      Get whether to change the chat display name of the player.
      Returns:
      true when enabled, false otherwise.
    • isChangeAbovePlayerName

      boolean isChangeAbovePlayerName()
      Get whether to change the display name above the player's head.
      Returns:
      true when enabled, false otherwise.
    • getPrefix

      AdditionsAnimation getPrefix()
      Get the player name prefix.
      Returns:
      AdditionsAnimation that contains the frames.
    • getSuffix

      AdditionsAnimation getSuffix()
      Get the player name suffix.
      Returns:
      AdditionsAnimation that contains the frames.