On my server, I accidentally used a command block to make /kill @p repeat over and over.
I don't know the coordinate of the command block, and I don't have McEdit. I am using PuTTY to connect to the server.
Is there any way I can disable the command blocks, and if so, how?
22 Answers
SSH into your server, and open your server.properties file in your favorite console-based text editor.
From there, find the line that looks like this:
enable-command-block=true Change it to look like this:
enable-command-block=false Restart the server through whatever means you've used to set it up, and remove the command block. Optionally, re-enable command blocks by changing the value back to true and restarting the server.
Yes, there are several different ways to fix it.
- Download MCedit for your computer. Open your world with MCEdit, edit it, and then save it. This is easier, and MCedit will come in handy for you in other ways I'm sure.
- If you don't care about the place you're in, you can /tp far away from the block where it can't affect you, and reload chunks.
- You could also go to 'server.properies' and disable command blocks.