getScoreboardValue

abstract fun getScoreboardValue(player: Player, index: Int): String?

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

Return

The text value of the given index. If no text value is present, this will return null.

Since

2.0.0

Parameters

player

The player to get the text value from.

index

The index at which the text value is present.

Sources

jvm source
Link copied to clipboard