maxLines

abstract fun maxLines(maxLines: @Range(from = 1, to = 15) Int): SurfScoreboardBuilder

Sets the maximum number of lines for the scoreboard.

Return

the SurfScoreboardBuilder object

Parameters

maxLines

the maximum number of lines for the scoreboard

Throws

if maxLines is not within the range of 1 to 15 (inclusive)