1
Removed
Create an account or sign in to comment.
5
1
Thank you, Greystalk and Bertiecrafter for your help. I managed to fix the problem with your help, and partially on my own.
Just in case someone wants to know: in the moment when I needed 2 objectives shown at once, I used clock with 2 commands: /scoreboard objectives setdisplay sidebar Deaths and /scoreboard objectives setdisplay sidebar Kills, so it was switching between them. I also had to remove all comand blocks with "/scoreboard players reset @p" command", because it reset every score in every objective. For timer I used "list" instead of "sidebar".
Again, thanks for help. Topic can be locked now.
Just in case someone wants to know: in the moment when I needed 2 objectives shown at once, I used clock with 2 commands: /scoreboard objectives setdisplay sidebar Deaths and /scoreboard objectives setdisplay sidebar Kills, so it was switching between them. I also had to remove all comand blocks with "/scoreboard players reset @p" command", because it reset every score in every objective. For timer I used "list" instead of "sidebar".
Again, thanks for help. Topic can be locked now.
1
I think you misunderstand the entire idea of a scoreboard...
The objectives are always there... you can't enable/disable them. They always work and will always keep track of scores. However, you can hide/show them.
./scoreboard objectives setdisplay sidebar[.team.color] objective
./scoreboard objectives setdisplay list objective (when you press tab)
./scoreboard objectives setdisplay belowName objective
You can use command blocks to switch up what's displayed, WITHOUT being scared of losing everything that you got tracked....
E.G /scoreboard objectives add test dummy
/scoreboard objectives setdisplay sidebar test
/scoreboard objectives setdisplay sidebar (hiding the sidebar)
/scoreboard objectives setdisplay sidebar test
WILL NOT clear the test objective.
Besides using all 3 locations to display scores, there is also a way to display it in chat.
Just put a /tellraw command in a fast repeating command block.
/tellraw @a {"text":"\n\n\n\n\n\n\nScore: ","extra":[{"score":{"objective":"test","name":"*"}}]}
- Use enough /n at the start to hide away the previous message. (Fill the entire chat box)
- the "extra" tag is used to indicate a new format, instead of plain text.
- test is the objective that you need to change
- * means current player (that gets the text)
This means that while you get "Score: 10", another person could get "Score: 5". It's player specific.
You could always read some of my blogs to get more info on tags, selectors and arguments as well as /telrraw.
Also, there is a wiki page with a tree structure of all the tags: http://minecraft.gamepedia.com/Commands#Raw_JSON_Text
Good luck!
The objectives are always there... you can't enable/disable them. They always work and will always keep track of scores. However, you can hide/show them.
./scoreboard objectives setdisplay sidebar[.team.color] objective
./scoreboard objectives setdisplay list objective (when you press tab)
./scoreboard objectives setdisplay belowName objective
You can use command blocks to switch up what's displayed, WITHOUT being scared of losing everything that you got tracked....
E.G /scoreboard objectives add test dummy
/scoreboard objectives setdisplay sidebar test
/scoreboard objectives setdisplay sidebar (hiding the sidebar)
/scoreboard objectives setdisplay sidebar test
WILL NOT clear the test objective.
Besides using all 3 locations to display scores, there is also a way to display it in chat.
Just put a /tellraw command in a fast repeating command block.
/tellraw @a {"text":"\n\n\n\n\n\n\nScore: ","extra":[{"score":{"objective":"test","name":"*"}}]}
- Use enough /n at the start to hide away the previous message. (Fill the entire chat box)
- the "extra" tag is used to indicate a new format, instead of plain text.
- test is the objective that you need to change
- * means current player (that gets the text)
This means that while you get "Score: 10", another person could get "Score: 5". It's player specific.
You could always read some of my blogs to get more info on tags, selectors and arguments as well as /telrraw.
Also, there is a wiki page with a tree structure of all the tags: http://minecraft.gamepedia.com/Commands#Raw_JSON_Text
Good luck!
1
If you do
/scoreboard objectives setdisplay list
for the zombies. It will show the zombie death count when the player presses tab. That's the only solution I can think of.
/scoreboard objectives setdisplay list
for the zombies. It will show the zombie death count when the player presses tab. That's the only solution I can think of.
1
Tbh, I don't know how. Pls tell me which part you don't understand, and I'll explain it.
1
Can yu make this a little simpler to read? Scoreboard ia a pretty easy command to use.