Interface PlayerTab


public interface PlayerTab
  • Nested Class Summary

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

    Modifier and Type
    Method
    Description
    void
    add(org.bukkit.entity.Player player)
    Add a player to tab-list formatting.
    @Nullable org.bukkit.entity.Player
    Get PAPI user used for placeholder replacements.
    void
    remove(org.bukkit.entity.Player player)
    Remove the given player from tab-list formatting.
    void
    Set name-tag visibility for current team.
    void
    Set pushing rule for current team.
    void
    setSubject(@Nullable org.bukkit.entity.Player player)
    PAPI subject.
  • 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.