AntiMobSpawn
AntiMobSpawn
The Pest Controlling Plugin
The essential pest control plugin and general creature manager. With per world setting, control over which blocks creatures are allowed to spawn on, what types of spawns are to be stopped and which creatures are to be stopped from spawning (along with so much more (see below)) this plugin is perfect for those big servers where the aesthetics of the world are ruined by the huge quantity of torches required to keep the creeper from spoiling the beauty of your world.
Features
- Ultimate Creature Control
- Per world settings
- Control what blocks mobs can't spawn on
- Control which mobs can spawn
- Control how mobs can spawn
- Configurable spawn height limit
- Configurable spawn time period
- Safe zones where mobs can't spawn
- Unsafe zones where mobs can spawn
- Tab complete support for commands
- Dynamically generated configuration file
- Permissions for all the commands
Installation
Simply drop the downloaded jar file into your plugins folder (or equivalent). To prevent an error, create an ebeans.properties file in the same folder as your server jar. When the server is first run with the plugin installed, the config.yml file and the plugin database will be installed in the plugin folder. For details on the configuration file, click here
Command
There is many commands for configuring this plugin, most of them related to the zones. Please see here for details
Permissions
There are permissions for each command used by this plugin. Please see here for details
Todo
- Firewall like spawn rules (E.g Block spawner spawns of Creepers on all blocks on world1)
Change Log
Version 5.0
- Updated to MC 1.7.X
Version 4.01
- Updated to MC 1.5.2 (Bukkit Beta)
Version 4.0
- Updated to MC 1.4.7
- Added zone support
- Added height limit support
- Added time limit suppprt
- Added support for all new creatures (as of MC 1.4.7), including Zombie Villagers
- Added support for all new spawn reasons (as of MC 1.4.7)
Version 3.0
- Switched to using config.yml
- Types of spawns affected
- Command to reload config.yml
Version 2.0
- The properties file has been completely changed. Options are clearly labelled and the formatting will work with Notepad
- MultiWorld support!
- Ability to choose which creatures are affected
Version 1.1
- Added support for multiple blocks to be selected in the properties file (by default, 0 and 18 are in the file, but for some reason, notepad does not add the line separator, so when editing the file, please use a different text editor as notepad displays it all as one big line of numbers, that if replicated, won't work)(if this is confusing, please ask and I will try to explain it better )
Version 1.0
- Released AntiMobSpawn plugin
@DarkMinecrafter
Here is what it might look like to only forbid snowmen:
multi: false
Default:
enabled: true
height limit: 0
time start: 0
time stop: 24000
all blocks: true
blocks:
spawn:
Bed: true
Custom: true
Egg: true
Lightning: true
Natural: true
Spawner: true
creature:
blaze: false
cave spider: false
chicken: false
cow: false
creeper: false
ender dragon: false
enderman: false
ghast: false
giant: false
magma cube: false
monster: false
mushroom cow: false
pig: false
pig zombie: false
sheep: false
silverfish: false
skeleton: false
slime: false
snowman: true
spider: false
squid: false
villager: false
wolf: false
zombie: false
You will also need to use version 3.1a
@EnnobleUzume
That sounds like a bug, I'll have a look into it and see if I can work it out
what must i set for only forbidd Snowmens ?
Oh sorry, I tried to say everything and I left out the most important part. Everything is still spawning on all the blocks I have marked to not spawn on. Again sorry for my stupidity, thank you for the swift response.
@EnnobleUzume
Sorry I can't really work out what you are saying the problem is, can you maybe try and put it another way? Another thing I would suggest is try putting 'height limit: 0'. If all else fails I would suggest using version 3.0 rather than 3.1a as I haven't got around to testing 3.1a fully so there is almost certainly a bug in it :(
First off I want to thank you sam_lex for this great addon.
Unfortunately I can't get it to work. I'm usually good with code but I'm not to familiar with .yml files.
I'm posting my config.yml because I can't get my spawn settings to set.
I'm running a single world of minecraft 1.0 and using the latest bukkit.
I don't want any hostile mobs or endermans (which I have turned off anyway) spawning on:
05 --wood planks
49 --obsidian
35 --wool (actually black wool but because there isn't color specific code, except for hex...oh well)
98 --stonebricks
67 --cobblestone stairs (which I don't believe mobs can spawn on but just as a precaution)
Here is my config.yml
multi: false
Default:
enabled: true
height limit: 128
all blocks: false
blocks:
- '05'
- '49'
- '35'
- '98'
- '67'
spawn:
Bed: true
Custom: false
Egg: true
Lightning: true
Natural: true
Spawner: true
creature:
blaze: true
cave spider: true
chicken: false
cow: false
creeper: true
ender dragon: true
enderman: true
ghast: true
giant: true
magma cube: true
monster: true
mushroom cow: false
pig: false
pig zombie: true
sheep: false
silverfish: false
skeleton: true
slime: true
snowman: false
spider: true
squid: false
villager: false
wolf: false
zombie: true
I have tried "all blocks: true" , "multi: true", and listing my blocks " '05' '49' '35' '98' '67'' " Which is all on one line.
Any help would be greatly appreciated,
Thank you so much.
@Dereknor
Set 'all blocks: true'. At the creepers can't spawn on only leaves and TNT :)
Here is my yml-file. It just spawns everything normal. I just wanted to disable Creepers, but they still run around. Oh, and by the way, using latest Bukkit-version :)
@Dereknor
Have you got Natural: true? If you have can you message me with your whole config.yml and I'll see if I can work it out :)
Hm I set creeper: true, but I still see Creepers everywhere at night ;)
Is there something else I need to do? I have multi= false, but I also set it for general and the world. But these Creepers still spawn at night.
Now that CustomDifficulty is inactive this looks like the only other plugin working towards spawn height restrictions, which is a shame as it's a pretty elegant solution to the covering everything in torches problem.
Good luck, we're all counting on you.
@bigscary Sorry, I'll try to make the explanations of the config settings clearer. As to your question, sorry but not directly :( I've added this to the Todo list :) For a quick fix, you could have true for all the hostile monsters you want to stop from spawning and false for all blocks. Then you could have the block ids (or data values) of all the blocks that would be above ground (dirt, water, etc). I can see that this would not work very well and would mean stone and other materials underground could not be used above ground. I'll get to work on sorting this soon :)
Sorry man, but I don't understand the config settings as you've described them. Maybe if you included a few example config files, explaining what each one does?
I have a very simple (in concept, anyway) usage case - I just want to prevent hostile monsters from spawning on the surface. I only want them to spawn underground. Can I accomplish that with this plugin?