487

How to make scoreboards - A Minecraft Tutorial!

487 diamonds
Collectable

Get Embed Code

Forum:
HTML:
Link:
avatar
TheBoo
Level 68 : High Grandmaster Modder
Introduction


Hello everyone, and welcome to a new tutorial by me, TheBoo. Today I will be showing you guys how to use the /scoreboard command added in 1.5. Now what is that feature really about? Well, using it you can create various scoreboards at your screen to display various info about yourself. Now on with the tutorial!

Basic Scoreboards



There are many different scoreboards added into the game. The first part of this tutorial is to explain the very basics, the kill count and the health count.
Kills scoreboard:

GvGBeZpng

That'll give us a nice scoreboard for how many kills you have,including mob kills. The sidebar word is what is called the Slot variable. There are3 different slots: sidebar, list and belowname. More on that later. The objective we entered, totalKillCount, is called theCriteria.

Note: The scoreboards won't display anything if you haven't killed any mobs yet.

Alternate version:
If you are a PVP-er, and you want toremove your mob kill countand justdisplay the player killcount, writeplayerKillCountinstead of totalKillCount.

Displaying a objective next to your name



rwrMKpng
NOTE: Belowname has changed from "belowname" to "belowName".

See? That wasn't hard. Let's go over some advanced things.

Team Scoreboards



PphHHpng
xtkCchkpng
See? That wasn't too hard.


Configuarating your team


FetLBoDpng

Ways of using teams



There are many, many ways of utilizing the scoreboards function. To name a few, you can user it for PVP teams or even use it for server ranks. Yes, with the scoreboards function, every member will have a shared colored nametag, if you configurate it that way. If you use the scoreboards function correctly, you can set up a vanilla staff rankon your server with a nametag of a specific color for that rank.

Using the lists slot



blmeJpng

List of Criterias to display in a scoreboard



There are many criterias to display in a scoreboard. I will go over the most common ones. The ID tag is the id used in the command.
- Dummy: ID = "dummy". The value of this objective is only changed by commands, see the Minecraft Wiki for more info.
- Deaths: ID = "deathCount". Displays how many times you've died.
- Player kills: ID = "playerKillCount". Displays how many times you've killed a player.
- Total Kills: ID = "totalKillCount". Displays how many times you've killed a living entity, mob or player.
- Health: ID = "health". Displays your current health.

Using the new compound criterias


In 1.7 compound criterias were added. These can be modified to result in a over 100 combinations. A compound criteria may look like this:

achievement.acquireIron
stat.jump
stat.useItem.1
stat.useItem.minecraft.stone
stat.killEntity.Skeleton

That should give you a basic view of how it may looj like. Every time one of those actions are performed, such as the case of the last one, killing a skeleton, the score of that criteria is increased by one.

Below is a simplified table of criterias that may be used, for a more advanced table, head over to Minecraft Wiki.

Criteria Base
(description if necessary)
Sub CriteriaExample
achievement
(Score is increased by one the number of times a player has met the requirement of an achievement)
All aviable achievments, for example "acquireIron", "buildFurnace" and "buildHoe". Head over to minecraft wiki for more detail.achievment.buildHoe
stat.craftItemAll available item ids, such as "1", "212" etc. You may also use the item name, if you prefix it with "minecraft.", such as "minecraft.stone" and "minecraft.glass". You may only use craftable items in here.stat.craftItem.minecraft.stone_hoe
stat.usetItemAll available item ids, such as "1", "212" etc. You may also use the item name, if you prefix it with "minecraft.", such as "minecraft.stone" and "minecraft.glass". stat.useItem.minecraft.glass
stat.breakItem
(Score is increased by one when item durability reaches 0)
All available items that have durability, such as "279" and "398". You may also use the item name, if you prefix it with "minecraft.", such as "minecraft.bow" and "minecraft.chainmail_helmet".stat.breakItem.minecraft.diamond_pickaxe
stat.mineBlockMost available block ids, such as "1" and "3". You may also use the item name, if you prefix it with "minecraft.", such as "minecraft.stone" and "minecraft.glass". You may only use craftable items in here.stat.mineBlock.gold_block
stat.killEntityAll available entities, such as "Skeleton" and "Spider".stat.killEntity.Bat
stat.entityKilledByAll available entities, such as "Skeleton" and "Spider".stat.entityKilledBy.Zombie
teamkill
(Score is increased by one every time a player kills a member of a team with the specified color)
All valid team colors, such as "black" and "dark_blue".teamkill.black
killedByTeam
(Score is increased by one every time a player gets killed by a member of a team with the specified color)
All valid team colors, such as "black" and "dark_blue".killedByTeam.dark_blue


