How do I find all command blocks on my server? [duplicate]

I opened my server and I saw that my admins created a policy and since I'm an owner I can delete it.

The policy is:

  • 3 warns = kick
  • 3 kicks = ban

This shows up in the chat, and I want to delete it but I can't find the command block for it!

enter image description here

So the main question is: How do I locate all command blocks in my server?


From the screenshot, the "policies" look like mere chat messages broadcasted to online players through tellraw.

If that is the case, the punishments will still need to be handed out manually by your admins. Then, instead of searching for the command block(s) causing this issue, some solutions to removing these messages include:

  • changing the enable-command-block option to false in server.properties, but do note that this will disable all command blocks on the server;
  • revoking admin permissions until they tell you where the command block(s) is(/are); or
  • making a new command block that prints enough blank lines to push the text off the chat history