The bug
Even when the commandBlockOutput
gamerule is disabled, a few commands give output anyway when run from a command block.
Affected commands:
/give
/tp
/gamemode
How to reproduce
1. /gamerule commandBlockOutput false
2. Place a command block with the command /summon cow
3. Power it
→ ✔ No output in chat
4. Change the command to /give @p apple
5. Power it
→ ❌ Output "You have been given Apple * 1" in chat
Workaround
It is possible to suppress these messages by disabling sendCommandFeedback
, but that gamerule disables output when running commands from chat. It should not affect command blocks. The most often desired situation is to hide all command block output, but keep chat output. This is currently not possible because of this bug.
Linked issues
is duplicated by 10
Comments 4
That's not how it works in Java.sendCommandFeedback
= print results when running commands in chatcommandBlockOutput
= print results when running commands in command blocks
Doesn't need any exceptions or complications
In the most stable release at the time of this comment this is still an issue. I have set both sendCommandFeedback and commandBlockOutput to false when I placed the command blocks yesterday and it was fine and then I was on today and noticed that I was getting feedback from my command blocks.
Thank you for your report!
After consideration, the issue is being closed as Working as Intended.
Please note, that mechanics of the game may change between updates.
Things such as graphics, sounds, world creation, biomes, redstone, villagers, and animals may not work the same in current versions.
Full Version History – Snapshot Version History – Feature Requests and Suggestions
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
This works as intended. The "feedback" is the message the player receives telling the player a command was used on them. commandblockoutput controls the output a command block gives. If you want, you can add a suggestion to Minecraft Feedback to add a gamerule for this.