504

How to make scoreboards - A Minecraft Tutorial!

Collectable

Get Embed Codes

Forum:
HTML:
Link:
avatar
TheBoo
Level 69 : High Grandmaster Modder
804
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 : 323

Join us to post comments.

Show Comments

1 - 50 of 323

  • Izzy_NL
  • Level 1
  • New Network
  • March 18, 2017, 7:07 am
Helped :)
Your a lifesaver TheBoo
  • kingraf8
  • Level 1
  • New Explorer
  • December 7, 2016, 8:24 am
nvm it works now:D
  • kingraf8
  • Level 1
  • New Explorer
  • December 7, 2016, 8:19 am
i cant do anything
how do you add scoreboard
i just cant do anything it wont work
  • LydiaKirk
  • Level 1
  • New Explorer
  • October 8, 2016, 11:55 am
Really helped on my vanilla SMP. Thanks so much!! I'm giving you a diamond. :-)
  • EricZeBaws
  • Level 1
  • New Explorer
  • September 28, 2016, 3:23 pm
How do I make it so It will only show top 10 most kills
  • JaxBen98
  • Level 1
  • New Miner
  • September 25, 2016, 5:00 am
I did the command for the scoreboard on the side of the screen, and nothing happened
  • Aliemma
  • Level 1
  • New Explorer
  • September 6, 2016, 2:57 pm
Thank you! I'm using this on my map to let players set their pronouns. +1 diamond.
Helped on my realm +1 Diamond
Thanks so much! This really helped :D
ugh im looking for a way to make the scoreboard show up it is kinda not showing up for me :(
If you kill mobs then it should show up on the side
  • DerpyPonyHD
  • Level 2
  • Apprentice Network
  • August 28, 2016, 5:42 pm
Kill Some Mobs
  • benbenboyo
  • Level 2
  • Apprentice Artist
  • July 3, 2016, 8:33 pm
This is awesome! Thanks!
Thanks for making this, I'm trying to make a map and this helped a lot :)
I don't know how to delete the score board. I really want to, but I can't.
you should be able to do /scoreboard players reset (Username)
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.
  • Foxtails13
  • Level 12
  • Journeyman 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?
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
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 :(
  • 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
THIS WAS SERIOUSLY HELPFUL! THANK YOU SOOOO MUCH! :D
  • lord_pigg
  • Level 1
  • New Miner
  • January 17, 2016, 1:11 am
how do i reset the playerKilCount score after every match?
  • lord_pigg
  • Level 1
  • New Miner
  • January 17, 2016, 1:16 am
or after they are killed themselfes
  • KenniverTales
  • Level 17
  • Journeyman Button Pusher
  • 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!
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 :)
  • KenniverTales
  • Level 17
  • Journeyman Button Pusher
  • December 23, 2015, 8:12 am
Okay That May Help A Little Thanks
  • EnderShot355
  • Level 7
  • Apprentice Miner
  • November 16, 2015, 3:45 am
Thanks. This REALLY helped with my map.
ILLUMNTI CONIRME!
  • 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!
Top left, next to the title, hit the gray diamond and it will turn blue and the number will go up, meaning you diamond it.
Ty so much!  this will be great for my map!
Thx
+1 Diamond
444th Diamond ILLUMINATI CONFIRMED!!!
  • Techno-5
  • Level 9
  • Apprentice Pokemon
  • 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!
  • Galaxy_Hero
  • Level 6
  • Apprentice Engineer
  • June 30, 2015, 5:45 pm
Very helpful! Thank you!
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
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>
  • 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.
  • EnderShot355
  • Level 7
  • Apprentice Miner
  • November 16, 2015, 3:46 am
I believe those are the plug ins working.
  • ImTrash
  • Level 1
  • New Network
  • February 26, 2015, 9:43 am
thats so cool o mai gawdddd
  • TheBoo
  • Level 69
  • High Grandmaster Modder
  • February 26, 2015, 12:26 pm
op pl0x nerf
  • J4ckieChan23
  • Level 18
  • Journeyman Ninja
  • February 23, 2015, 2:54 am
How dy'a make a thing which shows Kills - Deaths
  • nauaf101
  • Level 12
  • 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
  • TheBoo
  • Level 69
  • 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.
  • nauaf101
  • Level 12
  • 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 ;)
  • J4ckieChan23
  • Level 18
  • Journeyman Ninja
  • February 14, 2015, 12:35 pm
Can ya send me commands to make staff ranks :D
  • TheBoo
  • Level 69
  • 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.
  • 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
  • TheBoo
  • Level 69
  • 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.
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!
I've tried that but it doesn't work D: 
I don't even know if it's possible
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!
  • LukaG4mer
  • Level 20
  • Expert Taco
  • December 31, 2014, 1:26 am
You are my friend

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

     +1 Diamond
İ gave the 415th diamond! Also awesome tutorial but it didnt work on my server... still im sure it works probably i did it work...
  • 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
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?
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!
  • TheBoo
  • Level 69
  • 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.
  • 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?
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
  • RSpudieD
  • Level 6
  • Apprentice Architect
  • October 18, 2014, 5:51 pm
thank you!
  • ToDaMaxBro
  • Level 2
  • Apprentice Miner
  • August 29, 2014, 7:45 am
it didnt work for me
  • ToDaMaxBro
  • Level 2
  • Apprentice Miner
  • August 29, 2014, 7:49 am
nnever mind i just didnt kill anything yet. It worked.
  • 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?
  • TheBoo
  • Level 69
  • High Grandmaster Modder
  • August 14, 2014, 9:31 am
Yes
  • 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?
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.
i was playing a game with my sis and i accidently gave my self a point is the a way to eraase the point
  • TheBoo
  • Level 69
  • High Grandmaster Modder
  • July 25, 2014, 1:34 pm
Instead of add, type remove in the command.
  • Best Feeling
  • Level 16
  • Journeyman Architect
  • July 20, 2014, 6:26 am
wow!!! nice XD
I love this tutuorial, I come back again and again

1 - 50 of 323

Show Comments