java.lang.Object
me.neznamy.tab.api.TabFeature
me.neznamy.tab.shared.features.scoreboard.lines.ScoreboardLine
me.neznamy.tab.shared.features.scoreboard.lines.StaticLine
All Implemented Interfaces:
me.neznamy.tab.api.scoreboard.Line

public class StaticLine extends ScoreboardLine
A line with static text (no placeholders) Limitations: 1.5.x - 1.7.x: 48 characters (42 if using same number on all lines) 1.8.x - 1.12.x: 72 characters (66 if using same number on all lines) 1.13+: unlimited
  • Field Details

    • prefix17

      protected String prefix17
    • name17

      protected String name17
    • suffix17

      protected String suffix17
    • prefix

      protected String prefix
    • name

      protected String name
    • suffix

      protected String suffix
  • Constructor Details

  • Method Details

    • getPlayerName

      public String getPlayerName(me.neznamy.tab.api.TabPlayer viewer)
      Description copied from class: ScoreboardLine
      Returns forced name start of this line to specified viewer
      Overrides:
      getPlayerName in class ScoreboardLine
      Returns:
      forced name start of this line to specified viewer
    • register

      public void register(me.neznamy.tab.api.TabPlayer p)
      Description copied from class: ScoreboardLine
      Registers this line to the player
      Specified by:
      register in class ScoreboardLine
      Parameters:
      p - player to register line to
    • unregister

      public void unregister(me.neznamy.tab.api.TabPlayer p)
      Description copied from class: ScoreboardLine
      Unregisters this line to the player
      Specified by:
      unregister in class ScoreboardLine
      Parameters:
      p - player to unregister line to
    • setText

      public void setText(String text)