@@ -0,0 +1,1311 @@
+package com.skcraft.plume.module.perf;%0A%0Aimport com.sk89q.intake.Command;%0Aimport com.sk89q.intake.Require;%0Aimport com.skcraft.plume.command.Sender;%0Aimport com.skcraft.plume.common.util.module.Module;%0Aimport com.skcraft.plume.util.Messages;%0Aimport net.minecraft.command.ICommandSender;%0Aimport net.minecraft.entity.Entity;%0Aimport net.minecraft.entity.monster.EntityMob;%0Aimport net.minecraft.entity.passive.EntityAnimal;%0Aimport net.minecraft.server.MinecraftServer;%0Aimport net.minecraft.world.World;%0A%0Aimport static com.skcraft.plume.common.util.SharedLocale.tr;%0A%0A@Module(name = %22mob-commands%22, desc = %22Commands to work with the number of mobs%22)%0Apublic class MobCommands %7B%0A%0A    @Command(aliases = %22removemobs%22, desc = %22Kill mobs%22)%0A    @Require(%22plume.removemobs%22)%0A    public void removeMobs(@Sender ICommandSender sender) %7B%0A        int removed = 0;%0A        for (World world : MinecraftServer.getServer().worldServers) %7B%0A            for (Object object : world.loadedEntityList) %7B%0A                Entity entity = (Entity) object;%0A                if (entity instanceof EntityAnimal %7C%7C entity instanceof EntityMob) %7B%0A                    entity.setDead();%0A                    removed++;%0A                %7D%0A            %7D%0A        %7D%0A%0A        sender.addChatMessage(Messages.info(tr(%22butcher.mobsRemoved%22, removed)));%0A    %7D%0A%0A%7D%0A

Add simple command to kill mobs of a certain type.