Interface PlayerTab

All Known Subinterfaces:
VersionedTabGroup

public interface PlayerTab
  • Method Details

    • add

      void add(org.bukkit.entity.Player player)
      Add a player to tab-list formatting.
      Parameters:
      player - to be formatted.
    • remove

      void remove(org.bukkit.entity.Player player)
      Remove the given player from tab-list formatting.
      Parameters:
      player - to be removed.
    • setSubject

      void setSubject(@Nullable @Nullable org.bukkit.entity.Player player)
      PAPI subject.
      Parameters:
      player - papi target for placeholders.
    • getSubject

      @Nullable @Nullable org.bukkit.entity.Player getSubject()
      Get PAPI user used for placeholder replacements.
      Returns:
      papi subject.
    • setPushingRule

      void setPushingRule(PlayerTab.PushingRule rule)
      Set pushing rule for current team.
    • setNameTagVisibility

      void setNameTagVisibility(PlayerTab.NameTagVisibility nameTagVisibility)
      Set name-tag visibility for current team.
    • getIdentifier

      String getIdentifier()
      Unique identifier.