<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.sasgaming.net/index.php?action=history&amp;feed=atom&amp;title=Minecraft%3ACommands%2Fscoreboard</id>
	<title>Minecraft:Commands/scoreboard - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.sasgaming.net/index.php?action=history&amp;feed=atom&amp;title=Minecraft%3ACommands%2Fscoreboard"/>
	<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Minecraft:Commands/scoreboard&amp;action=history"/>
	<updated>2026-04-09T11:35:17Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.sasgaming.net/index.php?title=Minecraft:Commands/scoreboard&amp;diff=49776&amp;oldid=prev</id>
		<title>imported&gt;MinecraftBedrockPlayer7 at 17:04, 20 November 2025</title>
		<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Minecraft:Commands/scoreboard&amp;diff=49776&amp;oldid=prev"/>
		<updated>2025-11-20T17:04:09Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Infobox command&lt;br /&gt;
|name=scoreboard&lt;br /&gt;
|oplevel=&lt;br /&gt;
* 2{{only|java|short=1}}&lt;br /&gt;
* 1{{only|bedrock|short=1}}&lt;br /&gt;
|others=[[Minecraft:Cheat]] only{{only|bedrock|short=1}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Manages and displays scores for various [[Minecraft:scoreboard]] objectives.&lt;br /&gt;
&lt;br /&gt;
== Objectives commands ==&lt;br /&gt;
=== Syntax ===&lt;br /&gt;
: &amp;lt;code&amp;gt;scoreboard objectives &amp;#039;&amp;#039;&amp;#039;list&amp;#039;&amp;#039;&amp;#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
:: Lists all existing [[Minecraft:Scoreboard#Objectives|objectives]] with their display names and criteria.&lt;br /&gt;
: &amp;lt;code&amp;gt;scoreboard objectives &amp;#039;&amp;#039;&amp;#039;add&amp;#039;&amp;#039;&amp;#039; &amp;lt;objective&amp;gt; &amp;lt;criteria&amp;gt; [&amp;lt;displayName&amp;gt;]&amp;lt;/code&amp;gt; ({{el|java}})&lt;br /&gt;
: &amp;lt;code&amp;gt;scoreboard objectives &amp;#039;&amp;#039;&amp;#039;add&amp;#039;&amp;#039;&amp;#039; &amp;lt;objective: string&amp;gt; dummy [displayName: string]&amp;lt;/code&amp;gt; ({{el|bedrock}})&lt;br /&gt;
:: Creates a new objective with the given internal objective name, specified criterion, and the optional display name.&lt;br /&gt;
: &amp;lt;code&amp;gt;scoreboard objectives &amp;#039;&amp;#039;&amp;#039;remove&amp;#039;&amp;#039;&amp;#039; &amp;lt;objective&amp;gt;&amp;lt;/code&amp;gt; ({{el|java}})&lt;br /&gt;
: &amp;lt;code&amp;gt;scoreboard objectives &amp;#039;&amp;#039;&amp;#039;remove&amp;#039;&amp;#039;&amp;#039; &amp;lt;objective: string&amp;gt;&amp;lt;/code&amp;gt; ({{el|bedrock}})&lt;br /&gt;
:: Deletes the named objective from the scoreboard system. Data is deleted from the objectives list and score holders&amp;#039; scores, and if it was on a display list it is no longer displayed.&lt;br /&gt;
: &amp;lt;code&amp;gt;scoreboard objectives &amp;#039;&amp;#039;&amp;#039;setdisplay&amp;#039;&amp;#039;&amp;#039; &amp;lt;slot&amp;gt; [&amp;lt;objective&amp;gt;]&amp;lt;/code&amp;gt; ({{el|java}})&lt;br /&gt;
: &amp;lt;code&amp;gt;scoreboard objectives &amp;#039;&amp;#039;&amp;#039;setdisplay&amp;#039;&amp;#039;&amp;#039; &amp;lt;list|sidebar&amp;gt; [objective: string] [ascending|descending]&amp;lt;/code&amp;gt; ({{el|bedrock}})&lt;br /&gt;
: &amp;lt;code&amp;gt;scoreboard objectives &amp;#039;&amp;#039;&amp;#039;setdisplay&amp;#039;&amp;#039;&amp;#039; belowname [objective: string]&amp;lt;/code&amp;gt; ({{el|bedrock}})&lt;br /&gt;
:: 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 &amp;lt;code&amp;gt;list&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;sidebar&amp;lt;/code&amp;gt;, there is an additional optional argument &amp;lt;code&amp;gt;ascending|descending&amp;lt;/code&amp;gt; to specify the sort order.&lt;br /&gt;
: &amp;lt;code&amp;gt;scoreboard objectives &amp;#039;&amp;#039;&amp;#039;modify&amp;#039;&amp;#039;&amp;#039; &amp;lt;objective&amp;gt; &amp;#039;&amp;#039;&amp;#039;displayautoupdate&amp;#039;&amp;#039;&amp;#039; &amp;lt;value&amp;gt;&amp;lt;/code&amp;gt; ({{el|java}})&lt;br /&gt;
:: Changes whether or not display names are automatically updated on every score update.&lt;br /&gt;
: &amp;lt;code&amp;gt;scoreboard objectives &amp;#039;&amp;#039;&amp;#039;modify&amp;#039;&amp;#039;&amp;#039; &amp;lt;objective&amp;gt; &amp;#039;&amp;#039;&amp;#039;displayname&amp;#039;&amp;#039;&amp;#039; &amp;lt;displayName&amp;gt;&amp;lt;/code&amp;gt; ({{el|java}})&lt;br /&gt;
:: Changes the display name of the scoreboard in display slots.&lt;br /&gt;
: &amp;lt;code&amp;gt;scoreboard objectives &amp;#039;&amp;#039;&amp;#039;modify&amp;#039;&amp;#039;&amp;#039; &amp;lt;objective&amp;gt; &amp;#039;&amp;#039;&amp;#039;numberformat&amp;#039;&amp;#039;&amp;#039;&amp;lt;/code&amp;gt; ({{el|java}})&lt;br /&gt;
:: Resets the default number format of the scoreboard in display slots and in score text components.&lt;br /&gt;
: &amp;lt;code&amp;gt;scoreboard objectives &amp;#039;&amp;#039;&amp;#039;modify&amp;#039;&amp;#039;&amp;#039; &amp;lt;objective&amp;gt; &amp;#039;&amp;#039;&amp;#039;numberformat blank&amp;#039;&amp;#039;&amp;#039;&amp;lt;/code&amp;gt; ({{el|java}})&lt;br /&gt;
:: Sets the default number format to blank, which indicates that the score is not shown.&lt;br /&gt;
: &amp;lt;code&amp;gt;scoreboard objectives &amp;#039;&amp;#039;&amp;#039;modify&amp;#039;&amp;#039;&amp;#039; &amp;lt;objective&amp;gt; &amp;#039;&amp;#039;&amp;#039;numberformat fixed&amp;#039;&amp;#039;&amp;#039; &amp;lt;component&amp;gt;&amp;lt;/code&amp;gt; ({{el|java}})&lt;br /&gt;
:: Sets the default number format to fixed, which indicates that the score is replaced by the text component.&lt;br /&gt;
: &amp;lt;code&amp;gt;scoreboard objectives &amp;#039;&amp;#039;&amp;#039;modify&amp;#039;&amp;#039;&amp;#039; &amp;lt;objective&amp;gt; &amp;#039;&amp;#039;&amp;#039;numberformat styled&amp;#039;&amp;#039;&amp;#039; &amp;lt;style&amp;gt;&amp;lt;/code&amp;gt; ({{el|java}})&lt;br /&gt;
:: Sets the default number format to styled, which indicates that the score is displayed with the selected style.&lt;br /&gt;
: &amp;lt;code&amp;gt;scoreboard objectives &amp;#039;&amp;#039;&amp;#039;modify&amp;#039;&amp;#039;&amp;#039; &amp;lt;objective&amp;gt; &amp;#039;&amp;#039;&amp;#039;rendertype&amp;#039;&amp;#039;&amp;#039; (hearts&amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt;integer)&amp;lt;/code&amp;gt; ({{el|java}})&lt;br /&gt;
:: Changes the display format for scores in the tab player list.&lt;br /&gt;
&lt;br /&gt;
=== Arguments ===&lt;br /&gt;
{{argument|objective|objective|objective: string|basic_string}}&lt;br /&gt;
: Specifies the internal objective name.&lt;br /&gt;
: {{arg desc|je=objective|be=basic_string}}&lt;br /&gt;
&lt;br /&gt;
{{argument|criteria|objective_criteria|dummy}}&lt;br /&gt;
: Specifies the criterion of the new objective.&lt;br /&gt;
: {{arg desc|je=objective_criteria}} {{IN|bedrock}}, &amp;quot;dummy&amp;quot; is the only criterion currently supported&lt;br /&gt;
&lt;br /&gt;
{{argument|displayName|component|displayName: string|basic_string}}&lt;br /&gt;
: Specifies the display name, defaulting to &amp;lt;code&amp;gt;&amp;lt;objective&amp;gt;&amp;lt;/code&amp;gt; when unspecified.&lt;br /&gt;
: {{IN|java}}, must be a [[Minecraft:raw JSON text]]. {{IN|bedrock}}, it must be either a single word that isn&amp;#039;t a number (allowed characters: {{cd|-|:|.|_|delimiter=,&amp;amp;#32;}}, {{cd|A|Z|delimiter=-}}, {{cd|a|z|delimiter=-}}, and {{cd|0|9|delimiter=-}}) or a double-quoted string.&lt;br /&gt;
&lt;br /&gt;
{{argument|slot|scoreboard_slot|&amp;lt;nowiki&amp;gt;list|sidebar|belowname&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
: Specifies the slot to display the objective.&lt;br /&gt;
: {{arg desc|je=scoreboard_slot}} Valid slots are listed and described in [[Minecraft:Scoreboard#Display_slots|Display Slots]].&lt;br /&gt;
: {{arg desc|je=objective|be=basic_string}}&lt;br /&gt;
&lt;br /&gt;
{{el|be|short=1}}: &amp;lt;code&amp;gt;ascending|descending&amp;lt;/code&amp;gt;&lt;br /&gt;
: Specifies the sort order.&lt;br /&gt;
&lt;br /&gt;
{{el|je|short=1}}: {{argument|value|bool}}&lt;br /&gt;
: Specifies whether display names are auto-updated.&lt;br /&gt;
: {{arg desc|je=bool}}&lt;br /&gt;
&lt;br /&gt;
{{el|je|short=1}}: {{argument|displayName|component}}&lt;br /&gt;
: Specifies the display name.&lt;br /&gt;
: {{arg desc|je=component}}&lt;br /&gt;
&lt;br /&gt;
{{el|je|short=1}}: {{argument|component|component}}&lt;br /&gt;
: Specifies display text.&lt;br /&gt;
: {{arg desc|je=component}}&lt;br /&gt;
&lt;br /&gt;
{{el|je|short=1}}: {{argument|style|style}}&lt;br /&gt;
: Specifies the style.&lt;br /&gt;
: {{arg_desc|je=style}}&lt;br /&gt;
&lt;br /&gt;
{{el|je|short=1}}: &amp;lt;code&amp;gt;hearts|integer&amp;lt;/code&amp;gt;&lt;br /&gt;
: Specifies the format.&lt;br /&gt;
&lt;br /&gt;
=== Result ===&lt;br /&gt;
{{Result table}}&lt;br /&gt;
{{Result table|the arguments are not specified correctly|unparseable|unparseable}}&lt;br /&gt;
{{Result table|cmd=... list|there&amp;#039;s no objective in scoreboard system|success|fail}}&lt;br /&gt;
{{Result table|cmd=... add ...|&amp;lt;code&amp;gt;&amp;lt;objective&amp;gt;&amp;lt;/code&amp;gt; already exists|fail|fail}}&lt;br /&gt;
{{Result table|cmd=... remove ...&amp;lt;br&amp;gt;... setdisplay ...&amp;lt;br&amp;gt;... modify ...|&amp;lt;code&amp;gt;&amp;lt;objective&amp;gt;&amp;lt;/code&amp;gt; doesn&amp;#039;t exist|fail|fail}}&lt;br /&gt;
{{Result table|cmd=... setdisplay &amp;lt;slot&amp;gt; &amp;lt;objective&amp;gt;|&amp;lt;code&amp;gt;&amp;lt;objective&amp;gt;&amp;lt;/code&amp;gt; already displays in the specified slot|fail|success}}&lt;br /&gt;
{{Result table|cmd=... setdisplay &amp;lt;slot&amp;gt;|the slot is already empty}}&lt;br /&gt;
{{Result table|cmd=|success}}&lt;br /&gt;
{{Result table}}&lt;br /&gt;
&lt;br /&gt;
=== Output ===&lt;br /&gt;
{{Output table}}&lt;br /&gt;
{{Output table|edition=je|cmd=... list|On success|1|1|the number of objectives in scoreboard system}}&lt;br /&gt;
{{Output table|cmd=... add ...&amp;lt;br&amp;gt;... remove ...|On success|1|1|the number of objectives in scoreboard system after execution}}&lt;br /&gt;
{{Output table|cmd=|On success|1|1|0}}&lt;br /&gt;
{{Output table|edition=be|cmd=|On success|the number of objectives in scoreboard system}}&lt;br /&gt;
{{Output table}}&lt;br /&gt;
&lt;br /&gt;
== Players commands ==&lt;br /&gt;
=== Syntax ===&lt;br /&gt;
: &amp;lt;code&amp;gt;scoreboard players &amp;#039;&amp;#039;&amp;#039;list&amp;#039;&amp;#039;&amp;#039; [&amp;lt;target&amp;gt;]&amp;lt;/code&amp;gt; ({{el|java}})&lt;br /&gt;
: &amp;lt;code&amp;gt;scoreboard players &amp;#039;&amp;#039;&amp;#039;list&amp;#039;&amp;#039;&amp;#039; [playername: target]&amp;lt;/code&amp;gt; ({{el|bedrock}})&lt;br /&gt;
:: Lists all [[Minecraft:Scoreboard#Objectives|score holders]] that are tracked in some way by the scoreboard system. The optional &amp;lt;code&amp;gt;&amp;lt;target&amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;playername: target&amp;lt;/code&amp;gt; parameter is used to list the scores of particular score holders.&lt;br /&gt;
: &amp;lt;code&amp;gt;scoreboard players &amp;#039;&amp;#039;&amp;#039;get&amp;#039;&amp;#039;&amp;#039; &amp;lt;target&amp;gt; &amp;lt;objective&amp;gt;&amp;lt;/code&amp;gt; ({{el|java}})&lt;br /&gt;
:: Return the scoreboard value. Can be used in conjunction with the {{cmd|execute}} command: {{cmd|execute store result ... run scoreboard players get ...}}&lt;br /&gt;
: &amp;lt;code&amp;gt;scoreboard players &amp;#039;&amp;#039;&amp;#039;set&amp;#039;&amp;#039;&amp;#039; &amp;lt;targets&amp;gt; &amp;lt;objective&amp;gt; &amp;amp;lt;score&amp;gt;&amp;lt;/code&amp;gt; ({{el|java}})&lt;br /&gt;
:&amp;lt;code&amp;gt;scoreboard players &amp;#039;&amp;#039;&amp;#039;set&amp;#039;&amp;#039;&amp;#039; &amp;lt;player: target&amp;gt; &amp;lt;objective: string&amp;gt; &amp;lt;count: int&amp;gt;&amp;lt;/code&amp;gt; ({{el|bedrock}})&lt;br /&gt;
:: Set the targets&amp;#039; scores in the given objective, overwriting any previous score.&lt;br /&gt;
: &amp;lt;code&amp;gt;scoreboard players &amp;#039;&amp;#039;&amp;#039;add&amp;#039;&amp;#039;&amp;#039; &amp;lt;targets&amp;gt; &amp;lt;objective&amp;gt; &amp;amp;lt;score&amp;gt;&amp;lt;/code&amp;gt; ({{el|java}})&lt;br /&gt;
: &amp;lt;code&amp;gt;scoreboard players &amp;#039;&amp;#039;&amp;#039;add&amp;#039;&amp;#039;&amp;#039; &amp;lt;player: target&amp;gt; &amp;lt;objective: string&amp;gt; &amp;lt;count: int&amp;gt;&amp;lt;/code&amp;gt; ({{el|bedrock}})&lt;br /&gt;
:: Increments the targets&amp;#039; scores in that objective by the given amount. {{IN|bedrock}}, a negative count subtracts from the score.&lt;br /&gt;
: &amp;lt;code&amp;gt;scoreboard players &amp;#039;&amp;#039;&amp;#039;remove&amp;#039;&amp;#039;&amp;#039; &amp;lt;targets&amp;gt; &amp;lt;objective&amp;gt; &amp;amp;lt;score&amp;gt;&amp;lt;/code&amp;gt; ({{el|java}})&lt;br /&gt;
: &amp;lt;code&amp;gt;scoreboard players &amp;#039;&amp;#039;&amp;#039;remove&amp;#039;&amp;#039;&amp;#039; &amp;lt;player: target&amp;gt; &amp;lt;objective: string&amp;gt; &amp;lt;count: int&amp;gt;&amp;lt;/code&amp;gt; ({{el|bedrock}})&lt;br /&gt;
:: Decrements the targets&amp;#039; scores in that objective by the given amount. {{IN|bedrock}}, a negative number adds to the score.&lt;br /&gt;
: &amp;lt;code&amp;gt;scoreboard players &amp;#039;&amp;#039;&amp;#039;random&amp;#039;&amp;#039;&amp;#039; &amp;lt;player: target&amp;gt; &amp;lt;objective: string&amp;gt; &amp;lt;min: int&amp;gt; &amp;lt;max: int&amp;gt;&amp;lt;/code&amp;gt; ({{el|bedrock}})&lt;br /&gt;
:: Sets the targets&amp;#039; scores in that objective to a random number between min and max (both inclusive).&lt;br /&gt;
: &amp;lt;code&amp;gt;scoreboard players &amp;#039;&amp;#039;&amp;#039;reset&amp;#039;&amp;#039;&amp;#039; &amp;lt;targets&amp;gt; [&amp;lt;objective&amp;gt;]&amp;lt;/code&amp;gt; ({{el|java}})&lt;br /&gt;
: &amp;lt;code&amp;gt;scoreboard players &amp;#039;&amp;#039;&amp;#039;reset&amp;#039;&amp;#039;&amp;#039; &amp;lt;player: target&amp;gt; [objective: string]&amp;lt;/code&amp;gt; ({{el|bedrock}})&lt;br /&gt;
:: Deletes score or all scores for the targets. If &amp;lt;code&amp;gt;&amp;lt;objective&amp;gt;&amp;lt;/code&amp;gt; is specified, then only that objective is cleared. Otherwise, this applies to all objectives.&lt;br /&gt;
:: Note that this does not merely set the scores to 0: it removes the targets from the scoreboard system (or for the given objective) altogether.&lt;br /&gt;
:: {{IN|java}}, this also disables the target players&amp;#039; ability to use {{cmd|trigger}} command (on the given objective if specified).&lt;br /&gt;
:: {{IN|java}}, running &amp;lt;code&amp;gt;scoreboard players reset *&amp;lt;/code&amp;gt; will reset the scores of all players, while &amp;lt;code&amp;gt;scoreboard players reset @a&amp;lt;/code&amp;gt; will only reset the scores of players online.&lt;br /&gt;
: &amp;lt;code&amp;gt;scoreboard players &amp;#039;&amp;#039;&amp;#039;test&amp;#039;&amp;#039;&amp;#039; &amp;lt;player: target&amp;gt; &amp;lt;objective: string&amp;gt; &amp;lt;min: wildcard int&amp;gt; [&amp;lt;max: wildcard int&amp;gt;]&amp;lt;/code&amp;gt; ({{el|bedrock}})&lt;br /&gt;
:: Tests if targets&amp;#039; scores are between min and max (defaults to MAX_INT(2,147,483,647)).&lt;br /&gt;
: &amp;lt;code&amp;gt;scoreboard players &amp;#039;&amp;#039;&amp;#039;enable&amp;#039;&amp;#039;&amp;#039; &amp;lt;targets&amp;gt; &amp;lt;objective&amp;gt;&amp;lt;/code&amp;gt; ({{el|java}})&lt;br /&gt;
:: Enables the target(s) to use the {{cmd|trigger}} command on the specified objective. This command accepts non-player entities, but only players are able to actually use the {{cmd|trigger}} command. Until this command has been run, players can&amp;#039;t trigger that objective. Using the {{cmd|trigger}} command disables it again.&lt;br /&gt;
:: Note that if any of the targets did not previously have a score for that scoreboard, this command sets their score to 0.&lt;br /&gt;
: &amp;lt;code&amp;gt;scoreboard players &amp;#039;&amp;#039;&amp;#039;operation&amp;#039;&amp;#039;&amp;#039; &amp;lt;targets&amp;gt; &amp;lt;targetObjective&amp;gt; &amp;lt;operation&amp;gt; &amp;amp;lt;source&amp;gt; &amp;lt;sourceObjective&amp;gt;&amp;lt;/code&amp;gt; ({{el|java}})&lt;br /&gt;
: &amp;lt;code&amp;gt;scoreboard players &amp;#039;&amp;#039;&amp;#039;operation&amp;#039;&amp;#039;&amp;#039; &amp;lt;player: target&amp;gt; &amp;lt;targetObjective: string&amp;gt; &amp;lt;operation: operator&amp;gt; &amp;lt;selector: target&amp;gt; &amp;lt;objective: string&amp;gt;&amp;lt;/code&amp;gt; ({{el|bedrock}})&lt;br /&gt;
:: Applies an arithmetic operation altering the targets&amp;#039; scores in the target objective, using sources&amp;#039; scores in the source objective as input.&lt;br /&gt;
: &amp;lt;code&amp;gt;scoreboard players &amp;#039;&amp;#039;&amp;#039;display name&amp;#039;&amp;#039;&amp;#039; &amp;lt;targets&amp;gt; &amp;lt;objective&amp;gt;&amp;lt;/code&amp;gt; ({{el|java}})&lt;br /&gt;
:: Resets the display name of the targets&amp;#039; scores.&lt;br /&gt;
: &amp;lt;code&amp;gt;scoreboard players &amp;#039;&amp;#039;&amp;#039;display name&amp;#039;&amp;#039;&amp;#039; &amp;lt;targets&amp;gt; &amp;lt;objective&amp;gt; &amp;lt;text&amp;gt;&amp;lt;/code&amp;gt; ({{el|java}})&lt;br /&gt;
:: Changes the display name of the targets&amp;#039; scores.&lt;br /&gt;
: &amp;lt;code&amp;gt;scoreboard players &amp;#039;&amp;#039;&amp;#039;display numberformat&amp;#039;&amp;#039;&amp;#039; &amp;lt;targets&amp;gt; &amp;lt;objective&amp;gt;&amp;lt;/code&amp;gt; ({{el|java}})&lt;br /&gt;
:: Resets the number format of the targets&amp;#039; scores.&lt;br /&gt;
: &amp;lt;code&amp;gt;scoreboard players &amp;#039;&amp;#039;&amp;#039;display numberformat&amp;#039;&amp;#039;&amp;#039; &amp;lt;targets&amp;gt; &amp;lt;objective&amp;gt; &amp;#039;&amp;#039;&amp;#039;blank&amp;#039;&amp;#039;&amp;#039;&amp;lt;/code&amp;gt; ({{el|java}})&lt;br /&gt;
:: Sets the number format of the targets&amp;#039; scores to blank, which indicates that the score is not shown.&lt;br /&gt;
: &amp;lt;code&amp;gt;scoreboard players &amp;#039;&amp;#039;&amp;#039;display numberformat&amp;#039;&amp;#039;&amp;#039; &amp;lt;targets&amp;gt; &amp;lt;objective&amp;gt; &amp;#039;&amp;#039;&amp;#039;fixed&amp;#039;&amp;#039;&amp;#039; &amp;lt;contents&amp;gt;&amp;lt;/code&amp;gt; ({{el|java}})&lt;br /&gt;
:: Sets the number format of the targets&amp;#039; scores to fixed, which indicates that the score is replaced by the text component.&lt;br /&gt;
: &amp;lt;code&amp;gt;scoreboard players &amp;#039;&amp;#039;&amp;#039;display numberformat&amp;#039;&amp;#039;&amp;#039; &amp;lt;targets&amp;gt; &amp;lt;objective&amp;gt; &amp;#039;&amp;#039;&amp;#039;styled&amp;#039;&amp;#039;&amp;#039; &amp;lt;style&amp;gt;&amp;lt;/code&amp;gt; ({{el|java}})&lt;br /&gt;
:: Sets the number format of the targets&amp;#039; scores to styled, which indicates that the score is displayed with the selected style.&lt;br /&gt;
&lt;br /&gt;
=== Arguments ===&lt;br /&gt;
{{argument|target|score_holder|playername: target|WildcardCommandSelector&amp;lt;Actor&amp;gt;}}&lt;br /&gt;
: Specifies the score holder.&lt;br /&gt;
: {{arg desc|je=score_holder|be=WildcardCommandSelector&amp;lt;Actor&amp;gt;}}&lt;br /&gt;
: {{IN|java}}, only a single score holder can be specified, and &amp;lt;code&amp;gt;*&amp;lt;/code&amp;gt; only works for &amp;lt;code&amp;gt;scoreboard players reset&amp;lt;/code&amp;gt; ({{bug|MC-136858}}). {{IN|bedrock}}, multiple score holders can be specified.&lt;br /&gt;
&lt;br /&gt;
{{argument|targets|score_holder|player: target|WildcardCommandSelector&amp;lt;Actor&amp;gt;}}&lt;br /&gt;
: Specifies the score holders.&lt;br /&gt;
: {{arg desc|je=score_holder|be=WildcardCommandSelector&amp;lt;Actor&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{argument|objective|objective|objective: string|basic_string}}&lt;br /&gt;
: Specifies the internal objective name.&lt;br /&gt;
: {{arg desc|je=objective|be=basic_string}}&lt;br /&gt;
&lt;br /&gt;
{{argument|score|integer|count: int|int}}&lt;br /&gt;
: Specifies the new score, an amount to add to the score, or an amount to subtract from the score.&lt;br /&gt;
: {{arg desc|je=integer|be=int}}&lt;br /&gt;
&lt;br /&gt;
{{el|be|short=1}}: {{argument|min: int|int}}&amp;lt;br&amp;gt;{{el|be|short=1}}: {{argument|max: int|int}}&lt;br /&gt;
: Specifies the min value and max value that the random number is between.&lt;br /&gt;
: {{arg desc|be=int}}&lt;br /&gt;
&lt;br /&gt;
{{el|be|short=1}}: {{argument|min: wildcard int|CommandWildcardInt}}&amp;lt;br&amp;gt;{{el|be|short=1}}: {{argument|max: wildcard int|int}}&lt;br /&gt;
: Specifies the min value and max value that the random number is between.&lt;br /&gt;
: Must be a 32-bit integer. And &amp;lt;code&amp;gt;min: wildcard int&amp;lt;/code&amp;gt; can be replaced with asterisk (*) to represent -2,147,483,648, and &amp;lt;code&amp;gt;max: wildcard&amp;lt;/code&amp;gt; int can be replaced with asterisk (*) to represent 2,147,483,647.&lt;br /&gt;
&lt;br /&gt;
{{argument|targetObjective|objective|targetObjective: string|basic_string}}&lt;br /&gt;
: Specifies the objective for targets.&lt;br /&gt;
: {{arg desc|je=objective|be=basic_string}}&lt;br /&gt;
&lt;br /&gt;
{{argument|source|score_holder|selector: target|WildcardCommandSelector&amp;lt;Actor&amp;gt;}}&lt;br /&gt;
: Specifies the source score holders whose scores are used as source inputs.&lt;br /&gt;
: {{arg desc|je=score_holder|be=WildcardCommandSelector&amp;lt;Actor&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
{{argument|sourceObjective|objective|objective: string|basic_string}}&lt;br /&gt;
: Specifies the objective for sources.&lt;br /&gt;
: {{arg desc|je=objective|be=basic_string}}&lt;br /&gt;
&lt;br /&gt;
{{argument|operation|operation|operation: operator|CommandOperator}}&lt;br /&gt;
: Specifies the operation to be applied.&lt;br /&gt;
: {{arg desc|je=operation|be=CommandOperator}}&lt;br /&gt;
:* &amp;lt;code&amp;gt;=&amp;lt;/code&amp;gt; Assignment: Set target&amp;#039;s score to source&amp;#039;s score&lt;br /&gt;
:* &amp;lt;code&amp;gt;+=&amp;lt;/code&amp;gt; Addition: Add source&amp;#039;s score to target&amp;#039;s score&lt;br /&gt;
:* &amp;lt;code&amp;gt;-=&amp;lt;/code&amp;gt; Subtraction: Subtract source&amp;#039;s score from target&amp;#039;s score&lt;br /&gt;
:* &amp;lt;code&amp;gt;*=&amp;lt;/code&amp;gt; Multiplication: Set target&amp;#039;s score to the product of the target&amp;#039;s and source&amp;#039;s scores&lt;br /&gt;
:* &amp;lt;code&amp;gt;/=&amp;lt;/code&amp;gt; Floor division: Divide target&amp;#039;s score by source&amp;#039; scores, and the result is rounded down to an integer.&lt;br /&gt;
:* &amp;lt;code&amp;gt;%=&amp;lt;/code&amp;gt; Modulus: Divide target&amp;#039;s score by source&amp;#039;s score, and use the positive remainder to set the target score&lt;br /&gt;
:* {{cd|&amp;gt;&amp;lt;}} Swapping: swaps target&amp;#039;s score and source&amp;#039;s score&lt;br /&gt;
:* {{cd|&amp;lt;}} Choosing minimum: Set target&amp;#039;s score to source&amp;#039;s score only if source&amp;#039;s score is less.&lt;br /&gt;
:* {{cd|&amp;gt;}} Choosing maximum: Set target&amp;#039;s score to source&amp;#039;s score only if source&amp;#039;s score is bigger.&lt;br /&gt;
: In all cases except {{cd|&amp;gt;&amp;lt;}}, source&amp;#039;s score remains unchanged when performing the operation on a target. If target or source isn&amp;#039;t tracked by the specified objective, it is set to 0. If more than one score holder is specified as sources, performs the operation once with each source&amp;#039;s score. If more than one target score holder is specified, performs the operation for each target one by one.&lt;br /&gt;
: For &amp;lt;code&amp;gt;/=&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;%=&amp;lt;/code&amp;gt;, if source&amp;#039;s score is 0, the command fails {{in|java}}, or succeeds but does not change target&amp;#039;s score {{in|bedrock}}.&lt;br /&gt;
&lt;br /&gt;
{{el|je|short=1}}: {{argument|text|component}}&lt;br /&gt;
: Specifies the display name.&lt;br /&gt;
: {{arg desc|je=component}}&lt;br /&gt;
&lt;br /&gt;
{{el|je|short=1}}: {{argument|contents|component}}&lt;br /&gt;
: Specifies display text.&lt;br /&gt;
: {{arg desc|je=component}}&lt;br /&gt;
&lt;br /&gt;
{{el|je|short=1}}: {{argument|style|style}}&lt;br /&gt;
: Specifies the style.&lt;br /&gt;
: {{arg_desc|je=style}}&lt;br /&gt;
&lt;br /&gt;
=== Result ===&lt;br /&gt;
{{Result table}}&lt;br /&gt;
{{Result table|the arguments are not specified correctly|unparseable|unparseable}}&lt;br /&gt;
{{Result table|cmd=... list|there&amp;#039;s no score holder being tracked by the scoreboard system|success|fail}}&lt;br /&gt;
{{Result table|cmd=... list &amp;lt;targets&amp;gt;|the specified targets fails to resolve to a single score holder|fail|fail}}&lt;br /&gt;
{{Result table|cmd=... list &amp;lt;targets&amp;gt;&amp;lt;br&amp;gt;... list [playername: target]|the specified score holder isn&amp;#039;t tracked by any objectives|success|fail}}&lt;br /&gt;
{{Result table|cmd=... get ...|the objective doesn&amp;#039;t exist|fail|N/A}}&lt;br /&gt;
{{Result table|the specified target fails to resolve to a single score holder}}&lt;br /&gt;
{{Result table|the score holder has no score in the specified objective}}&lt;br /&gt;
{{Result table|cmd=... set ...&amp;lt;br&amp;gt;... add ...&amp;lt;br&amp;gt;... reset ...&amp;lt;br&amp;gt;... enable ...&amp;lt;br&amp;gt;... display ...|the objective doesn&amp;#039;t exist|fail|fail}}&lt;br /&gt;
{{Result table|&amp;lt;code&amp;gt;&amp;lt;targets&amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;player: target&amp;lt;/code&amp;gt; fails to resolve to one or more score holders}}&lt;br /&gt;
{{Result table|the objective isn&amp;#039;t writable||N/A}}&lt;br /&gt;
{{Result table|cmd=... random ...&amp;lt;br&amp;gt;... test ...|the objective doesn&amp;#039;t exist|N/A|fail}}&lt;br /&gt;
{{Result table|&amp;lt;code&amp;gt;player: target&amp;lt;/code&amp;gt; fails to resolve to one or more score holders}}&lt;br /&gt;
{{Result table|cmd=... random ...|&amp;lt;code&amp;gt;max: int&amp;lt;/code&amp;gt; isn&amp;#039;t greater than &amp;lt;code&amp;gt;min: int&amp;lt;/code&amp;gt;|N/A|fail}}&lt;br /&gt;
{{Result table|cmd=... reset &amp;lt;player: target&amp;gt;|all the targets are not tracked by any objective|N/A|fail}}&lt;br /&gt;
{{Result table|cmd=... test ...|&amp;lt;code&amp;gt;max: int&amp;lt;/code&amp;gt; is less than &amp;lt;code&amp;gt;min: int&amp;lt;/code&amp;gt;|N/A|fail}}&lt;br /&gt;
{{Result table|cmd=... enable ...|the objective&amp;#039;s criterion is not &amp;quot;trigger&amp;quot;|fail|N/A}}&lt;br /&gt;
{{Result table|all the targets&amp;#039; scores are already enabled|fail|N/A}}&lt;br /&gt;
{{Result table|cmd=... operation ...|&amp;lt;code&amp;gt;&amp;lt;targets&amp;gt;&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;&amp;amp;lt;source&amp;gt;&amp;lt;/code&amp;gt;, or &amp;lt;code&amp;gt;player: target&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;selector: target&amp;lt;/code&amp;gt; fails to resolve to one or more score holders|fail|fail}}&lt;br /&gt;
{{Result table|the source objective or target objective doesn&amp;#039;t exist}}&lt;br /&gt;
{{Result table|the source objective (or target objective when using &amp;lt;code&amp;gt;&amp;amp;gt;&amp;amp;lt;&amp;lt;/code&amp;gt;) isn&amp;#039;t writable||N/A}}&lt;br /&gt;
{{Result table|the source&amp;#039;s score is equal to 0 when using &amp;lt;code&amp;gt;/{{=}}&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;%{{=}}&amp;lt;/code&amp;gt;||success}}&lt;br /&gt;
{{Result table|cmd=|success}}&lt;br /&gt;
{{Result table}}&lt;br /&gt;
&lt;br /&gt;
=== Output ===&lt;br /&gt;
{{Output table}}&lt;br /&gt;
{{Output table|edition=je|cmd=... list &amp;lt;targets&amp;gt;|On success|1|1|the number of tracking objectives of the specified score holder}}&lt;br /&gt;
{{Output table|cmd=... get ...|On success|1|1|the score&amp;#039;s value}}&lt;br /&gt;
{{Output table|cmd=... set ...|On success|1|1|the number of targets multiplied by the specified score}}&lt;br /&gt;
{{Output table|cmd=... add ...&amp;lt;br&amp;gt;... remove ...|On success|1|1|the sum of the objective&amp;#039;s score value of each target after execution}}&lt;br /&gt;
{{Output table|cmd=... reset ...|On success|1|1|the number of the targets}}&lt;br /&gt;
{{Output table|cmd=... enable ...|On success|1|1|the number of the targets whose scores are newly enabled}}&lt;br /&gt;
{{Output table|cmd=... operation ...|On success|1|1|the sum of the objective&amp;#039;s score value of each target after the operation on it}}&lt;br /&gt;
{{Output table|cmd=|On success|1|1|0}}&lt;br /&gt;
{{Output table|edition=be|cmd=... list|On success|the number of score holders}}&lt;br /&gt;
{{Output table|cmd=... list [playername: target]|On success|the total number of tracking objectives of each score holder}}&lt;br /&gt;
{{Output table|cmd=... set ...&amp;lt;br&amp;gt;... add ...&amp;lt;br&amp;gt;... remove ...&amp;lt;br&amp;gt;... random ...|On success|1}}&lt;br /&gt;
{{Output table|cmd=... reset ...|On success|the number of the targets that is tracked by the scoreboard (or the specified objective)}}&lt;br /&gt;
{{Output table|cmd=... test ...|On success|the number of the specified score holders whose score is between min and max}}&lt;br /&gt;
{{Output table|cmd=... operation ...|On success|1}}&lt;br /&gt;
{{Output table}}&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
=== &amp;#039;&amp;#039;Java Edition&amp;#039;&amp;#039; ===&lt;br /&gt;
{{HistoryTable&lt;br /&gt;
|{{HistoryLine|java}}&lt;br /&gt;
|{{HistoryLine||1.5|dev=13w04a|Added {{cmd|scoreboard|link=none}}.}}&lt;br /&gt;
|{{HistoryLine||1.13|dev=17w45a|Split teams usage to {{cmd|team}} and tags usage to {{cmd|tag}}. &amp;lt;code&amp;gt;/scoreboard players test&amp;lt;/code&amp;gt; removed in favor of &amp;lt;code&amp;gt;/execute (if/unless) score&amp;lt;/code&amp;gt;.}}&lt;br /&gt;
|{{HistoryLine|||dev=pre7|Added {{cmd|scoreboard objectives modify &amp;lt;&amp;#039;&amp;#039;objectiveName&amp;#039;&amp;#039;&amp;gt; displayname &amp;lt;&amp;#039;&amp;#039;displayName&amp;#039;&amp;#039;&amp;gt;|link=none}}.}}&lt;br /&gt;
|{{HistoryLine|||dev=pre8|Added {{cmd|scoreboard objectives modify &amp;lt;&amp;#039;&amp;#039;objectiveName&amp;#039;&amp;#039;&amp;gt; rendertype &amp;#039;&amp;#039;hearts&amp;#039;&amp;#039;|link=none}}, which makes health bars display as hearts, like this: {{Healthbar|12}}.&lt;br /&gt;
|Added {{cmd|scoreboard objectives modify &amp;lt;objectiveName&amp;gt; rendertype &amp;#039;&amp;#039;integer&amp;#039;&amp;#039;|link=none}}, which makes health bars display as yellow numbers.&lt;br /&gt;
|Objective names are now text components, not raw strings.}}&lt;br /&gt;
|{{HistoryLine||1.18|dev=21w37a|Removed length limits for scoreboards, score holders and team names.}}&lt;br /&gt;
|{{HistoryLine||1.20.2|dev=23w31a|Renamed the display slot argument &amp;lt;code&amp;gt;belowName&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;below_name&amp;lt;/code&amp;gt;.}}&lt;br /&gt;
|{{HistoryLine||1.20.3|dev=23w46a|Added new subcommands for changing the display of specific scoreboard entries in the sidebar.}}&lt;br /&gt;
|{{HistoryLine||1.21.5|dev=25w02a|Text style in the {{cmd|scoreboard}} command when specifying the styled number format is now specified with SNBT instead of JSON.}}&lt;br /&gt;
|{{HistoryLine|||dev=25w05a|Text component arguments are now resolved before use in context of entity held in {{cd|@s}}.}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== &amp;#039;&amp;#039;Bedrock Edition&amp;#039;&amp;#039; ===&lt;br /&gt;
{{HistoryTable&lt;br /&gt;
|{{HistoryLine|bedrock}}&lt;br /&gt;
|{{HistoryLine||1.7.0|dev=beta 1.7.0.2|Added {{cmd|scoreboard|link=none}}.}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
*{{cmd|team}}&lt;br /&gt;
*{{cmd|tag}}&lt;br /&gt;
*{{cmd|random}}&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
&lt;br /&gt;
* {{Cite|url=https://learn.microsoft.com/en-us/minecraft/creator/commands/commands/scoreboard?view=minecraft-bedrock-stable|title=&amp;lt;code&amp;gt;/scoreboard&amp;lt;/code&amp;gt; Command|website=Microsoft Learn|date=October 11, 2023}}&lt;br /&gt;
&lt;br /&gt;
== Navigation ==&lt;br /&gt;
{{Navbox commands}}&lt;br /&gt;
&lt;br /&gt;
[[Minecraft:de:Befehl/scoreboard]]&lt;br /&gt;
[[Minecraft:es:Comandos/scoreboard]]&lt;br /&gt;
[[Minecraft:ja:コマンド/scoreboard]]&lt;br /&gt;
[[Minecraft:pt:Comandos/scoreboard]]&lt;br /&gt;
[[Minecraft:ru:Команды консоли/scoreboard]]&lt;br /&gt;
[[Minecraft:uk:Команди консолі/scoreboard]]&lt;br /&gt;
[[Minecraft:zh:命令/scoreboard]]&lt;/div&gt;</summary>
		<author><name>imported&gt;MinecraftBedrockPlayer7</name></author>
	</entry>
</feed>