3

This question already has an answer here:

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?

marked as duplicate by Schism, greg-449, Wondercricket, Ivo Coumans, Virusbomb Apr 15 at 13:39

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • What do these command blocks have to do with kicks and bans? Command blocks can't use those server commands. – Fabian Röling Mar 22 at 5:59
  • This doesn't directly answer the question, but we may be able to find alternatives to removing the concerned command blocks in order to stop these "policies". Can you briefly explain how they are implemented? – 54D Mar 22 at 6:00
  • I didn't specify in the edit comments, but the OP had the image URL in the post, but they didn't have it linked properly. I edited it back in, which should hopefully explain the link between the policy, and the use of the command blocks – Ben Mar 22 at 6:12
  • Looks like a tellraw. If that's the case, the punishments will still need to be handed out manually. Then some alternatives include enable-command-block=false in server.properties / revoke admin permissions until they tell you where the command block is / make a new command block that prints enough blank lines to push the text off the chat history. – 54D Mar 22 at 9:19
  • @54D you should post that as an answer, with the note that this command will disable all command blocks – Ben Mar 22 at 9:42
1

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.