Mojira Archive
MC-121951

/gamerule commandBlockOutput doesn't prevent functions from spamming the chat

I created a function and ran /reload multiple times, the console didn't show errors and I could in fact run the function with no problem. I placed the function command in a repeating Command Block and activated it, it spammed my chat so I ran /gamerule commandBlockOutput false

What I expected to happen was...:
I expected it to stop spamming [@: Executed <function name> command(s) from function '58'] in my chat, and to still run the function.

What actually happened was...:
Despite having set these gamerules to false:

  • commandBlockOutput
  • sendCommandFeedback
  • logAdminCommands

The chat was spammed with the function being executed by the command block.

Steps to Reproduce:

  1. Create a valid function file inside a world's data pack
  2. Run command /gamerule commandBlockOutput false (i used tab key autocompletion to be sure i typed it right)
  3. Type a function command which runs that function in a Repeating Command Block (mine was set to Needs Redstone, triggered by a lever)
  4. Activate the Command Block

Attached screenshot of the moment I pulled the lever:

Duplicate

Definitely Maca

2017-11-14, 04:06 PM

2017-11-14, 07:41 PM

2017-11-14, 07:41 PM

0

0

Unconfirmed

Minecraft 17w45b

-