Using teams with Command Blocks




dUeoNpng

CzOSpng

Spoiler: Archery Range Demonstration - Click to open!
pjX4bx4rNUo


Advanced Tutorials


The previous ones were too easy? Well, there is lots of more to scoreboards that first meet the eye. Here is some more stuff you can do.

Further use of command blocks



nnAuuepng
cFKctcpng

Spoiler: Archery Range Trophy Room Demonstration - Click to open!
SBn7ulszHX4


Conclusion:


In this blog I've teached you how to make your own scoreboards. Please note that I covered some of the features, the full list is available here. This blog took quite a while to make, with all the screenshots and stuff, so I would reallyappreciate a diamond, or even a subscribtion.

EBRxpng
Tags:Tutorial, Scoreboards, Theboo, Tut, Scoreboard, Score, Board, Minecraft 15, Basic, Kills, Variables, Teams, Planet Minecraft, Die, Bye, Server, Vanilla Ranks
Credit:Minecraft Wiki

Update #5 : 06/24/2014 1:09:28 pm6/24/14

New part on how to use the compound criterias added in 1.7, as requested by many users.

Update #4 : 08/10/2013 1:52:25 pm8/10/13

Added a new tutorial on how to use the testfor command in command blocks, as requested by many users.

Update #3 : 06/24/2013 1:18:56 pm6/24/13

Added tutorial on how to use scoreboards in command blocks, as well as added a demonstration video of the finished product.

Update #2 : 03/24/2013 1:04:39 pm3/24/13

Updated with section on how to use the lists slot.

Update #1 : 03/24/2013 6:52:52 am3/24/13

Added configurating your team section.

Comments : 310

Join us to post comments.

Show Comments

1 - 50 of 310

ugh im looking for a way to make the scoreboard show up it is kinda not showing up for me :(
Edit Reply Delete
  • benbenboyo
  • Level 1
  • New Miner
  • July 3, 2016, 8:33 pm
This is awesome! Thanks!
Edit Reply Delete
Thanks for making this, I'm trying to make a map and this helped a lot :)
Edit Reply Delete
  • WuzelKenuel
  • Level 1
  • New Explorer
  • June 19, 2016, 12:24 pm
I don't know how to delete the score board. I really want to, but I can't.
Edit Reply Delete
you should be able to do /scoreboard players reset (Username)
Edit Reply Delete
Thanks for this, its not so easy to find something this easy to understand and so broken down. I was making a domination type gamemode for fun and used the dummy command with a, clock with a 2 way output one for the green team and one for the red team that lead to command block for the score adding. still in the process of making it but it helped out.
Edit Reply Delete
  • Foxtails13
  • Level 5
  • Apprentice Engineer
  • May 12, 2016, 2:55 pm
What if in 1.9 you want to make a scoreboard that shows home many blocks you've flown with the elytra?
Edit Reply Delete
I'm trying to set up a system for my server.

By default a player is on Team1
If a player kills someone on Team1, they're set to Team2
If a player kills someone on Team2, they're set to Team1
Edit Reply Delete
i'd do a plugin for a server i have a realm and i learned a LITTLE about ctags... I wanna see those... reply if anyone knows something about it. i cant have plugins for realms :(
Edit Reply Delete
  • Hyojae
  • Level 1
  • New Miner
  • February 17, 2016, 2:34 pm
Best command ever!!! This is so awesome and is going to help my new server that I'm creating
Edit Reply Delete
THIS WAS SERIOUSLY HELPFUL! THANK YOU SOOOO MUCH! :D
Edit Reply Delete
  • lord_pigg
  • Level 1
  • New Miner
  • January 17, 2016, 1:11 am
how do i reset the playerKilCount score after every match?
Edit Reply Delete
  • lord_pigg
  • Level 1
  • New Miner
  • January 17, 2016, 1:16 am
or after they are killed themselfes
Edit Reply Delete
  • KenniverTales
  • Level 15
  • Journeyman Nerd
  • December 19, 2015, 12:04 am
OKAY IS THERE ANY SINGLE WAY TO HIDE THE HEAD ICON OR THE WHOLE PLAYER NAME IN MINECRAFT SCOREBOARD...CAN SOMEBODY FIGURE THIS OUT AND PLEASE..TELL ME!
Edit Reply Delete
KeNvin if you add teams which it provided up there, there is an option to hide player names, deaths and some other options. 
Hope it helped :)
Edit Reply Delete
  • KenniverTales
  • Level 15
  • Journeyman Nerd
  • December 23, 2015, 8:12 am
