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! :)
@Bluehog4u
Thanks for the appreciation! Also, by "build" do you mean spawn with eggs or something else? I will be adding a more advanced version of configuration in an upcoming update that allows you to pick which ways they can spawn, what light levels they spawn in, and where they can spawn. Of course this config will be optional and the basic, easy to use config will be here to stay. :)
If this can be setup so players can build iron golems but they don't naturally spawn in villages you will have just made my day.
Aside from that
This is really cool plugin. Its opened realms of possibilities with multiverse and event worlds. Thank you.
@Eugdanne
I'm not sure what could be wrong with that. Make sure that you list all of the mobs for the world you are working on. It should default to spawn = true though.
@Nick392
I'll work on a way of choosing natural spawning or not in my next version. I already have an idea of how I could do this. :)
It blocks the mob either way. I hope you can add a way where it can be spawned in via command or spawn egg. Because I came up with a good idea regarding creepers but I don't want them spawned naturally.
Hi Everyone !
Thanks Jakeob22 for this wonderful mod, it works perfectly. So perfectly that when i disabled the slimes, all mobs disappeared... i can't explain ! Do you have any idea ? Have you ever heard issue like that ? In the config file, i didn't change the word "world" into the name map. Maybe i have to ?
@Nick392
This is correct, It should only block mobs that are spawned naturally. Although, in the future I'm planning on having it remove all mobs that aren't allowed the first time it runs. :)
Ok so this only blocks them from being spawned, but if I spawn them manually or by a spawn egg they won't despawn right? If so this plugin will be extremely useful to what I have in mind.
@jakeob22
There is no error in config, I'm positive it is this plugin because once I removed the plugin, dragontraveling worked fine. As before, when the plugin was on the server it did not.
I have made sure that this world has enderdragon spawning at true as well.
edit: Let me know if you need help testing a fix, you can do so on the test server I run for the main server.
I plan on adding an update which despawns any mobs in a world that were prespawned and turned off. =)
@Sk8Sanctified
I'll have to look into that. I don't think mine should have any effect on it. Could you possibly check for an error report in your console window?
@vianilambo
Yes, in the default config it is already set for the world "world" and the world "world_nether". You can add your own worlds to the list to have custom spawning in that world. If you give me what you want disabled and what the name of your world is, I'll configure it for you. :)
Could you possibly make this compatible with DragonTravel. Currently weather you have enderdragon spawning set to true or not in the world that you have dragontravel. The plugin stops enderdragons from spawning when then need to in order for the player to mount the dragon and take flight.
Hey, is this made so I can turn off mobs in one world, but still have them in another? Please help?
Ah thanks jake, the mobs most have been there prior to installing the plugin.
I'm thinking of adding an advanced config which allows you to choose weather, light levels, and biomes. Good or bad idea?
@Sk8Sanctified
Odd. Unless you spelled "voluntari" wrong, it should work fine. Make sure that mobs aren't spawning in your world via another plugin. Also, sometimes, if you already had your world generated and just joined, the mobs that were already spawned will stay there until they are killed or despawned. I hope this helps! :(
hmm not working for me :(
here is the paste bin link to what my config.yml looks like http://pastebin.com/Su3AeB8z
might have something to do with the monster apocalypse plugin I use?
AMAZING Jakeob, ive used it b4 and <3'd it. Keep up teh good work bro!:D
@bvPink
Thanks :D
Does what it says, and works great.
Love it.
@Rebecca9596
Yeah, it should still work for that (even the newest version)