Salta al contenuto principale
MC COMMANDS logoMC COMMANDS
Riferimento del Comando

Minecraft /scoreboard Command

developerEdizione JavaEdizione Bedrock

Tracks, modifies, and displays custom objectives, player scores, timers, and statistics for game logic, economy, and leaderboard systems.

Compatibilità Versioni

Edizione Java:1.21.4 (1.13+)
Edizione Bedrock:1.21.60

Sintassi del Comando

Edizione Java/scoreboard objectives (add|remove|list|setdisplay|modify) ... | /scoreboard players (add|set|remove|reset|get|list|operation|enable) ...
Edizione Bedrock/scoreboard objectives (add|remove|list|setdisplay) ... | /scoreboard players (add|set|remove|reset|list|operation|random) ...

Argomenti Spiegati

Esempi Pratici

beginnerEntrambe le Edizioni
/scoreboard objectives add Coins dummy "Gold Coins"

Creates a custom money currency objective called "Coins".

Setting up economy.

beginnerEntrambe le Edizioni
/scoreboard objectives setdisplay sidebar Coins

Displays the Coins leaderboard on the right sidebar of the screen.

HUD leaderboard display.

beginnerEntrambe le Edizioni
/scoreboard players add @a Coins 50

Gives 50 coins to every online player.

Quest rewards.

intermediateEdizione Java
/scoreboard objectives add Deaths deathCount "Total Deaths"

Java: Automatically tracks and displays player deaths.

Survival death counters.

advancedEntrambe le Edizioni
/scoreboard players operation @p Balance += @p Reward

Adds the value of the Reward score directly into the Balance score.

Arithmetic score operations.

Advertisement

Errori Comuni

Errore:

Forgetting to set a display slot with /scoreboard objectives setdisplay

Correzione:

The objective tracks scores in the background, but will not appear on screen until you set the display slot: /scoreboard objectives setdisplay sidebar <name>

Errore:

Using non-dummy criteria on Bedrock Edition

Correzione:

Bedrock only supports "dummy". You must increment scores using command blocks instead.

Errore:

Using real player names for system variables instead of fake players like #timer

Correzione:

Names starting with # never appear on sidebars or tab lists, keeping leaderboards clean.

Command Block Usage & Automation

The heart of Minecraft logic engines. To build a game timer, create a dummy objective "/scoreboard objectives add Timer dummy", run a Repeating Command Block with "/scoreboard players add #global Timer 1", and test it with "/execute if score #global Timer matches 200.. run say 10 Seconds Elapsed!".

Automation Tip: Command blocks require Operator permissions (permission level 2+) and cheats enabled. In Java Edition, command blocks can execute commands up to 32,767 characters long compared to the 256-character player chat limit.

Suggerimenti Utili

  • Target selectors can test scores directly: @a[scores={Coins=100..}] targets players with 100 or more coins.

  • Use fake player names (like #global or #timer) as global memory registers for map logic.

Note Importanti

In Bedrock Edition, the only supported criteria is `dummy`. Java Edition supports dozens of automatic criteria including `deathCount`, `playerKillCount`, `health`, and item craft/mine statistics.

Domande Frequenti

Comandi Correlati

Pronto a creare il tuo comando?

Usa il nostro generatore interattivo per creare comandi /scoreboard senza errori con un'interfaccia visuale.

Apri il Generatore di Comandi
Advertisement