-
Bug
-
Resolution: Unresolved
-
None
-
23w46a, 1.21.1, 24w35a, 24w36a
-
None
-
Confirmed
-
Commands
-
Low
-
Platform
Hidden fake players (ones preceded by a #) never show on the sidebar, this is by design, however they can be given a display name or number format even though it doesn't show.
Steps to reproduce
- /scoreboard objectives add test dummy
- /scoreboard objectives setdisplay sidebar test
- /scoreboard players set @s test 1
- /scoreboard players set #test test 2
- Notice how the fake player is not displayed
- /scoreboard players display name #test test "Test"
- Notice how the command succeeds but still no fake player displayed in the sidebar
Expected behavior
Either one of the following:
- The display name/number format overrides the "don't display" property of the fake player, displaying it in the sidebar
- The command will display an error along the lines of "Hidden player scores cannot be given display values"
The first one would be useful for debugging purposes, so see what's going in with a hidden score, while the second one would communicate the current (probably intended) behavior of hidden scores properly