DisableMobs
DisableMobs
By: Jakeob22
Recommended Build:
Version: 1.6 for Bukkit build 1.6.1 - R0.1
Features:
- Allows a bukkit server owner to choose exactly which creatures can spawn and which are blocked from spawning.
Description:
This bukkit plugin will easily allow the server owner to choose which mobs will spawn and which won't. The first time you run it, a configuration file will be generated with the names of all of the minecraft creatures. You can set each creature to true if you want them to spawn, or false if you don't want them to. For example, if Blaze is set to true, blazes will be allowed to spawn. If Blaze is set to false, you won't find any Blazes in your game because they are blocked from spawning. This is the same for every creature on the "Supported Creatures" list. Every creature is automatically set to true when you start except for the creeper. If you add this plugin to your server, and don't touch the configuration at all, everything will still be able to spawn except for creepers. You can use this plugin on almost every server! It becomes especially useful if you want to make a zombie or creeper apocalypse and set everything to false except for the zombie or creeper. For some reason, if you only leave one creature true, it will spawn insane amounts of that creature! Have fun! ;) Visit us on the Bukkit Forums!
I've added MCStats support. This allows me to track the amount of people using my plugin and how my updates affect people. This will ensure that I get a minor amount of feedback to work with. However, if you are unconfortortable with sending data to me, go into the "PluginMetrics" file in your plugins folder and set "opt-out" to true. Thanks! :D
Supported Creatures:
- Bat
- Blaze
- Cave Spider
- Chicken
- Cow
- Creeper
- Ender Dragon
- Enderman
- Ghast
- Golem
- Horse
- Magma Cube
- Mushroom Cow
- Ocelot
- Pig
- Pigman
- Sheep
- SilverFish
- Skeleton
- Slime
- Snowman
- Spider
- Squid
- Villager
- Witch
- Wither
- Wolf
- Zombie
Commands:
- /killmobs [world] - Kills all mobs in a given world. Ops can use it, but I'll add a permissions node soon.
Changelog:
1.6
- Added support for horses
1.4
- Added support for the 1.4 creatures
1.3.1
- Added MCStats.org support
1.3
- Added /killmobs [world] command. Kills all mobs in the world chosen, only ops can use it.
- Changed some things in the config. Regenerate and configure!!!
- Updated to most recent RB
- Cleaned up code
1.2.2
- Added multiworld support
- Updated to most recent RB
- Cleaned up code
1.2.1
- Added golem to the supported creatures
1.2
- Updated to most recent RB
- Added Ghast to the supported creatures
- Added Ocelot to the supported creatures
1.1.1
- Added SilverFish to the supported creatures
1.1
- Initial Release
- Ability to choose exactly which creatures spawn and which don't
Please post all problems or suggestions below! Thanks! :)
@c4l3n
I might be able to if they have some sort of source like bukkit did. :)
Is there any chance you could make a variant of this for Direwolf20?
Many servers are having issues with a mob called the Unstable Ice Core which spawns in the Twilight forest and causes severe server crashes.
Will you add support for 1.8 mobs like Endermine/Guardian?
Thank's, Jdogduffy
@jakeob22
That would be awesome dude! Thanks in advance.
@KoenLemmen
Interesting. I'll try my best. Sorry, been busy with school. >.<
@jakeob22 I have been using the plugin Carbon to make the server 1.8. And 1.8 has armorstands which are listed as entities. Is there a possibility for you to add armorstands to the list? Because we would like to ban all mobs/villagers but not armorstands. Much appreciated! :D
@ZONEcold
Sorry for the delayed response. This version should work exactly the same for 1.7.10, unless I am missing some mobs. Is there anything I forgot?
Hey man, any chance you could update this for 1.7.10 :D Much appreciated.
@warseff
Sorry about the long delay. Could you please post your config file on pastebin.com and link me to it? Also, could I have a list of other plugins you're using and the version of craftbukkit you're using? Sorry for the problems. :(
@jakeob22
It keeps doing it. world: bat: true blaze: true cave_spider: true chicken: true cow: true creeper: false ender_dragon: true enderman: true ghast: true horse: true iron_golem: true magma_cube: true mushroom_cow: true ocelot: true pig: true pig_zombie: true sheep: true silverfish: true skeleton: true slime: true snowman: true spider: true squid: true villager: true witch: true wither: true wolf: true zombie: true world_nether: blaze: true ghast: true magma_cube: true pig_zombie: true Resort: bat: true blaze: true cave_spider: true chicken: true cow: true creeper: false ender_dragon: true enderman: true ghast: true horse: true iron_golem: true magma_cube: true mushroom_cow: true ocelot: true pig: true pig_zombie: true sheep: true silverfish: true skeleton: true slime: true snowman: true spider: true squid: true villager: true witch: true wither: true wolf: true zombie: true Resort_nether: blaze: true ghast: true magma_cube: true pig_zombie: true
this happens when I restarted it. the changed one stays and above that default world comes back
@FlOppythp
It is sometimes possible for other plugins to spawn in zombies and spiders even with the plugin functioning. Make sure no other plugin could be spawning mobs. Also, do the /killmobs [worldname] command for that world to make sure that no zombies or spiders have survived and ignored the filter. Other than those two possibilities, I'm not sure what else your problem could be. Good luck! :D
@warseff
That's odd, it shouldn't switch it back. It's possible that you aren't saving it correctly. Try stopping the server, editing the file, and then starting the server back up. Also, sorry for my late response. :(
My world has the name Resort and when I rename it, save and close it, reload my server, then it automaticly changes to world again. what can I do?
@PureNukage
Sorry for the late reply. Everything should still be in working condition for this plugin as everything it uses in Bukkit has been unchanged since it's last version. As for your problem, it'd be easier if I could see a copy of your config but make sure your false is lower case. :)
Whenever I change a value to False, the server log says "Mapping values are not allowed here in line blahblah Witch: ^ true and it resets the config to the original version. Is this just because the plugin is so outdated?
Ignore this can't seem to find the delete button :D
@Craft_Like_A_Pro
No, sorry. It's a pretty simple plugin to write if you want me to make you one though. Just private message me if you're interested! :D
(Sorry for the delayed response)
@wantedvanted
Did you set up your config with your world names?
I have other worlds like Survival, Creative etc... Mobs are spawning in the world, but not in the created worlds. I want them to spawn in these worlds, help?
@CedZO
I'm waiting for a 1.7 recommended build before I update. I'm planning on unlinking Skeletons and Wither Skeletons. Also let me know if you have any ideas for an update or if you find any problems with it, let me know so I can fix them! :D