setScoreboardValueWithPlaceholders

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

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

If placeholders are available, the value will try to replace them.

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.

Sources

jvm source
Link copied to clipboard