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:
I'm not sure if this is common or not nut I am using the latest dev bukkit build for 1.6.2 and your latest dev build as well and when I am restarting/reloading the plugin is not showing up on my list of plugins nor generating a config. any help would be awesome!
NaturalHorses-1.0.4 has been released and awaiting Bukkit approval:
@RenegadeCraftSky
Interesting idea. I can make this a feature in future versions. Thanks :)
@vxnick
This message is from the server, but caused by the original plugins (1.0.0 and 1.0.1). As the server loads chunks, it tries to read all the entities stored in the chunks and handle them. This message basically says it loaded an entity that it doesn't know how to handle and it has also been deleted from the world. That's because the way I was spawning horses in the early releases was not correct. So all the horses spawned with those early versions will be lost.
However, using the 1.0.2+ versions, this will not happen any more. I would also suggest trying the 1.0.4dev version, since it has some very important fixes. The 1.0.4 release will be uploaded shortly.
Is this message anything to do with NaturalHorses? I've only noticed it since updating to 1.6.2:
I saw it while running NaturalHorses 1.0.1 and the 1.0.4 dev build.
Thanks!
@add5tar
Could You Make this So the horses spawn on ice plains, or any other biome with grass?
@Dr_Bunsen
Can you send me the console output in a pastebin link or try the 1.0.4dev build?
@Smidds
Yes this is a known issue and not related to my plugin. Although I thought it was fixed recently.
@KnightsValor9
That error message is strange. It works now because it ignores WorldGuard when it fails to use it and just continues. I''ll try recent builds and see if they changed something. It could also be a config problem with your WorldGuard.
@alanthya
Can you try the latest dev build and tell me if it still happens? Also can you try unloading the plugin live and see if the TPS goes up again? I'll do some timing tests myself and investigate too.
Server seems to be having a hard time keeping a decent TPS count since installing this plugin. After 3-1/2 hours of uptime I had 5.2 TPS, I ran timings in the server console. Everything was mostly a 0s response, a few under 10s. Natural Horses plugin seemed a bit off the chart. Here was my result running 1.0.2 on Spigot #1017
NaturalHorses v1.0.2 ChunkLoadEvent Time: 53380355904 Count: 222668 Avg: 239730 Violations: 824 Total time 53380355904 (53s)
@add5tar
The error persists even with the dev build, but it seems to work now...
The horses stay (as of the latest dev 1.0.4) but the leads seem to be destroyed. This is awesome though! Thank you for preventing their disappearance
Edit: Actually, this is even stranger.. the leads are actually still there.. it seems to be more of a rendering issue. Once you walk away from the chunk, let it disappear, and then walk back, the leads reappear
Hey nice plugin, but since I downloaded the latest dev built, it is not working:
Here is the config.yml:
pastebin!
I am running CraftBukkit version git-Bukkit-1.5.2-R1.0-18-ga8c0dc1-b2808jnks (MC: 1.6.2) (Implementing API version 1.6.2-R0.1-SNAPSHOT).
@KnightsValor9
I can't see why that error would occur. Would you mind trying the dev build and let me know how it goes?
https://www.dropbox.com/s/lp1qj8881yntzcx/NaturalHorses-1.0.4dev.jar
@dickwick
Hmm.. OK well I have no idea why that fixed it. I didn't really change anything :/ It was mostly just some debugging to find out why its giving errors. But thanks for testing it :) I will include that in the next version.
@add5tar
no error at all: http://pastebin.com/raw.php?i=azQRmQWB
@add5tar
Server Log on startup
NaturalHorses Config
/ver Info: 2013-07-09 18:30:45 [INFO] This server is running CraftBukkit version git-Bukkit-1.5.2-R1.0-18-ga8c0dc1-b2808jnks (MC: 1.6.2) (Implementing API version 1.6.2-R0.1-SNAPSHOT)
@dickwick
You didn't have any error messages?? Can you pastebin the startup messages from the plugin?
@add5tar
Looks OK so far! Thanks :)
@dickwick
Try this dev build. It might still give you an error, but it should continue. Even if it works, can you send me a pastebin of the error if you get one?
This is not approved by Bukkit! https://www.dropbox.com/s/lp1qj8881yntzcx/NaturalHorses-1.0.4dev.jar
@add5tar
I tried it with latest Jenkins versions of World* from here http://build.sk89q.com and latest #1021 Spigot
I will try test build ;)
@dickwick
Works perfectly for me with WG. Possibly a version issue? Can you tell me your version of WorldGuard and WorldEdit? I will also work on a new test build for you if you are happy to try one?