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

NameBroadcast command block output
Rule name (Java 1.21.11+)command_block_output
Old name (Java 1.21.10 and earlier)commandBlockOutput
Bedrock namecommandblockoutput
Value typetrue / false
Defaulttrue

Commands you can copy

Turn off (false)

/gamerule command_block_output false

Reset to the default (true)

/gamerule command_block_output true

Check the current value

/gamerule command_block_output

Java 1.21.10 and earlier

/gamerule commandBlockOutput false

Bedrock Edition

/gamerule commandblockoutput false

Notes

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.

Other game rules