Okay That May Help A Little Thanks
Edit Reply Delete
  • EnderShot355
  • Level 7
  • Apprentice Miner
  • November 16, 2015, 3:45 am
Thanks. This REALLY helped with my map.
Edit Reply Delete
ILLUMNTI CONIRME!
Edit Reply Delete
  • Big_Bad_E
  • Level 1
  • New Miner
  • August 30, 2015, 4:50 am
Thanks! This is a really cool tutorial I just joined and I dont know how to diamond you but I would give

+1,000,000 Diamonds!
Edit Reply Delete
Ty so much!  this will be great for my map!
Edit Reply Delete
Thx
+1 Diamond
Edit Reply Delete
444th Diamond ILLUMINATI CONFIRMED!!!
Edit Reply Delete
  • Techno-5
  • Level 6
  • Apprentice Network
  • July 15, 2015, 3:39 am
Thank you! I know how to help a server if i want to now. :) You gave me a great idea!
Edit Reply Delete
  • Galaxy_Hero
  • Level 5
  • Apprentice Engineer
  • June 30, 2015, 5:45 pm
Very helpful! Thank you!
Edit Reply Delete
  • TheHobbit81
  • Level 1
  • New Miner
  • March 15, 2015, 6:54 pm
I would like to know how to REMOVE as sidebar death counter where the veraible for deaths is "Deaths"


Any help would be great.



~Hobbit
Edit Reply Delete
To remove whats in the side bar do this
/scoreboard objectives setdisplay sidebar


To remove the objective do this:
/scoreboard objectives remove <name>

To make a scoreboard only changeable by command block
/scoreboard objectives add <name> dummy <display name>
Edit Reply Delete
  • Arneeman
  • Level 1
  • New Miner
  • March 14, 2015, 7:28 am
How do you make two scoreboards appear on the side at once? I have a realm server and want a kill and death counter. I made a kill counter but when i made the death one the kill counter disappeared. I have seen multiple counters on servers before.
Edit Reply Delete
  • EnderShot355
  • Level 7
  • Apprentice Miner
  • November 16, 2015, 3:46 am
I believe those are the plug ins working.
Edit Reply Delete
  • Unfurtunate
  • Level 22
  • Expert Button Pusher
  • February 26, 2015, 9:43 am
thats so cool o mai gawdddd
Edit Reply Delete
  • TheBoo
  • Level 68
  • High Grandmaster Modder
  • February 26, 2015, 12:26 pm
op pl0x nerf
Edit Reply Delete
  • J4ckieChan23
  • Level 17
  • Journeyman Ninja
  • February 23, 2015, 2:54 am
How dy'a make a thing which shows Kills - Deaths
Edit Reply Delete
  • nauaf101
  • Level 11
  • Journeyman Warrior
  • February 14, 2015, 10:28 pm
the boo lets szy you want the name of someone on the scoreboard and it will be displayed their name and they die it wil show -1 and if someone dies again -2 how pls
Edit Reply Delete
  • TheBoo
  • Level 68
  • High Grandmaster Modder
  • February 15, 2015, 1:52 am
