I am still working on the mini game where you kill the other team's leader, then you win. The problem is with the scoreboard. I added two teams, red and blue. The objective is stat.killEntity.Ozelot, so when you kill an ocelot, you get a point, then you win. The problem is when I add them, the title (white letters) always says blue. Can I set it to says stat? But then I can't add both teams; I can't have two stats.

  • 2
    Please stop adding your username, and please help to all your questions. We already know who you are, and you wouldn't be asking if you didn't need help. – Frank Jun 17 '14 at 23:04

If you want to have 2 separate teams on the scoreboard, create an objective for your scores, I'll use "score" in this example with the command /scoreboard objectives add score dummy Score. Then to test it, do /scoreboard players set Blue score 1, and set the display to sidebar. Then, keep your old objective, and have a clock with command blocks testing for /testfor @a[score_ocelotKill_min=1,team=red] and one for blue, with comparator output to a command block with /scoreboard players add Red score 1` or Blue. It's a bit confusing, but it works.

EDIT: Use 2 command blocks with score_ocelotKill_min=1 and score_wolfKill_min=1 to have an ocelot or wolf. Don't forget to actually setup the scoreboard objectives with /scoreboard objectives add ocelotKill stat.killEntity.Ozelot or /scoreboard objectives add wolfKill stat.killEntity.Wolf

  • its not working but i did delete all my objectives so what am i suppose to have and you can also select wolves so i have to put two sets right – Kingbluesapphire Jun 18 '14 at 2:50
  • 1
    Added edits. Hope it works. If you need to, add a display name as an extra parameter after stat.killEntity.entityName. – RetroCraft Jun 19 '14 at 1:35
  • im kind of getting lost – Kingbluesapphire Jun 19 '14 at 1:51
  • where you put ocelotkill i want to put leader stat but i cant add two words when i use an underscore it shows the underscore in the sidebar – Kingbluesapphire Jun 19 '14 at 1:59
  • Use /scoreboard objectives add leaderstat stat.killEntity.Ozelot Leader Stat – RetroCraft Jun 19 '14 at 12:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.