I've got a scoreboard displayed on the sidebar and when I do /scoreboard players set * score 0 every logged player appeard on the scoreboard even though the score for some players for that objective has never been set before.
Resetting and setting the score to 0 for * fixes it although after relogging all scores appear again (Singleplayer).
It only appears when changing from another displayed scoreboard to the one you want OR when you set an scoreboard to sidebar when sidebar is cleared. https://www.youtube.com/watch?v=oz-gmsrjKA4
I could use # in front of offline players to hide them althouh players that have been online before but aren't online currently will still be displayed.
Comments 4
I do ./execute @r[team=red] ~ ~ ~ scoreboard players set RedTeam: wins 1 and after that ./scoreboard players set * wins 0 so resetting the score is useless :/
@unknown wrote
Use "/scoreboard players reset * score" instead of "/scoreboard players set * score 0" to remove scores from the players.
Ok here is what i am doing: I have a scoreboard objective -> I set that scoreboard objective to sidebar which displays how often a team won - first round there are no wins (obviously) but i still want to indicate which teams are playing so I do -> /execute @r[team=red] ~ ~ ~ scoreboard players set RedTeam: wins 1 to make the player visible on the scoreboard but since i only want to have it visible without any score i set the score of all players ( * ) to 0. That's why reset is not the way to go here. but setting it to 0 makes every player (on/offline) visible on the scoreboard. Running it the second time only displays the wanted players. I hope I made it clear enough now
Use "/scoreboard players reset * score" instead of "/scoreboard players set * score 0" to remove scores from the players.