I don't really know about that one, it's much easier to make a scoreboard that increases whenver someone dies, using deathCount.
Edit Reply Delete
  • nauaf101
  • Level 11
  • Journeyman Warrior
  • February 15, 2015, 2:20 am
thats what i did now do you know how to do this like when the death count reaches 1 and all players die when it reaches 1 do you know how to tp the player back to the spawn and write in his screen you won?

this is soo important for my SkyWars Map with no plugins or mod ;)
Edit Reply Delete
  • J4ckieChan23
  • Level 17
  • Journeyman Ninja
  • February 14, 2015, 12:35 pm
Can ya send me commands to make staff ranks :D
Edit Reply Delete
  • TheBoo
  • Level 68
  • High Grandmaster Modder
  • February 14, 2015, 9:46 pm
Come on man, just make some teams that has colored nametags for what rank they have.
Edit Reply Delete
  • Trenz001
  • Level 1
  • New Miner
  • January 19, 2015, 11:48 pm
guys how to show kills on your name please for example (2501) <Test> : LOL ! 
please teach me how
Edit Reply Delete
  • TheBoo
  • Level 68
  • High Grandmaster Modder
  • January 20, 2015, 2:28 am
You need to code a plugin for that IIRC, it's not possible in vanilla Minecraft.
Edit Reply Delete
Can someone tell me if you can replace @p and @a and all stuffs with player names and still make it work? I'm trying to replace @a in this command with my player name Miotrestoked:

/scoreboard players set @a[score_death_min=1] death 0 

So yeah... If someone could please help me with this I would highly appreciate that :D
Thank you!
Edit Reply Delete
I've tried that but it doesn't work D: 
I don't even know if it's possible
Edit Reply Delete
Changing @a to your name or another player's name specifically should work fine. @a would move all players, so changing it to one name in specific would move that player only. Hope that helps you out!
Edit Reply Delete
  • LukaG4mer
  • Level 20
  • Expert Taco
  • December 31, 2014, 1:26 am
You are my friend

  +1 Diamond
Edit Reply Delete
  • camjirowetz
  • Level 3
  • Apprentice Network
  • December 28, 2014, 3:46 pm
You will not believe how helpfull this is!

     +1 Diamond
Edit Reply Delete
İ gave the 415th diamond! Also awesome tutorial but it didnt work on my server... still im sure it works probably i did it work...
Edit Reply Delete
  • Cman5103
  • Level 1
  • New Explorer
  • December 1, 2014, 1:13 pm
hi im making a mini game and i have a few things i want to do with scoreboard, most have been solved with this, but one still remains. Question: is it possible for you to have a command block that outputs a signal (using testfor) to another command block which turrns that player into gamemode:spectator when a player dies 5 times. this has to work with any number of players on a minimum of 2 teams to a maximum of  8 teams
Edit Reply Delete
  • Too_Tiny_Man
  • Level 1
  • New Crafter
  • November 22, 2014, 4:06 pm
This is for a shop system using player kills.
How do I use a testfor command that when a button is pushed, it'll test for a certain number of kills, and if it's ten for example, it will output a redstone current?
Edit Reply Delete
Alright, I had to ask... couldn't find what I was looking for, so how do you show the team scoreboard? I'm super confused!
Edit Reply Delete
  • TheBoo
  • Level 68
  • High Grandmaster Modder
  • November 7, 2014, 7:52 am
It shows up when it has changed for the first time, for example you get a kill.
Edit Reply Delete
  • MineMasterHD
  • Level 16
  • Journeyman Geek
  • November 5, 2014, 1:43 pm
How do you add something that makes it so that if a player is on BlueTeam it shows BlueTeam above their name?
Edit Reply Delete
This cannot be done using /scoreboard objectives setdisplay belowname (name) because it focuses on showing the score. If you want to show that they are on blue team, you can do /scoreboard teams add Blue and then /scoreboard teams option Blue color blue . Or you can install NBTExplorer and make the players on the blue team say [Blue] , but if you need the color, oh well, here is list of the colors -
§a - Green
§b - Light blue
§c - Red
§6 - Yellow
§e - Dark Yellow
If you need to know how to do that, go watch dragnoz's video -
https://www.youtube.com/watch?v=aaN_VokszzI
Edit Reply Delete
  • RSpudieD
  • Level 5
  • Apprentice Architect
  • October 18, 2014, 5:51 pm
