mojira.dev
MCPE-65746

Command blocks give output for some commands even when output is disabled

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

MCPE-52585 The command "/ gamerule commandblockoutput false" does not work Resolved MCPE-58232 "commandblockoutput" fungera inte, not working Resolved MCPE-61918 Anoying text Resolved MCPE-79594 New gamerule error Resolved MCPE-86926 /gamerule commandblockoutput won't work Resolved

Comments 4

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.

That's not how it works in Java.
sendCommandFeedback = print results when running commands in chat
commandBlockOutput = 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 HistorySnapshot Version HistoryFeature 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

tryashtar

(Unassigned)

410001

Confirmed

Multiple

1.20.10.20 Preview, 1.19.80.21 Preview, 1.17.40.23 Beta, 1.17.40.21 Beta, 1.17.20.20 Beta, ..., 1.17.32, 1.19.10, 1.19.20, 1.19.70, 1.21.60.28 Preview

Retrieved