Using the scoreboard 1.8

Enjoy reading!

  • 6,338
    Views, 75 today
  • 14 Favorites
  • Flag / Report

Get Embed Code

Level 40 : Master Pony
This blog is part of my new tutorial collection, which shows you interesting stuff and basics about redstone, the scoreboard, command blocks and much more!

The scoreboard gives you options, you never had before.
If you are reading this blog, I guess you don't make use of it, cause it's too complicated for you.
But that's no problem.
Using the scoreboard can be easier than you might think.

/scoreboard objectives
/scoreboard objectives list
Using this command allows you to see a detailed list of all objectives you added to the world.
/scoreboard objectives list

/scoreboard objectives add/remove
This command allows you to add objectives or to remove them.
When you are creating an objective, you'll have to add a criteriaType.
You can choose between 5 different types.
You can only remove objectives that already exist. The internal name is always the name used in operations and more, while the display name only appears on lists and more.
Objective types
dummy: If somebody has an objective value/score with a criteria type named dummy, he won't be able to change the value by hand. The only way to change the value then, is to use a /scoreboard players command.
health: This type reflects your hearts. If you have 10 hearts, the score is 20.
totalKillCount: You get 1 point for killing any player, mob or animal.
playerKillCount: You get 1 point for killing any player.
deathCount: You get 1 point for each respawn.
achievement.(internal achievement name): Checks if you have earned a cercaint achievement
stat.(internal stat name): Tests for several actions like walking, being hit, falling and much more
stat.craftItem.(Item ID): Tests for crafting a cercaint item or block
stat.useItem.(Item ID): Tests for using an item (placing blocks, throwing eggs...)
stat.breakItem.(Item ID): Tests for breaking an Item (Mining with tools)
stat.mineBlock.(Block ID): Tests for amount of one type of blocks mined
stat.killedEntity.(Mob ID): Tests for amount of one type of mobs killed by the player
stat.entityKilledBy.(Mob ID): Tests how often the player was killed by one type of entities
stat.teamkill.(team color): Checks how many team members with a cercaint team color were killed by the player
stat.killedByTeam.(team color): Checks how often the player was killed by team members with a cercaint team color
You can add a custom name for your brand new objective too.
/scoreboard objectives add (internal objective name) (objective type) [display objective name]
/scoreboard objectives remove (internal objective name)

/scoreboard objectives setdisplay
People want to see their score, money, values or other people's hearts.
If you want to add this function, you can choose between three different display slots.
Remember that you can only put existing objectives into a setdisplay mode.
Display Slots
sidebar: Your score will be displayed at the right side of the screen.
Scores of players who aren't online get displayed too, so you can use this as a highscore list.
sidebar.team.(team color): The sidebar is only visible to players that are member of a team with a cercaint team color
belowname: If you are in a distance of 20 blocks to an other player, you will be able to see his score below the player name.
list: Press tab and the score will be displayed next to the name of a player.
If you don't add a name after the display slot, the slot will get cleared.
/scoreboard objectives setdisplay (display slot) [internal objective name]

/scoreboard players
/scoreboard players add/remove/set
This is the most essential command for interacting with player scores.
By using it you are able to modify a players score.
You can even add scores to nonexistent players, so they just exist for counting or multiplying scores etc.
Player names that are not supposed to appear in the sidebar or other listings, have to start with a ''#''.
/scoreboard players remove (player) (internal objective name) (amount)
/scoreboard players add (player) (internal objective name) (amount)
/scoreboard players set (player) (internal objective name) (amount)
/scoreboard players set #(player) (internal objective name) (amount)

/scoreboard players reset
By using this command, you can reset all scores a player reached or reset one objective score a player reached.
''*'' is a new 1.8 selector which targets everyone tracked by the scoreboard.
Using it will reset everyone's score, even if they are not online, which is helpful when your sidebar is spammed with
player scores that are not even online and you don't want that.
/scoreboard players reset (player) [internal objective name]
/scoreboard players reset *

/scoreboard players list
Use this command to see the scores of different players or to see all players tracked by the scoreboard.
Without using a name, you can list all players tracked by the scoreboard.
By adding a name you can see all scores somebody has.
''*'' is a new 1.8 selector which targets everyone tracked by the scoreboard.
By using it as a player in this command you get every score of everyone tracked.
/scoreboard players list [player]
/scoreboard players list *

