Arqade is a question and answer site for passionate videogamers on all platforms. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I ask the owners of all the servers I go to, and none of them tell me how to de-spawn mobs. I'm the only admin in my server, and there are a lot of magma cubes. I want to know how to get rid of them.

share|improve this question
If you don't mind, I'm gonna edit this to just be about de-spawning mobs. For how to spawn them, see: How do I spawn mobs in SMP? – Ullallulloo Feb 11 '12 at 4:09

In Vanilla Servers

There are no commands for this. You could try unloading the chunk by leaving it and come back to see if they are still there (reloading the server while away from the chunk could help also.) Or you could just simply change your game mode to creative by doing /gamemode (c, 1, or creative) to spawn items, then just kill all of them with a diamond sword or whatever you please.

In Bukkit Servers

There are many useful plugins for bukkit that allow for simple mob killing. WorldEdit and Essentials allow for the use of /butcher which kills all aggressive mobs (maybe all mobs) around you. If you are unsure if a plugin has a mob killing command, just read the help page in the server or find a website with all the commands and their uses.

share|improve this answer

In Minecraft 1.8 or newer, you can use the command /kill @e[type=Zombie] to kill all zombies in the world. You can also relpace Zombie with whatever mob/entity you want and it will kill it.

share|improve this answer
Worth noting: On a Minecraft 1.7.x server, /kill ... kills YOU. – Li-aung Yip Feb 6 at 5:19

Similar to what James said, you can get rid of them by restarting the server on peaceful.

Stop the server, then swing by and set difficulty=0 and for good measure,

Restart the server, then if you wish, stop it again and set difficulty and spawn-monsters back how they were.

(Granted, this assumes you have file-system access, but since you're the admin, you might)

share|improve this answer

Turn gamemode into peaceful! it makes no Hostile mobs!

share|improve this answer

There is no way to "de-spawn" but a simple /killall command should kill any mobs in maximum render distance.** It will end up like this:

Killed ###

However, the second you do that normal mobs (zombies, skeletons, creepers) will spawn in to replace the killed ones. If those magma cubes spawned naturally then you can't do anything but continually kill them.

** = mobs killed by /killall will not drop any experience orbs or items.

share|improve this answer
Doesn't this kill all players? – Jonny Mar 10 '12 at 3:55
As of now (v1.2.4), there is no such command in the vanilla Minecraft Server. – user1040049 Mar 25 '12 at 14:33
/kill all command will only kill you. There is no command on vanilla servers for killing mobs, unless you run a mod for it. – user36937 Nov 14 '12 at 10:08

If you just want to kill one type of mob:

/killall <mob name> Ex: /killall spiders

If you want to kill all mobs:


share|improve this answer
No such command in 1.2.5 – Broam Jul 18 '12 at 15:20
Are you using a mod? – fredley Oct 10 '12 at 16:56

protected by Community Feb 27 '13 at 16:42

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

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