{{Infobox command |name=scoreboard |oplevel= * 2 {{only|java|short=1}} * 1 {{only|bedrock|short=1}} |others=[[Options|Cheat]] only{{only|bedrock|short=1}} }} Manages and displays scores for various [[scoreboard]] objectives. == Objectives commands == === Syntax === : scoreboard objectives '''list''' :: Lists all existing [[Scoreboard#Objectives|objectives]] with their display names and criteria. : scoreboard objectives '''add''' [] ({{el|java}}) : scoreboard objectives '''add''' dummy [displayName: string] ({{el|bedrock}}) :: Creates a new objective with the given internal objective name, specified criterion, and the optional display name. : scoreboard objectives '''remove''' ({{el|java}}) : scoreboard objectives '''remove''' ({{el|bedrock}}) :: Deletes the named objective from the scoreboard system. Data is deleted from the objectives list and score holders' scores, and if it was on a display list it is no longer displayed. : scoreboard objectives '''setdisplay''' [] ({{el|java}}) : scoreboard objectives '''setdisplay''' [objective: string] [ascending|descending] ({{el|bedrock}}) : scoreboard objectives '''setdisplay''' below_name [objective: string] ({{el|bedrock}}) :: Displays score info for the objective in the given slot. Note that the objective parameter is optional; if no objective is provided, this display slot is cleared (returned to its default state). {{IN|bedrock}}, if slot is list or sidebar, there is an additional optional argument ascending|descending to specify the sort order. : scoreboard objectives '''modify''' '''displayautoupdate''' ({{el|java}}) :: Changes whether or not display names are automatically updated on every score update. : scoreboard objectives '''modify''' '''displayname''' ({{el|java}}) :: Changes the display name of the scoreboard in display slots. : scoreboard objectives '''modify''' '''numberformat''' ({{el|java}}) :: Resets the default number format of the scoreboard in display slots and in score text components. : scoreboard objectives '''modify''' '''numberformat blank''' ({{el|java}}) :: Sets the default number format to blank, which indicates that the score is not shown. : scoreboard objectives '''modify''' '''numberformat fixed''' ({{el|java}}) :: Sets the default number format to fixed, which indicates that the score is replaced by the text component. : scoreboard objectives '''modify''' '''numberformat styled'''