MobspawnSettings
MobspawnSettings
This mod allows you to control how many mobs will spawn. You can control the settings for both peaceful and aggressive mobs.
Functionality:
- You can choose which events should be controlled (chunkspawning, normal spawning etc).
- You can choose for every mobtype individually:
- . If every mob should spawn or only every second, third, forth etc. Whether a mob spawns or not is chosen by random.
- . How many mobs spawn when minecraft intends to only spawn one mob. You can set a minimum and maximum amount of mobs to spawn where the one mob should spawn, the amount of mobs spawning will be a random number between minimum and maximum.
Feel free to ask any question! Feedback is appreciated :-)
Intended use
It's supposed to make a minecraft server more fun.
Examples: If you're missing Zombies, you can easily increase their amount. If you're annoyed of all the creepers destroying your town, you can decrease their amount drastically, so you don't have creeperholes everywhere If you are really lacking pigs, you can increase their amount too.
Config
For the config, please read here
Commandline
Reload the config.yml file: /msreload
Helping / Getting involved
I appreciate all the help I can get. Both filing bug reports (please create tickets, don't use the comments) and submitting patches for bugs and new features is helpful and makes you an awesome person ;-)
If you have any questions about the source code, don't hesitate to ask.
I would be very grateful if you could license forks under a license similar to zlib license, but since it's licensed under the zlib license, you can basically use whatever license you want to. Telling me about forks would be really awesome, too :D
Changelog
1.10
Fix:
- Merge bugfixes from 1.8 and 1.9 (sorry, I failed at using git)
1.9
Fix:
- Fix NullPointerException when calling msreload
Known bugs:
- Bugfix from 1.8 not in it (sorry, I'm too stupid to use git...)
1.8
Fix:
- horses (minecraft calls them EntityHorse)
1.7
Add:
- new mobs and spawntypes
1.6
Add:
- command msreload (reload config file)
- MinLightLevel and MaxLightLevel
- McStats
1.5
Fixed:
- Spammy output bug
1.4
Added:
- Spawntype Custom (when plugins spawn mobs)
Fixed:
- Multiworld now really works (fixed reading config)
1.3
Added:
- New mobs
- Option to limit spawn area to blocks and biomes
1.2
Added:
- Set health
1.1
Added:
- Multiworld support
0.3
Added:
- Set SpawnEveryX to zero to disable spawning
Fixed:
- When MinSpawnAdd and MaxSpawnAdd are equal, the plugin doesn't crash anymore
0.2
Fixed:
- now works with java 1.6
0.1
Added:
- initial release
- config seems to work
- managing amount of mobs spawning seems to work
Btw
Feedback on how to improve the visual apperance of this page is very welcome! Sorry, I'm just not good at that sort of stuff... :-(
@BombSite_A
Uploaded version 1.7, Horses should work now.
Couple of things, you were asking about command line suggestions, and I'm sorry if you have already answered this one but how about a reload command?
Also could you clear up the world: World: Worlds: thing, will any/all work?
Many thanks
Hey, 1st of all, great plugin.. works really easy and does exactly what it should. But I do have a question and it may be because I have not figured out how to do it but basically, I am disallowing Animals to spawn thru the general MC config and I use MobSpawnSettings to control the amount of mobs which spawn. But for some reason I cannot control the spawn rate of Iron Golems and atm they don't spawn at all. Are they seen as passive mobs or is it cuz they are not part of the config? Can I just add them? Apologies if this is a really dumb question.
thanks
Ah. Makes sense, I doubt it will change anything that would break it though. Hope you can get to it soon, I don't want horses prancing through my zombie apocalypse. :P
@BombSite_A
Nice to hear that you like it :D
Thanks for the heads up. Hope I can find some time for that soon... (Though I'd prefer to build against release or at least beta TBH)
@Asthereon
Haven't heard of that problem yet. Sure they're not just spawning from spawners? And why would spider jockeys have anything to do with that (I'm just not familiar with their behavior)? I guess I should really add optional debugging...
Could I see your config.yml (posted on pastebin)?
@RobotPenguin56
Mobs have a level? Didn't know that... I'll think about it. But spawn at your level is hard, since there are a lot of players on a server, not just one ;-)
Great mod, it's amazing. But it needs to be updated to 1.6.2. Cause, horses.
@sycoso
oh ok that's perfectly fine :)
@RobotPenguin56
@Asthereon
Sorry for not answering, but I'm very busy atm
So, I've set all default settings to true except for spawners, and I have set the SpawnEveryX for every mob to 0, however I'm still getting occasional skeleton mob spawns in the dark. I'm wondering, is this a problem with how the plugin is handling spider jockeys, or is there just something broken? Would love an answer when anyone figures this out.
@RobotPenguin56
It would awesome to have a way to make them more likely to spawn at a certain level (Y) or a way to make it so that they are more likely to spawn at the level you are at.
@sycoso
well I looked at mine and it looked the exact same, but then I copy/pasted yours and it works. So I must have screwed up a space somewhere or something but now its all good. One question though, is there a way to extend the max spawncount in the world? The mobs rarely spawn anymore (but in big groups) so I would like them to spawn semi-normalish but also spawn in groups. I might just lower the mobs-per-spawn a lot though.
@RobotPenguin56
This is weird, it works for me. What server and version do you use?
This is the config I use now:
@sycoso
ok thanks, and when would that be?
@RobotPenguin56
And no warnings/error messages at all? Damnit... I'll test your config on my PC when I'm at home.
@sycoso
I treid, but it didn't spawn any extra mobs.
@RobotPenguin56
You're welcome. Have you tested it with spawnereggs? Throwing a creeperegg should spawn at least 20 creepers
@sycoso
ok thanks, it no longer gives me error messages but I don't think that it is adding mobs of what it says in the config.
@RobotPenguin56
Thanks. You're missing a lot of newlines, e.g. ChunkGen has to be in a new line.
yml is very easy to break regarding new lines and inventions.