[GH-ISSUE #1376] [chat] Hidden and Commands Only settings still allow ordinary chat #400

Closed
opened 2026-11-02 15:38:48 +07:00 by bsakaguchi · 1 comment
Owner

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

Tested both explicit singleplayer modes at 83fa14e51b89eab728b8e233e9e5d95296bef93d on Linux/Vulkan.

Reproduce:

  1. Set Chat to Commands Only in Chat Settings, return to gameplay, press T and send a normal message.
  2. Set Chat to Hidden and repeat; also run /tellraw @s "SYSTEM" before returning to gameplay.

Expected: Commands Only excludes ordinary chat. Hidden excludes ordinary chat and server chat messages. Native 26.3 checks these visibility levels before delivering chat/system messages.

Actual: T opens chat and the ordinary message is sent and displayed at both settings. Hidden also continues displaying the system message and previous chat.

Evidence: two fresh pairs, .local/singleplayer-audit/chat-{c,d}/visibility-*, visibility-2.png and result.json. The selected numeric options 0/1/2 are recorded after application. The first chat-b attempt used invalid textual option values and is excluded.

Hypothesis: visibility is saved but not applied to local chat; threaded client information also does not carry the selected setting.

Acceptance: each visibility setting controls permitted sending and visible message types, including changes during an open world, in both modes.

Originally created by @rdbtCVS on GitHub (Oct 23, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1376 Tested both explicit singleplayer modes at `83fa14e51b89eab728b8e233e9e5d95296bef93d` on Linux/Vulkan. Reproduce: 1. Set Chat to Commands Only in Chat Settings, return to gameplay, press T and send a normal message. 2. Set Chat to Hidden and repeat; also run `/tellraw @s "SYSTEM"` before returning to gameplay. Expected: Commands Only excludes ordinary chat. Hidden excludes ordinary chat and server chat messages. Native 26.3 checks these visibility levels before delivering chat/system messages. Actual: T opens chat and the ordinary message is sent and displayed at both settings. Hidden also continues displaying the system message and previous chat. Evidence: two fresh pairs, `.local/singleplayer-audit/chat-{c,d}/visibility-*`, `visibility-2.png` and `result.json`. The selected numeric options 0/1/2 are recorded after application. The first chat-b attempt used invalid textual option values and is excluded. Hypothesis: visibility is saved but not applied to local chat; threaded client information also does not carry the selected setting. Acceptance: each visibility setting controls permitted sending and visible message types, including changes during an open world, in both modes.
Author
Owner

@levzzz5154 commented on GitHub (Oct 25, 2026):

🤖 Agent: Opened https://github.com/ludovic111/horizon/pull/1932 — the Chat option now reaches ChatAbilities: Hidden and Commands Only stop sending and hide what they say they hide, in single player, on a LAN host and on a server (the visibility is sent in ClientInformation).

<!-- gh-comment-id:6403706239 --> @levzzz5154 commented on GitHub (Oct 25, 2026): 🤖 Agent: Opened https://github.com/ludovic111/horizon/pull/1932 — the Chat option now reaches `ChatAbilities`: Hidden and Commands Only stop sending and hide what they say they hide, in single player, on a LAN host and on a server (the visibility is sent in `ClientInformation`).
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#400
No description provided.