Free tool · Minecraft Java

Minecraft /scoreboard command generator

Pick what the scoreboard counts (deaths, kills, time played, blocks mined…), what it's called and where it shows. The commands show up below, in order and written for your server's version. Also to add or remove points and to delete it.

To start with: · · ·

/scoreboard objectives add deaths deathCount {"text":"Deaths","color":"red"}
/scoreboard objectives setdisplay sidebar deaths

How /scoreboard works

A scoreboard (the game calls it an “objective”) has an internal name, a criterion that says what it counts and a name to show. You create it with /scoreboard objectives add <name> <criterion> [display name] and show it with /scoreboard objectives setdisplay <slot> <name>. For example, /scoreboard objectives add deaths deathCount and then /scoreboard objectives setdisplay sidebar deaths put each player's deaths on the right of the screen.

There are three slots, and each one holds one scoreboard at a time: sidebar (on the right), list (the TAB list) and below_name (below each player's name; belowName before 1.20.2). With sidebar.team.red and the other colours, the sidebar is different for each team.

The criteria

The ones that aren't a statistic:

dummyCommands only. Counts nothing by itself: you set the points (events, coins, rounds).
triggerUsed by the player (/trigger). Like the one above, but a player without op can change theirs with /trigger once it's enabled.
deathCountDeaths. Adds one each time the player dies.
playerKillCountPlayers killed. Adds one for each player they kill.
totalKillCountKills (players and mobs). Adds one for each player or mob they kill.
healthHealth. Their remaining health, in half hearts (20 = full).
foodFood. The food bar (20 = full).
airAir. Air underwater (300 = full).
armorArmor. The armor points they're wearing.
levelExperience level. The green level shown above the hotbar.
xpExperience points. All the experience they have, in points.

And any statistic in the game, written as minecraft.<type>:minecraft.<id>: minecraft.custom:minecraft.jump (jumps), minecraft.mined:minecraft.diamond_ore (diamonds mined), minecraft.killed:minecraft.zombie (zombies killed), minecraft.killed_by:minecraft.creeper (times a creeper killed you) or minecraft.used:minecraft.ender_pearl (pearls thrown). Block and item ids are in the Minecraft item ID list.

What changed between versions

  • 1.20.3: numberformat arrives (hide the numbers or change their colour), and so does /scoreboard players display (another name for a player in the sidebar).
  • 1.20.2: belowName is renamed below_name.
  • 1.18: the internal name can now be longer than 16 characters.
  • 1.17: time played goes from play_one_minute to play_time.
  • 1.13: statistics take the minecraft.type:minecraft.id form. What 1.12 and older used (stat.walkOneCm, scoreboard teams) no longer works.

Ideas for your server

  • An event with points: a “Commands only” scoreboard on the right, and /scoreboard players add Name points 5 for whoever wins each round.
  • Everyone's health in TAB: the health criterion in the list, as hearts.
  • A menu without op: a trigger scoreboard players change with /trigger, and a datapack that checks its value (the datapacks guide).
  • More than commands: for a scoreboard with several lines that updates itself and has no numbers, a plugin is better; the scoreboard and TAB guide explains it.

Frequently asked questions

How do I remove the red numbers on the right?

Since 1.20.3, with “numberformat blank”: pick “Hide them” under “The numbers”. In older versions it can't be done with commands; you need a scoreboard plugin.

I created the scoreboard and nothing shows on screen

Creating the objective only counts: to see it you need the setdisplay (the generator adds it if you pick where it shows). And the sidebar doesn't show players who have no score yet: until something is counted for them, they don't appear.

Why does time played show huge numbers?

Because it counts ticks, 20 per second: an hour is 72,000. Before 1.17 it was called play_one_minute, even though it also counted ticks.

Does it count deepslate diamonds?

No: diamond_ore is the normal ore. The deepslate one is deepslate_diamond_ore and goes in another scoreboard; for the total, a third one with /scoreboard players operation.

Where do I type the commands?

In the game chat, with the slash in front, if you're an operator (op), or in the server console, without the slash. The NapNodes panel console takes one command at a time: paste them one by one.

Does it work for Bedrock?

Not fully: Bedrock has /scoreboard but only with the dummy criterion and no statistics. This tool is for Minecraft Java (Paper, Fabric, Forge, NeoForge and the official server).

No server yet?

At NapNodes you get a free Minecraft server, no card, with the panel's console to type these commands. And if you want to play with no queues and the server always on, the plans have RAM reserved for you alone, with the service status public on the status page.

Create your free server

More commands: /tellraw and /title generator and admin commands.

Guides that explain it

More free tools

All the tools