Package me.neznamy.tab.api.scoreboard
Interface Line
public interface Line
An interface allowing to work with a line of
text in scoreboard.
-
Method Summary
-
Method Details
-
getText
String getText()Returns configured raw text of this line. Placeholders remain in raw format.- Returns:
- raw text of this line
-
setText
Changes text to new value. Supports placeholders, which are automatically registered if needed and refreshed periodically based on configuration. No need to call this method to try to keep placeholders up to date. If value is identical to previous one, nothing happens.- Parameters:
text- Raw text to display in the line
-