The bug
I had my game set to Commands Only, and I died while I was in a mineshaft. Well, chat messages started showing after I left the death screen. I could see other players chats after I hit respawn, but it stopped for a second.
How to reproduce
Set chat to "Commands Only" in chat settings
Enter the following command into a powered repeating command block:
execute as @p run say Test
→ ✔ No messages appear in chat
Ensure your spawnpoint is nearby:
/spawnpoint
Die and respawn
→ ❌ Chat messages are now visible
Linked issues
relates to 1
Comments 7
Ticket resolved as incomplete, because no answer in a reasonable amount of time (1+ year), if it still happens, please update the ticket.
Sorry, it has been ages since I submitted this ticket or really was involved in the minecraft bug tracker. This was submitted on my old account.
Anyways, I'd like to try to test this, but so far "Commands Only" on my regular multiplayer server just shows all the chat regardless of whether it's a command or not, and I'm not sure how I'd go about helping to test this. Maybe it's because of the way the server handles chat messages, or it could actually be a bug....
Confirmed in 1.16 Pre-release 2. Steps to reproduce:
Set chat to "Commands Only" in chat settings
Run the following command:
/setblock ~ ~ ~ repeating_command_block{Command:'execute as @p run say Test',auto:1}
→ ✔ No messages appear in chat
Die and respawn
→ ❌ Chat messages are now visible
Is this still an issue in the current Minecraft Snapshot 15w46a or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.