[GH-ISSUE #1406] Threaded singleplayer never displays a command-created scoreboard sidebar #432

Closed
opened 2026-11-02 15:39:01 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @rdbtCVS on GitHub (Oct 23, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1406

Tested 83fa14e51b89eab728b8e233e9e5d95296bef93d, explicitly comparing --server-thread and --no-server-thread.

Reproduce in a loaded world (tested through horizon-ctl command):

scoreboard objectives add audit dummy {"text":"Audit board","color":"aqua"}
scoreboard players set Alpha audit 7
scoreboard players set Beta audit 3
scoreboard objectives setdisplay sidebar audit

Wait for processing and check the HUD.

Expected: a sidebar containing Alpha 7 and Beta 3, as in old singleplayer.
Actual with --server-thread: no sidebar. scoreboard players get Alpha audit correctly reports 7. Updating Alpha to 12 and resetting Beta, switching to the player's red-team sidebar, respawning and reopening the saved world also leave the threaded display absent; the saved score remains correct.

Evidence: fresh pairs score-{a,b}/sidebar-* under .local/singleplayer-audit/, with initial/update/team/respawn/reopen screenshots and command traces; driver tools/singleplayer_score_audit.py. The initial setup above already triggers the bug; death/team/save steps are persistence controls. The first old death control clicked Respawn too early; the corrected repeat waits 60 ticks.

Hypothesis: remote scoreboard packet handlers exist, but the integrated server does not send its scoreboard state/updates.

Acceptance: the sidebar appears and reflects score changes/removal in threaded mode, including after respawn and world reopen. This is distinct from the remote-server legacy-format rendering issue #937.

Originally created by @rdbtCVS on GitHub (Oct 23, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1406 Tested `83fa14e51b89eab728b8e233e9e5d95296bef93d`, explicitly comparing `--server-thread` and `--no-server-thread`. Reproduce in a loaded world (tested through `horizon-ctl command`): ``` scoreboard objectives add audit dummy {"text":"Audit board","color":"aqua"} scoreboard players set Alpha audit 7 scoreboard players set Beta audit 3 scoreboard objectives setdisplay sidebar audit ``` Wait for processing and check the HUD. Expected: a sidebar containing Alpha 7 and Beta 3, as in old singleplayer. Actual with `--server-thread`: no sidebar. `scoreboard players get Alpha audit` correctly reports 7. Updating Alpha to 12 and resetting Beta, switching to the player's red-team sidebar, respawning and reopening the saved world also leave the threaded display absent; the saved score remains correct. Evidence: fresh pairs `score-{a,b}/sidebar-*` under `.local/singleplayer-audit/`, with initial/update/team/respawn/reopen screenshots and command traces; driver `tools/singleplayer_score_audit.py`. The initial setup above already triggers the bug; death/team/save steps are persistence controls. The first old death control clicked Respawn too early; the corrected repeat waits 60 ticks. Hypothesis: remote scoreboard packet handlers exist, but the integrated server does not send its scoreboard state/updates. Acceptance: the sidebar appears and reflects score changes/removal in threaded mode, including after respawn and world reopen. This is distinct from the remote-server legacy-format rendering issue #937.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#432
No description provided.