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... :-(
@zapcap007
First to all: keep calm!
What do you want the plugin to do? What exactly doesn't work? How does your config look like?
Btw: I don't know how familiar you are with the part of the internet where people want to help each other, but in these parts writing something in CAPS is normally interpreted as: Screaming around, just ignore it. So please keep your voice calm, that makes everyone much more willing to help you.
This plugin does not work for me at all........ PLEASE HELP I NEED THIS FOR MY ZOMBIE SURVIVAL SERVER!!!!!
@Diabloz_
You're welcome, nice to hear it's working :)
@sycoso looks like using these modified settings: Default: NaturalSpawn: true Jockey: false ChunkGen: true Spawner: false Egg: false SpawnerEgg: false Lightning: false Breeding: false SlimeSplit: false
It stops the skeletons from spawning, thx.
@Diabloz_
Yes, that should prevent them from spawning. The server log looks good.
I looked into it yesterday and didn't have the same behaviour (yeah, I tested with SpawnerEggs...) but just realized that I might have forgotten something.
Anyway, I will release a build with 1.4.7 tonight and add a few debug options.
Are you sure it's natural spawning and not chunk generation? (no, they're not the same thing)
Well ill show you my config: http://pastebin.com/5YRXZJbt
For some reason skeletons spawn naturally when I updated to 1.4.7, in 1.4.6 it works fine.
With the config i set up no mobs should be spawning naturally no?
Also no errors are passing through the console.
EDIT: here is server startup log if you would like to see:
http://pastebin.com/9Er1uZ7Z
@Diabloz_
It should work. Or did you get any errors when using the latest plugin version with 1.4.7?
when will this plugin work for 1.4.7 ?
@bostonianb
No it doesn't
Does this plugin allow us to spawn Ghasts and zombie pigmen in the regular world? thanks
@lawliet555
If you enable it, yes. Just set Spawner: true
Will this affect mob spawners as well?
@Byamarro
What exactly do you mean? What is the error message? Did you modify the config.yml? Which java version do you have?
I think it don't works for 1.4.6 0.3
@codyj110
Thank you so much :-)
This mod is great simple easy to install. Lets me set my server a notch harder than what the normal game allows so that my players don't get bored. Keep up the good work.
@Baronjutter
That doesn't sound simple at all and I will not implement most of your wishes, sorry.
What do you mean by "set min and maximum elevation for spawning"?
Setting a minimum/maximum light level sounds like a good idea.
Can you please add for each mob custom drops as well as min/max elevation for them to spawn? I'm trying to have certain monsters only underground, and certain monsters only in mountains.
I'd so love a simple mob-spawning plugin that let me: adjust spawn rates adjust "aggro" range for each/all mobs set min and maximum elevation for spawning adjust maximum light level a mob will spawn at set custom drops and % chances for drops.
@n00bsaus
Did it work before? What did you change? Could you please post your config.yml to pastebin.com and link it here?
Mod does not load on server start any longer. Below should be all the necessary information. :::
[INFO] This server is running CraftBukkit version git-Spigot-jenkins-Spigot-373 (MC: 1.4.6) (Implementing API version 1.4.6-R0.4-SNAPSHOT)
[SEVERE] Error occurred while enabling MobspawnSettings v1.3 (Is it up to date?)
java.lang.NullPointerException at org.telamitto.sycoso.mobspawnsettings.MsConfig.loadConfiguration(MsConfig.java:85) at org.telamitto.sycoso.mobspawnsettings.MsMain.onEnable(MsMain.java:18) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at org.bukkit.craftbukkit.v1_4_6.CraftServer.loadPlugin(CraftServer.java:315) at org.bukkit.craftbukkit.v1_4_6.CraftServer.enablePlugins(CraftServer.java:297) at net.minecraft.server.v1_4_6.MinecraftServer.j(MinecraftServer.java:326) at net.minecraft.server.v1_4_6.MinecraftServer.e(MinecraftServer.java:305) at net.minecraft.server.v1_4_6.MinecraftServer.a(MinecraftServer.java:264) at net.minecraft.server.v1_4_6.DedicatedServer.init(DedicatedServer.java:149) at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:404) at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849)