Updated:
Broadcast command block output game rule (command_block_output)
The "Broadcast command block output" rule is called command_block_output in Java 1.21.11 and later, and commandBlockOutput in 1.21.10 and earlier. Controls whether command block results are shown in chat.
Basic data
| Name | Broadcast command block output |
|---|---|
| Rule name (Java 1.21.11+) | command_block_output |
| Old name (Java 1.21.10 and earlier) | commandBlockOutput |
| Bedrock name | commandblockoutput |
| Value type | true / false |
| Default | true |
Commands you can copy
Turn off (false)
/gamerule command_block_output falseReset to the default (true)
/gamerule command_block_output trueCheck the current value
/gamerule command_block_outputJava 1.21.10 and earlier
/gamerule commandBlockOutput falseBedrock Edition
/gamerule commandblockoutput falseNotes
- Java 1.21.11 renamed game rules to lower case with underscores. If an older command or a map description uses the old name, rewrite it for your version.
- Game rules are saved per world. On a server, a new world starts with the default values again.
Questions
Typing commandBlockOutput gives an error
In Java 1.21.11 and later the rule is called command_block_output. Write /gamerule command_block_output … instead. Worlds on 1.21.10 and earlier keep the old name.
How do I check the current value?
Run /gamerule command_block_output without a value. The current value is shown in chat.