spawns
Spawns is a plugin for Bukkit and Minecraft that allows you to fully customize the spawning behaviour of mobs on your server.
Features
- tweak the default Minecraft spawns or replace them completely
- set mobs to spawn under conditions they never normally would
- block certain mobs from ever spawning
- cause mobs to spawn with potion effects, equipment, saddles, etc.
- cause mobs to spawn in different variants, like powered creeper, wither skeleton, etc.
- mobs appear in the world in the same way as they do normally, so are compatible with all other plugins
Dive right in here to see how to make config files or keep reading for an overview of Minecraft spawning.
Default spawning
Minecraft spawning works like this:
Every spawn cycle (1 tick or 1/20 second by default for hostile mobs) the game makes a list of all the chunks around each player, up to a radius of seven chunks. Each chunk will only be counted once, even if that chunk is around several players.
Once this list is complete a mob limit is calculated. The limit is higher the more chunks are in the list. If the limit is lower than the current amount of a mob type in the world then the cycle will be cancelled.
If the limit is not yet reached a random block from each chunk in the list will be calculated and this chunk will be used as the centre point for a pack of mobs to spawn around. In order to continue, this block must be water for water mobs (only squid so far) and air for any other type of mob.
If this block is suitable then a maximum of 12 random blocks are chosen from up to 20 blocks away, but always at the same height as the centre block.
Lastly, The individual blocks are checked that they can physically fit the mob, so they need to be air, have air above and an opaque block below. The type of mob is chosen based upon the matching conditions (biome, height, floor block type, etc.) and the final mob is chosen randomly from all mobs that are eligible to spawn there. All other mobs in the pack will be the same type.
Permissions
spawns.can-reload-config, which allows the user to reload the config. Default is Op.
spawns.can-count-mobs, which allows the user to display a summary of mob amounts in a world. Default is Op.
Commands
/reload-spawns, or /rs, which reloads the config without having to reload the server. Any mobs already in the world will be unaffected by any changes in the config.
/count-mobs, or /cm, which displays a list of mob numbers in the world. Add a world name argument to specify a world (optional if run as a player) and / or a mob type argument to choose one type of mob to count.
Update checking
If you like, you can set the plugin to check for any newer versions that get released. To do this add an element to the config.xml file, like this:
<check-for-newer-version/>
When this element is present the plugin will report if it finds a newer version. This only works for release builds so you won't be bothered by any beta or dev builds. To disable this checking simply remove the element.
Note that no update will be downloaded even with this set.
Examples
I would love to get any example config/packs/mobs files you have created to add to the docs, so if you have one you're proud of send it in and I'll add it.
spawns took a lot of work, so if your server is enriched by it please consider sending some love my way!
<a href="https://www.paypal.com/cgi-bin/webscr?return=http://dev.bukkit.org/server-mods/mobs/&cn=Add special instructions to the addon author(s)&business=apodlesna@gmail.com&bn=PP-DonationsBF:btndonateCCLG.gif%3ANonHosted&cancelreturn=http%3A%2F%2Fdev.bukkit.org%2Fserver-mods%2Fmobs%2F&lc=US&itemname=spawns+%28from+Bukkit.org%29&cmd=donations&rm=1&noshipping=1¤cycode=USD"><img class="aligncenter" alt="donate" src="https://www.paypalobjects.com/enUS/i/btn/btndonateLG.gif" /></a>
If you're penniless or like spawns but not that much I'm also partial to TF2 items. Send any you don't want my way! STEAM id: coldntired
If you don't know what TF2 is, then start playing! It's free and fun!
For other projects, links, help, etc. please visit the main website.
You can also follow sylian.eu on Twitter for updates.
-
View User Profile
-
Send Message
Posted Nov 30, 2014@coldandtired
No 1.8 is out. Bukkit had drama to say the least so others took it upon themselves to work it out, to say the least. Move from bukkit and join us http:www.spigotmc.org/threads/bukkit-craftbukkit-spigot-1-8.36598/
-
View User Profile
-
Send Message
Posted Nov 30, 2014@zachrywilsn That error means that the version you're running on the server doesn't match the version the plugin builds against.
The file I sent you in a PM is for R4 (which the Spigot build was in July). The latest version on BukkitDev is R3, I believe.
-
View User Profile
-
Send Message
Posted Nov 30, 2014@coldandtired Yah here is the Error Report. Hope it helps.
-
View User Profile
-
Send Message
Posted Nov 29, 2014@zachrywilsn That must have slipped through the cracks. Do you have any logs or errors?
-
View User Profile
-
Send Message
Posted Nov 29, 2014@coldandtired
Im sure your aware but here is the issue on my end. Wont load the plugin. Also Will send support as always if this gets a update before X-mas! Happy holidays!
-
View User Profile
-
Send Message
Posted Nov 29, 2014@Schlutteh I had a bit of a break from it as there wasn't much that could be done until the dust settled. So I'm working on a game for Windows 8.1/Windows Phone 8.1 in the meantime.
That's nearly finished though so I'll be returning soon to see what's new in 1.8!
-
View User Profile
-
Send Message
Posted Nov 28, 2014It's here!!!
Hopefully Spigot is much the same as Bukkit for coding, and I hope you haven't lost interest in this project, I really miss Spawns!
-
View User Profile
-
Send Message
Posted Oct 23, 2014@coldandtired
@coldandtired
Spigot announced spigot 1.8 will be available sometime between now and December. They have been working on their own implementation that is independent of Bukkit while using common API.
-
View User Profile
-
Send Message
Posted Oct 5, 2014Oh, and what with Microsoft and everything. Good luck with that ;)
-
View User Profile
-
Send Message
Posted Oct 5, 2014<3
Thanks,
Sorry for the long reply time. I haven't been attending the Bukkit pages for a while and Server Dev has grinded to a halt until we see a new API appear, however thanks for the reply and we look forward to seeing you still developing this great plugin.
Had a look at the pages on your site and it looks great. Thanks for sticking with us.
Shaythegoon
-
View User Profile
-
Send Message
Posted Sep 25, 2014@shaythegoon <3
I saw something like this coming a long time ago (although not this quick and destructive!) so I've been taking steps to insulate the plugins from Bukkit (or any particular implementation) for a while.
Most of them are now in pretty good shape to switch but Sponge is still in its infancy.
On the plus side, I now have http://sylian.eu up and running pretty much how I want it, including forums and blog posts and similar good stuff!
-
View User Profile
-
Send Message
Posted Sep 23, 2014Hi cold,
I know your probably not going to be reading this for a while after I post it. It just wanted to let you know that the best option for this plugin now is to move it over to Sponge. I know this is annoying but I was looking through the list of plugins that are going to be ported and the list is pretty extensive.
Who knows, when Sponge is done then maybe we'll be in a better situation than we were before. Bukkit was a ticking time bomb anyways.
Good Luck Coldandtired,
See you on the other side ;)
Long time follower Shaythegoon
-
View User Profile
-
Send Message
Posted Sep 11, 2014@zachrywilsn There's no real alternative at the moment. Spigot is just optimized Bukkit, Canary seems relatively unused and is a few versions back, Sponge is a long way away, Glowstone doesn't offer the same features, the official API is vapourware, etc.
When one of them emerges as a serious contender we can all think about porting the relevant portions but that is likely to be months' away.
-
View User Profile
-
Send Message
Posted Sep 10, 2014@coldandtired
Sponge maybe? They have already started a new bukkit. Well I wont say that exactly but http://www.spongepowered.org/ Is where we should start to move to. At least thats what Im seeing.
-
View User Profile
-
Send Message
Posted Sep 8, 2014@Schlutteh There's no chance that Bukkit will survive this, sadly. While the forums will apparently stay up for a while I'm uncertain about BukkitDev as it's currently pretty unusable.
Hopefully it will just be left alone and the download links, comments, etc. will continue working as normal.
-
View User Profile
-
Send Message
Posted Sep 8, 2014@coldandtired
I am both sad and happy to read this. Going to miss my Spawns, but happy that you're planning to continue when this whole Bukkit mess is sorted out.
-
View User Profile
-
Send Message
Posted Sep 7, 2014Updated the description. Please read.
-
View User Profile
-
Send Message
Posted Aug 27, 2014@Templari0n I've never seen a working solution to get mod mobs to play nicely with Bukkit servers, to be honest.
-
View User Profile
-
Send Message
Posted Aug 25, 2014@coldandtired Just Another Spawner wiki link here.
I managed to get your plugin working (test case was to spawn skeletons in daylight). Yey!
Now I am wondering what are the creature IDs of non-vanilla mobs. Is there a command to print all IDs or can I guess it somehow? I am trying to get Lycanite's Mobs in control next.
-
View User Profile
-
Send Message
Posted Aug 25, 2014@Templari0n I don't know what JAS is, but Spawns puts mobs into the world as if Minecraft was doing it. so the mobs should be indistinguishable from vanilla mobs.