setScoreboard

public abstract void setScoreboard(Scoreboard scoreboard)

Sets the player's visible Scoreboard.

Parameters

scoreboard

New Scoreboard for the player

Throws

if scoreboard was not created by the scoreboard manager

if this is getClassById player that is not logged yet or has logged out