How can I de-spawn mobs in Minecraft multiplayer?

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.

  • How do I move a Minecraft saved world from my desktop to my server?
  • How does Minecraft determine the spawn location in a seeded world?
  • What is the fastest way to travel long distances in Minecraft?
  • How do I spawn mobs in SMP?
  • How do I update LWJGL on 1.7.4 without a bin folder?
  • How can I clone maps in SMP?
  • minecraft command block testfor certain player
  • How do I download Minecraft 1.6.4?
  • How to prevent water from freezing
  • Where can I find wolves?
  • Is it possible to mark or modify a player with a specific item in their inventory
  • How do level seeds work?
  • 6 Solutions collect form web for “How can I de-spawn mobs in Minecraft multiplayer?”

    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.

    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.

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

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

    spawn-monsters=false.

    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)

    Turn gamemode into peaceful! it makes no Hostile mobs!

    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:

    /killall
    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.

    If you just want to kill one type of mob:

    /killall <mob name> Ex: /killall spiders

    If you want to kill all mobs:

    /killall

    We love Playing Games, especially Video Games.