thank you!
Edit Reply Delete
  • ToDaMaxBro
  • Level 2
  • Apprentice Miner
  • August 29, 2014, 7:45 am
it didnt work for me
Edit Reply Delete
  • ToDaMaxBro
  • Level 2
  • Apprentice Miner
  • August 29, 2014, 7:49 am
nnever mind i just didnt kill anything yet. It worked.
Edit Reply Delete
  • Krutonius
  • Level 1
  • New Miner
  • August 14, 2014, 7:08 am
If I enter these commands in as server op do the scoreboards show for everyone on the server?
Edit Reply Delete
  • TheBoo
  • Level 68
  • High Grandmaster Modder
  • August 14, 2014, 9:31 am
Yes
Edit Reply Delete
  • CIA7
  • Level 1
  • New Miner
  • August 5, 2014, 12:26 am
I did both commands to set up health above everyones head. Can you tell me the commands again?
Edit Reply Delete
how do you use a friendlyfire on random players to stop them from killing each other within a radius area and start pvping after passing thru the non pvp radius area on a command block.
Edit Reply Delete
i was playing a game with my sis and i accidently gave my self a point is the a way to eraase the point
Edit Reply Delete
  • TheBoo
  • Level 68
  • High Grandmaster Modder
  • July 25, 2014, 1:34 pm
Instead of add, type remove in the command.
Edit Reply Delete
  • Best Feeling
  • Level 14
  • Journeyman Architect
  • July 20, 2014, 6:26 am
wow!!! nice XD
Edit Reply Delete
  • PltniumDrgon
  • Level 45
  • Master Giraffe
  • July 18, 2014, 12:58 pm
I love this tutuorial, I come back again and again
Edit Reply Delete
how do you give everyone on one team a certain amount of points (without typing everyones name in a command block) (i.e. everyone on team Blue gets 10 points)
Edit Reply Delete
  • Migupoika
  • Level 11
  • Journeyman Toast
  • July 13, 2014, 12:09 pm
Thanks! It was super helpful :)
Edit Reply Delete
  • PMabbz
  • Level 1
  • New Miner
  • June 27, 2014, 3:40 pm
Hi. I want to set a server scoreboard in which each player kill adds a point and each death from a player removes a point. How do I do that please help
Edit Reply Delete
  • TheBoo
  • Level 68
  • High Grandmaster Modder
  • June 28, 2014, 11:08 am
You have to do some kind of contraption with command block. I've written a tutorial that's taken me ours of my time, it's time for you to figure it out by yourself, I cannot do everything for you.
Edit Reply Delete
im really lazy, how do i reset a scoreboard?
Edit Reply Delete
  • DeJay
  • Level 8
  • Apprentice Modder
  • June 25, 2014, 3:39 pm
/scoreboard players reset
Edit Reply Delete
This was really helpful in making the scoreboard on a server that I'm working on, but is it possible to make personal scoreboards for each player that comes on? 'Cause when I add points to other players, everyone can see it then.
Edit Reply Delete
  • TheBoo
  • Level 68
  • High Grandmaster Modder
  • June 12, 2014, 11:10 pm
Thank you! Not possible if I've undestood everything right, sorry.
Edit Reply Delete
  • Jnaejnae
  • Level 72
  • Legendary Artist
  • June 7, 2014, 4:10 pm
Im making a minigame and I would like to know the format for a "testfor" that once I get 10 kills the comparator sends a signal.
Edit Reply Delete
  • Jnaejnae
  • Level 72
  • Legendary Artist
  • June 7, 2014, 4:11 pm
nvm mind I figured that part out. Thanks for the help with the other commands though :)
Edit Reply Delete

1 - 50 of 310

Show Comments