/scoreboard players test
Tests if a player has a score in a cercaint objective that's between a minimum score and an optional maximum score.
The command is much easier to use than the old /testfor way of testing.
/scoreboard players test (player) (internal objective name) (min player score) [max player score]

/scoreboard players operation
That command is actually working like a calculator and helps you adding scores to each other, multiplying scores and much more.
The player you are calculating with, doesn't even has to be online, so you can use ''ghost'' players aswell.
Operation types
+= Adds the source player's source score to the target player's target score
-= Removes the source player's source score from the target player's target score
*= Multiplies the source player's source score with the target player's target score
/= Divides the target player's target score through the source player's source score
/scoreboard players operation (target player) (internal target objective name) (operation type)
(source player) (internal source objective name)

The command is the most complicated part of the scoreboard, so I will explain you it a bit further.
The target player is always the player who's score will get changed in the end.
The target objective is the objective that is going to be affected by the operation.
The operation type defines how source player and target player interact in the operation.
The source player is the player who's score is added, removed etc. from/to/with the target player's score.
The source objective selects the objective that the source player is adding/removing etc. from/to/with the target player.
SethBling's coolness: 100 | Minecraft's redstone: 50
/scoreboard players operation SethBling coolness += Minecraft redstone
In this example Minecraft's 50 redstone would be added to SethBling's 100 coolness, which would mean that SethBling's coolness score is now 150.

/scoreboard teams
/scoreboard teams list
Use it to list all teams you created without adding a team name or check which players are in a cercaint team.
/scoreboard teams list [internal team name]

/scoreboard teams add/remove
Create or remove teams.
When you are creating a team you can type the system name first and then add a display name.
/scoreboard teams add (internal team name) [display team name]
/scoreboard teams remove (internal team name)

/scoreboard teams join/leave
You can join/leave a team, you created or let other people join/leave the team. If you use the command without a player, you will get selected as the person to join/leave the team.
/scoreboard teams join (internal team name) [player]
/scoreboard teams leave [player]

/scoreboard teams option
Use this command to customize a team.
There are several things you can change in a team, that affect it's appeareance or  the interaction between the players within a team.
color: Select a display color for your team. The nametags of players will change their color to the team color you selected. Choose between "black", "dark_blue", "dark_green", "dark_aqua", "dark_red", "dark_purple", "gold", "gray", "dark_gray", "blue", "green", "aqua", "red", "light_purple", "yellow", and "white".
friendlyfire: Tells if players in one team can attack each other. The option does not effect lava, potions, tnt, or other indirect attack sources. Choose between ''true and ''false''.
seeFriendlyInvisibles: Allows you to see a transparent player model of your team members, while they are invisible. Choose between ''true'' and ''false''.
nametagVisibility: Affects which people are able too see you team's nametag.
Choose between:
''never'': No one see's your nametag
''hideForOtherTeams'': Other teams can't see your nametag
''hideForOwnTeam'': Your own team can't see your nametag.
''always'': Everyone can see your nametag.
/scoreboard teams option (internal tam name) (option) (value)

Player selection
If you want to interact with command blocks, you can add some scoreboard based arguments.
As you know, you can use @p @a and @r to select different players.
You can add special arguments to this players-selections.
In 1.8 you are able to select all entities using @e.
Will select all people who have a minimum score of 100 and a maximum score of 100.
Will select a random player, who is member of team red
Will select the nearest player, who is member of no team.

Read the wiki article about Command Blocks, if you want to find out all about arguments.


If you want to read more nice tutorials:

Tags:Tutorial, How To, Scoreboard, Commands, Cheats, Command Blocks, Score, Display, Players, Minecraft, Objectives, Teams, PVP

More Blogs by HeadaxeView All

Posted 2013-03-04 07:23:45
by Headaxe
Posted 2013-05-29 09:44:01
by Headaxe

Smaller Improvements and Fixes : 02/24/2014 5:34:40 am2/24/14

