[GH-ISSUE #1373] [server-thread] Commands echo their own admin feedback back to the player #397

Closed
opened 2026-11-02 15:38:47 +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/1373

Tested 83fa14e51b89eab728b8e233e9e5d95296bef93d in disposable singleplayer worlds, Linux/Vulkan.

Reproduce with --server-thread, commands enabled and send_command_feedback=true:

  1. Open chat and submit /give @s diamond.
  2. Wait a few seconds.

Expected: one Gave 1 [Diamond] to Player success message, plus any advancement announcement. The command issuer should not also receive the operator broadcast of their own command.

Actual: chat also contains [Player: Gave 1 [Diamond] to Player]. /give @s cobblestone 2 and game-mode changes show the same duplicate feedback. No other players or LAN connection are involved.

Evidence: two fresh pairs, .local/singleplayer-audit/chat-{a,b}/feedback-* and feedback-rules-*; chat-b explicitly uses Player in both modes. Old mode has one success line; native 26.3 wire capture also has one. The extra line remains after 60 ticks. Disabling feedback suppresses it.

Hypothesis: integrated commands leave admin feedback queued, then the later broadcast no longer excludes their source connection.

Acceptance: the issuer receives their direct success once; broadcasts to other operators still work.

Originally created by @rdbtCVS on GitHub (Oct 23, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1373 Tested `83fa14e51b89eab728b8e233e9e5d95296bef93d` in disposable singleplayer worlds, Linux/Vulkan. Reproduce with `--server-thread`, commands enabled and `send_command_feedback=true`: 1. Open chat and submit `/give @s diamond`. 2. Wait a few seconds. Expected: one `Gave 1 [Diamond] to Player` success message, plus any advancement announcement. The command issuer should not also receive the operator broadcast of their own command. Actual: chat also contains `[Player: Gave 1 [Diamond] to Player]`. `/give @s cobblestone 2` and game-mode changes show the same duplicate feedback. No other players or LAN connection are involved. Evidence: two fresh pairs, `.local/singleplayer-audit/chat-{a,b}/feedback-*` and `feedback-rules-*`; chat-b explicitly uses Player in both modes. Old mode has one success line; native 26.3 wire capture also has one. The extra line remains after 60 ticks. Disabling feedback suppresses it. Hypothesis: integrated commands leave admin feedback queued, then the later broadcast no longer excludes their source connection. Acceptance: the issuer receives their direct success once; broadcasts to other operators still work.
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#397
No description provided.