I accidentally made a /kill @p command repeat. Can I fix it? [duplicate]

I accidentally made a /kill @p command repeat. Can I fix it? [duplicate] - An Encouragement Quotes on Brown Paper

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?



Best Answer

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.




Pictures about "I accidentally made a /kill @p command repeat. Can I fix it? [duplicate]"

I accidentally made a /kill @p command repeat. Can I fix it? [duplicate] - I Can and I Will Text On Green Background
I accidentally made a /kill @p command repeat. Can I fix it? [duplicate] - Things I Can't Say Out Load Book on Green Textile
I accidentally made a /kill @p command repeat. Can I fix it? [duplicate] - Photo of Man Wearing Black Jacket While Standing Near Table



How do you undo a kill command in Minecraft?

You can't. Unless you have a recent backup to restore, this action is permanent.

How do you stop a repeating kill command block?

The commandblocks have to be very close to the kill area. The @a will make sure that all that step on the kill block will die instead of just one if you went with @p. for example if 2 players simultaneously land on the kill block, @p will kill one that is closest while the other will survive.

What does kill @P do?

A repeat command block executes its command once every one game tick (or more\u200c [BEonly]) until no longer activated.



HOW TO FIX PERMANENT KILL COMMAND CANNOT RESPAWN IN REPEATING COMMAND MINECRAFT 1.15 Inifinite loop




More answers regarding i accidentally made a /kill @p command repeat. Can I fix it? [duplicate]

Answer 2

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.

Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

Images: RODNAE Productions, Tima Miroshnichenko, Ann H, Andrea Piacquadio