Skip to content
[/craft]

Create a Scoreboard Objective

Set up a scoreboard counter to track a value

✅ Verified for Java 26.2 · Bedrock 26.32 — checked June 2026

Creates a scoreboard objective — a named counter you can attach to players. The dummy criterion means the score only changes when a command changes it, which is what most minigames use. The last argument is the display name (an SNBT text component on Java, a quoted string on Bedrock). After creating it you set scores with /scoreboard players set <player> points <n>.

/scoreboard objectives add points dummy {text:"Points"}
55 characters

How to use

  1. Open chat (T on Java, / on Bedrock).
  2. Paste the command, renaming 'points' to your objective name.
  3. Press Enter to create the objective.
  4. Add points with /scoreboard players add @s points 1.

Related commands

Display an objective's scores on the right side of the screen

/scoreboard objectives setdisplay sidebar points

Automatically count how many players each player kills

/scoreboard objectives add kills playerKillCount {text:"Kills"}

Automatically count how many times each player dies

/scoreboard objectives add deaths deathCount {text:"Deaths"}

Become nearly invincible

/effect give @p resistance 999999 255 true

Switch yourself into Creative mode

/gamemode creative

Instantly remove every mob from the world except players

/kill @e[type=!player]