NaturalHorses
Naturally spawning horses - The way you want it!
With the introduction of horses in Minecraft 1.6, horses may now spawn naturally in plains biomes. Although for most people, it is often extremely rare (at least in old chunks). This plugin tries to emulate the natural spawning of horses and allows you to configure when and how it happens.
How does it work?
When the server loads a chunk into memory, the plugin performs various checks to determine if horses should be spawned (simulating a natural spawn). You are able to choose where they spawn, how often and how many in each group/herd.
Features:
- Ignores ALL newly generated chunks (assumes 1.6 chunk generation will handle it).
- The whole chunk must be Plains biome (actually only all four corners are checked, for performance).
- Surrounding chunks must contain no living entities (configurable chunk radius).
- Horses/donkeys will only spawn on grass blocks
- Time delay between spawning anything in seconds (configurable)
- Random chance of spawning anything (configurable)
- Random chance of spawning donkey instead of horse (configurable)
- Choose how many horses can spawn per group/herd
- WorldGuard compatible (does not spawn in regions with "mob-spawning: deny")
- Lots of debug information! (can be disabled)
How to use it:
- Download the NaturalHorses.jar
- Put the file in your "plugins" folder on your server.
- Restart your server
- Make any changes to the "plugin/NaturalHorses/config.yml" config file
- Restart your server again
- Find horses! :)
Please see the configuration page for more info.
Dev Builds:
Development builds can be acquired at the provided continuous integration server.
These builds have not been approved by the BukkitDev staff. Use them at your own risk.
See this in action?
You can try out this plugin on our family friendly survival server:
@Bimnomercy
The plugin tries to emulate vanilla 1.6, by preventing horses from spawning when there are other mobs in the area. This is why you are seeing that message.
As for how it works, please read the information above and also refer to the comments inside the config.yml. I believe there is enough information there to understand how it works, but if after reading them you need more info, I'll be happy to explain further.
I turned de debug mode On and in fact I only got '2013-07-17 11:19:40 [INFO] [NaturalHorses] Area not empty: -133 / -3 (not spawning horses)' info messages.
I'm just testing your work on my Java 1.6 Server, and with the default settings, I'm still looking for horses. I had tweak the 'spawn-chance' value to 90, and then I found horses, but I think that they will be too much after, then I wonder what is the good value of this parameter.
I don't know what is the role of 'spawn-delay' parameters, is it the time beetwen two horse spawn or the time that the player has to wait in a chunk to have a chance that a horse spawn ?
@vecet
It's ok, I did some testing and it will work if you put the world name in double quotes:
@vecet
Thanks, could you also run it with "debug: true" and send me the output? I will do some testing and make a dev build with the fix.
http://pastebin.com/uAJfv6aQ http://pastebin.com/hSeeY9qQ here they are, i tried with both
@vecet
It doesn't like something in your config. Can you also pastebin your config.yml?
I just figure out that your plugin does not accept any world name like 1_5_2. In other plugins they use the `name` too make it work, can u plz fix this?
I using the last bukkit dev build and your last plugin but its keeping sending me this error
http://pastebin.com/39vtX1Yy
@Zerophis
No problem. To be fair, you are correct about the project description. At the time I wrote it, I honestly believed horses would never spawn in pre-1.6 chunks. Majority of server admins were unable to find any natural horses and those who did, found so few that they weren't 100% sure the horses wasn't spawned by someone.
Based on my personal experience and information from other admins, it all seems very dependant on the individual world and many other factors.
However, I will adjust the project description accordingly :)
@Zerophis
Yes, they CAN spawn in old chunks, but its not dependable. My server has a map of 20K x 20K blocks of 100% old chunks. TWICE has anyone seen horses on that map. In the new chunks on another map they spawn "everywhere". This plugin is a lifesaver.
Heh, didn't mean to be obnoxious. I suppose it has it's use if it can increase spawnrate.
Horses spawn fine on my server though.
Anyhow, horses definitely can spawn in old chunks and the description gives the false impression that it's impossible.
Dude i have a world called 1_5_2 how do i use this world in the configs, because in other plugins i have to use `1_5_2`. But i tried this and didnt see anyhorse on my world.
NaturalHorses-1.0.6 has been released and awaiting Bukkit approval:
NOTE: The config.yml file does not auto-update!
Please delete the file and let the plugin re-create it with the new settings
@Lakuspakus
The CraftBukkit version you are using does not have the horse support in the Bukkit API. The release notes of 1.0.5 say "Compatible with 1.6.2 ONLY (CraftBukkit build #2811 or higher)".
Also, currently you can only specify a single world. I will be adding multi world capabilities in the next version.
@Zerophis
I first wrote this plugin before 1.6 was even released because everyone was reporting that horses weren't going to spawn in old chunks and this is how it has been for other updates. There was so much excitement on my own server about horses, that I made this plugin in preparation for the 1.6 release, because I didn't want hundreds of people screaming that they couldn't find horses.
And yes, apparently it does seem possible that horses spawn in pre-1.6 chunks (although I've never seen it), it's so incredibly rare that it basically has the same effect if they didn't spawn at all. This plugin makes horses more available to everyone, especially on servers with a larger survival population.
So no, it's definitely not a placebo. It does actually spawn horses in a "natural" way and it allows server admins to configure how rare they actually are. As for your "bloaty" comment, since my plugin is GPL, you are welcome to review the 300 lines of code and point out the bloat.
Is this a placebo? Seems bloaty considering horses can and will spawn in pre-1.6 chunks.
@Bimnomercy
Sorry, I think my previous comment was a bit confusing. The 1.0.5 release has been approved now, but this already waiting to be approved when people requested Java 1.6. So it's still Java 1.7.
I will be releasing the v1.0.6 soon which will be built for Java 1.6. If you want to make sure it works for you, you can download a dev build already (link above).
add5tar thank you very much for your work. I'm waiting for 1.0.5 forward !!!
Getting this with 1.0.5 Pastebin
EDIT: Also, how does the world-settings work. I tried entering more worlds separated by commas, commas and spaces, in a list etc. Plugin wont load unless I leave it to the default "world".