I am trying to make it to where points for teams are shown in the scoreboard but I can only manage to get player names on there, what command do I use? On 1.16
Minecraft – How to make scoreboard show teams instead of players
minecraft-commandsminecraft-java-edition
Related Topic
- Minecraft Java Edition – How to Place Players in Team Based on Kill Count
- Minecraft – How to detect two different teams in the same area
- Minecraft – How to set players to different teams
- Minecraft Java Edition Bossbar – Can It Show Different Values to Different Players?
- minecraft-java-edition,minecraft-commands – How to Make Multicolored Scoreboard Fake Player Names in Minecraft
Best Answer
For this you need a second scoreboard. Let's say that
single_scores
is the scoreboard that you already have. I'll call the shared oneteam_scores
:Now whenever you want to update the scores, you need to first reset them:
And now add all team scores to the correct dummy players per team:
This way the sum of the blue team appears as "
blue
" in the sidebar, if you set it to displayteam_scores
instead ofsingle_scores
. You can even give both the same display name if you want to pretend that they're the same.