setLines

open suspend override fun setLines(newLines: List<Scoreboard.LineType>): Scoreboard

Replaces the scoreboard lines with the provided list. Be careful, as certain built-in line types take up multiple actual scoreboard lines.

Return

the Scoreboard object

Parameters

newLines

the new list of LineType entries to set (total visual lines must be within 1..10)

Throws

if newLines amount to more than 10 total lines