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! :)
Can you update the plugin agian?
@mikesaidhello
If you have zombies set as false, it won't allow either to spawn. If you want, I could quickly set up one that can block them separately for you?
Hey, I'm using this with the DayZ mod for bukkit, and it's blocking their version of zombies even though they aren't on the list. Is there any way to stop this from blocking those zombies? :]
@Xerfox
It's already built in. Notice how it says "world:" and "world_nether:" on the side. You can put your own worlds there and lay it out like it is for the other ones! :D
@jakeob22
Could you do me a favor and make it so that in the config, so that you can choose which worlds you want certain mobs to spawn in? Even if you can't do this for the plugin itself, I really need this feature!
@NiNJA__NAT I could do this, but it would be strange because if you have enough people playing, there would be areas where you wouldn't find ANY mobs. D:
@jplay111
No, but I can add it into the next update along with wither skeletons. I've been having trouble with that problem and I'm trying to get it working. :)
Does this plugin support the spawning/notspawning of villager zombies?
maybe you could add this feature, like configurable how much each mob can spawn :).
@BigbyBob
I would love to see your's on the forum! I downloaded your updated one from Github but I do not know how to install it. I downloaded everything as .zip file.
@Byronepp
I know, that's a major problem right now that I'll definitely be fixing. I'll get it up as soon as possible, I've just been a little sidetracked lately. :)
@westjet1
That'll be in the next update as well.
@jakeob22
I saw that too. So under world_nether I put down "Skeleton: true" and it worked. However, aside from spawning Wither Skels, it also spawned the regular skeletons in the nether :(.
@jakeob22
Hey not to rush you or anything but how long you thinking until next update? Would really like to get the egg thing up and running for my server.. took me forever to find a plugin that will actually not spawn the horses! thanks a lot for this plugin! Edit:
Huge bug aswell. I had to remove the plugin completely. It wouldn't let ANY mob spawn through commands or eggs.
@BigbyBob
I'm adding the spawn egg configurable into the next update. I had a slightly different approach, though. I checked the spawn reason and saw if it was an egg or not. (Rather than checking the users hand)
@westjet1
Ah, you caught one that I missed! I'll add it in the next update. I just looked it up and it counts as a normal skeleton. I'll add an option to disable them apart from each other soon. :)
Can you add support for Wither Skeletons please?
I needed something similar to this mod, however it didn't work at all for me. I checked out the source code and sort of understood why, but since you have licenced your mod to "All Rights Reserved", I wrote my own mod. Feel free to check out the source at https://github.com/trew/DisableMobs for inspiration to your future updates.
@MrAndu
I love the ideas! I was already planning a command rework and this just made it so much easier! Thanks for the suggestion. :)
Great!
Request:
NB! DO NOT make [Mob] = all by default, instead make "/killmobs" return the usage(or help) if no mob or world is specified, something like this:
This gives more flexibility and is easier to use in the world you are in. and prevents you accidentally killing all mobs if you would want to know how to use plugin and just type "/killmobs".
[Optional bonuses]
[/Optional bonuses]
Examples: if you are in overworld:
if you are in the nether:
Hope this is understandable :P, Great work btw, I like this plugin because it's lightweight unlike those multipurpose plugins that come with extra stuff that I never need"
I hate this commentbox btw, it ignores my line breaks
@MrAndu
Oh, that's what I was confused about. Thanks for clarifying!
Nothing can be spawned with eggs right now, but in the next update, (coming sometime this week), I will be adding a config option for allowing egg spawning. I'm not sure about the enderman thing, but I'll have to figure it out. I think I'll make everything enabled by default in the next update, also. Thanks for the feedback. :)
Brokein in 1.6.2, horses cannot be spawned even with an egg when plugin is turned on.. (horse: true)
also: enderman are disabled in the end by default, must make changes in config to enable them Please make all mobs enabled by default (even if not set to true in config - currently it's the other way round)
I mean if I only have this in config and nothing else:
world: oscelot: false
then only ocelots are disabled but all others are enabled :) thanks
Edit: for 1.6.2 to have horses spawn, you have to set "unknown: true" (horses are named "unknown" in bukkit b#2808
@toxictroop
yay :D