Skip to content
[/craft]

command_block_output

booleanJava 26.2 & Bedrock 26.32

Controls whether command blocks send output messages to chat when they execute. Useful for reducing chat spam from automated command block systems.

Enable command_block_output

Command block execution outputs appear in chat (orange text). Useful for debugging.

Java/gamerule command_block_output true
Bedrock/gamerule commandblockoutput true

Bedrock uses commandblockoutput (all-lowercase, no separators).

Disable command_block_output

Command blocks execute silently. No output appears in chat during automation.

Java/gamerule command_block_output false
Bedrock/gamerule commandblockoutput false

Default: true. Restore with /gamerule command_block_output true

What command_block_output does

Controls whether command blocks send output messages to chat when they execute. Useful for reducing chat spam from automated command block systems.

Frequently asked questions

Does this affect the command block UI output display?
No — the in-block output (visible when opening the command block UI) still shows the last output. Only the chat broadcast is suppressed.
What happened to commandBlockOutput?
Renamed to command_block_output in Java snapshot 25w44a. Bedrock uses /gamerule commandblockoutput false.

Related gamerules

All Gamerule commandsJava vs Bedrock guide