+Edited some command descriptions
+Fixed some grammar
+Fixed /teams option mistakes --> ''(option)'' and ''(player)'' switched
                                                         --> description of teams option nametagVisibility was false

Layout Fix : 02/19/2014 12:42:52 pm2/19/14

+Fixed all removed spoiler titles, colors and much more problems that occured in the new PMC text version.

Up-To-Date Update : 02/18/2014 10:17:03 pm2/18/14

+adding the 1.8 features one after another and giving the whole blog a new look

Reboot : 02/18/2014 9:34:22 pm2/18/14

+Fixed the formatting errors after a PMC update
+''Examples'' are now general command instructions
+Edited a few text parts

Optical Update : 06/22/2013 5:03:09 am6/22/13

+Fixed some grammar
+Edited the Highlight color of some things
+Changed the font size of the Headers

Smaller Improvements : 06/21/2013 12:07:53 pm6/21/13

+Fixed the bad spelling of scoreboard...ON THE COVER!
+Fixed some grammar
+Added some details about the new tutorial collection.

Comments :

Join us to post comments.

1 - 22 of 22

Level 27
Expert Electrician
August 27, 2014, 3:20 am

question! what about entities? I heard that Entities can have scoreboards too

Level 40
Master Pony
August 27, 2014, 4:20 am

You can assign scoreboard values to entities using
/scoreboard players set @e[type=Creeper] score 1
for example.

They basically act exactly like a normal player in the scoreboard.

Level 30
Artisan Grump
August 4, 2014, 10:25 am

I'm pretty sure this has so many views and so few diamonds because anybody without an account can google "how to use scoreboard 1.8" and this will pop up pretty near to the top.  It happened with one of my blogs too.

Level 40
Master Pony
August 4, 2014, 10:47 am

That might be true.
Well, still a good xp-farm.
Holy crap, my blog is actually 1st place on google! 

Level 30
Artisan Grump
August 4, 2014, 11:20 am

Level 30
Artisan Grump
August 4, 2014, 11:14 am

Yeah, man.  It's great.

Level 40
Master Pony
August 4, 2014, 11:22 am

Still not 1st place ;D

Level 30
Artisan Grump
August 4, 2014, 11:41 am

Hard to beat the wiki, lol.

Level 40
Master Pony
August 4, 2014, 11:48 am

Well, I did beat the wiki....with higher quality and information...and ease to use.

Level 30
Artisan Grump
August 4, 2014, 12:02 pm

The wiki didn't have a specific page dedicated towards only the scoreboard though, lol.

Level 40
Master Pony
August 4, 2014, 12:05 pm

Yes, it has actually.
There is a list, just like mine, with all commands n' stuff, but of course it is not as good as mine... ;D

Level 31
Artisan Mage
May 16, 2014, 5:43 pm

man this is so useful. I was so confused with /scoreboard players operation...

Level 13
Journeyman Engineer
March 11, 2014, 5:16 am

I'm doing some stuff with the scoreboard objective "stat.mineBlock.stained_glass" but I don't know how to set the color of the stained glass. Do you know how I can do this? Would be nice :)

Level 40
Master Pony
March 11, 2014, 7:25 am

I'm sorry, but it is not possible to specify the damage value in this case.

Level 6
Apprentice Engineer
March 4, 2014, 6:17 am

Omg Thnx Diamond For You!

Level 16
Journeyman Dragonborn
March 4, 2014, 5:55 am

Looks good

Level 11
Journeyman Dragon
July 14, 2013, 9:51 am

Thx for helping me make my pvp map!

Level 40
Master Pony
July 14, 2013, 11:39 am

No problem ;)

Level 11
Journeyman Dragon
July 14, 2013, 12:02 pm

Oh btw, your english wasn't that bad.

Level 27
Expert Network
June 21, 2013, 2:58 pm

Nice blog. Keep up the awesome work!

Level 40
Master Pony
June 21, 2013, 3:01 pm

Thanks dude.
I am already working on a new tutorial called ''Advanced Scoreboard''.
So keep an eye on me if you don't want to miss it :D

Level 27
Expert Network
June 21, 2013, 3:03 pm

Awesome. Your tutorials are really helpful!

1 - 22 of 22