commands/MobKill

Basic Command

/mobkill [flags...]

flags
for configuring which mobs to actually slaughter

Just as with the /mobspawn command, this command can be very simple, or more complex and powerful. When used without any flags, the command works identically to CommandBook's /butcher command: it will remove all hostile mobs and monsters from the world.

Mob Flags

You can use flags with /mobkill to specify exactly which mobs to slaughter. Just like flags in the /mobspawn command, these can be included in whatever order you like.

radius (or r)
Use this flag to only slaughter mobs within a specific radius of your cursor. For example, adding the flag radius:50 will only slaughter mobs within 50 blocks of the block you're looking at.
+mavo or -mavo
This flag works differently from the others, as it requires no value. Use this flag to slaughter or NOT slaughter certain categories of mobs. The 'm' represents monsters, the 'a' represents animals, the 'v' represents villagers, and the 'o' represents all other mobs (squids, for instance). Using the plus sign instructs the command to include the following categories, while the minus sign instructs it to ignore the following categories. For example, adding the flags +mao and -v will slaughter all monsters, animals, and other mobs, but will ignore villagers.
any mob name
Use any mob name as the flag and either "true" or "false" to explicitly include or exclude individual mob types from the slaughter. For example, adding the flags +m and pigzombie:false will kill all monsters except pig zombies.