Take the 2-minute tour ×
Arqade is a question and answer site for passionate videogamers on all platforms. It's 100% free, no registration required.

I have set up a Minecraft server for my 5-year-old son and a friend of his. They use it in creative mode to build stuff.

Today, my son copied instructions he saw in a YouTube video and created a Wither boss. Upon creation, it blew up two quite beloved constructions of his and proceeded to wreak havoc in their town.

This is when I got called in. I had hoped that some kind of operator command would be available to kill a monster and found

/kill @e[type=WitherBoss]

but that killed my avatar rather than the Wither. I think this is due to these options not yet being available. Would upgrading the server to the latest version allow me to kill it this way?

If not, what is the best way to get rid of the thing? It does not necessarily have to die - if it were to sit somewhere a bit further away from the constructions and be quiet, that would be fine too.

But I'm looking for a way with preferably little or no fighting skill required, since neither of us has much of that. And it'd be nice if we can save some of the scenery as well; he was rather shaken and sad already due to the destruction.

share|improve this question
    
You could make backups of the world to Dropbox or a similar cloud storage which got revisions. So you could always roll the server back if something like this happens. –  Shiki Mar 24 at 12:18
    
@shiki I do have a backup, but it is a couple weeks old. –  flup Mar 24 at 13:05
    
Just a weird thought: have the kid experience the consequences of typing in things from the internet. Worse things than that can happen. (Let's not talk about unsupervised use of Youtube; that's for Parenting. ;)) Arguably, permanent loss of some structures is enough, though. –  Raphael Mar 25 at 7:44
    
@Raphael I thought this was big enough a consequence already, yes :) –  flup Mar 25 at 22:16

2 Answers 2

up vote 21 down vote accepted

The easiest thing to do here would be to set the difficulty to peaceful with /difficulty 0. If they had any pet creepers or anything like that, you can spawn them back in and give them name tags again using spawn eggs, since they will also go away upon setting the difficulty to peaceful.

share|improve this answer
6  
Also, the /kill @e[type=WitherBoss] command works in the latest snapshots, but not in the current release version of Minecraft. –  Unionhawk Mar 23 at 23:40
    
Thanks! That did the trick! –  flup Mar 24 at 12:59

Unionhawk's answer is the easiest. But if you don't want to eliminate all mobs there's an alternative. Get into "godmode":

/effect Player_name 1 50000 5
/effect Player_name 5 50000 255
/effect Player_name 8 50000 15
/effect Player_name 10 50000 255
/effect Player_name 21 50000 50
/effect Player_name 23 50000 255

Now you can kill the wither with a single hit. Your jump and speed are also enhanced in case you want to do this in survival.

Once done, this will bring you back to your normal state:

/effect clear Player_name

Commands explained

/effect Player_name 1 50000 5 #Move faster
/effect Player_name 5 50000 255 #kill with a single blow
/effect Player_name 8 50000 15 #jump higher
/effect Player_name 10 50000 255 #Fast life regeneration
/effect Player_name 21 50000 50 #Extra hearts in health bar
/effect Player_name 23 50000 255 #Never get hungry

In the jump command, the "15" may be changed depending on your desired jumping height. If you are in creative, you might not need the jump command at all and you can just fly towards the wither instead.

share|improve this answer
1  
Thanks! This answer allowed me to choose between making the world easier or myself tougher (and get a reputation with my son as a superhero problemsolver) and allows specific targeting. My son had only one pet creeper and I thought I'd not risk any further damage to the world, so I went for the easier world. –  flup Mar 24 at 13:04
    
Is this not a part of the Essentials CraftBukkit plugin, or is this now available within vanilla Minecraft? –  jflory7 Jun 17 at 0:04
    
This works in Vanilla (Therefore it also works in Single player). Reference: minecraft.gamepedia.com/Commands#effect . Your confusion probably stems from the fact that the Essentials plugin overrides many Vanilla commands. –  Hello World Jun 17 at 4:35

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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