setScoreboardValue

abstract fun setScoreboardValue(player: Player, index: Int, value: String)

Sets the text value of the given Player's scoreboard at the given index.

Since

2.0.0

Parameters

player

The player to set the text value for.

index

The index at which the text should be set. 1-15 (1 and 15 inclusive)

value

The text value that should be set. (will be trimmed to a maximum of 40 characters)

Sources

jvm source
Link copied to clipboard