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... :-(
Awesome Plugin, can't wait for multiworld support!
@Jemrada
That's nice to hear :)
No, not yet. I mean, it's called mobSPAWNsettings, but changing it to MobSettings sounds like an interesting idea. How about making a ticket and specifying what you'd like to be able to alter?
Your plug-in is working well. I really like it. Have you thought about adding any extra mob settings? Like giving them more health or ability to give more damage?
@Jemrada
Thank you, nice to hear it works :)
@sycoso
Thank, I have been testing and it is working exactly as you describe. I appreciate your attention to your plug-in.
@ndrqu
I don't think my plugin uses a noticeable amount of performance, but I don't know how much performance massive mob-spawning drains. I guess your best bet is to just try it with the settings you want and when it lags try to play with the settings a little.
Sorry I couldn't help you a lot... I still hope it works out for you somehow :)
Looks like the plugin im looking for. I believe there are not enough hostile mobs in my server and I want more. However, before using the plugin I would like to know if a not-too-high amount of more mobs then the default takes away too many resources from my server, I mean, how much the plugin affects the performance?
@MYCRAFTisbest
Yeah, I know, and I'm really sorry, but the changes needed are bigger than I expected and I just didn't have the time to implement them yet :(
But be assured: I didn't forget the request!
@Jemrada
It's up, please tell me whether it worked :)
i want multi-world support
Please release it soon
@sycoso
Awesome thank, look forward to it.
@Jemrada
Thanks, that helps!
EDIT: Okay, I think I found my bug, will publish the fix ASAP.
@sycoso
I am getting those errors again. Here is the full error.
@sycoso
Ok thank... Yes, I restarted it.
@Jemrada
I'll test that when I'm back home in a few hours. Did you restart the server after editing the settings?
@sycoso
Ok I granted myself a Spawner Zombie Egg. When I used it only one appeared.
Here is how a portion of my config is set.
and
@Jemrada
Okay, that's really weird...
Yep, that's correct. You could test it by activating EggSpawner and them throw a spawneregg.
Well, the errors seemed to have stopped now.
I can't tell if the plug-in is actually working or not though.
I have all my Hostile Mobs set to the following
SpawnEveryX: 1 MinSpawnAdd: 2 MaxSpawnAdd: 2
If I understand correctly, should give me 3 mobs at each spawn instance, instead of one.
@Jemrada
That's weird, I tried it and didn't get that error.
Do you have MobspawnSettings version 0.2? Could you tell me your java version and operating system? And: is the error longer (stuff that doesn't seem to matter); if so, could you post the entire error? Do you have any other mods installed that have something to do with spawning mobs/animals/villagers?