Spawner
This plugin allows you to set mob spawner types and optionally gather mob spawners with a Silk Touch enchanted tool.
Thanks to @shop1126 for this video which showcases some of the plugin's features.
This plugin allows you to set mob spawner types and optionally gather mob spawners with a Silk Touch enchanted tool.
Thanks to @shop1126 for this video which showcases some of the plugin's features.
I'm just putting the finishing touches on it. Upload coming very soon! I worked on it all day so hopefully it isn't too bad. Even still though I rewrote a lot of stuff so this next version is going to be very new and potentially dangerous, although maybe potentially better too.
It will only work on v1_10_R1 servers due to using NMS. I don't want to spend more time rewriting more stuff to deal with multiple versions right now but maybe some day. If you want to use other server versions you will just have to edit the code and recompile it, although I'm not sure that will work either in some cases due to using the offhand feature and maybe other API.
Hopefully I've fixed the pig spawner issues for good too, but if you see any accidental pig spawners please check your server logs for a Pigception and send me the stack trace if you see one, and let me know how I can reproduce the issue =)
There are a couple new language keys and a couple new options which should all be added to your config files automatically. The new options are break_into_inventory which will cause spawners to go to your inventory when broken and prevent_break_if_inventory_full which will prevent breaking the block if your inventory is full if set to true and cause it to drop the spawner on the ground like normal if set to false.
As always, please report any bugs!
Hey Everyone,
Just thought I should post an update. I worked on it a lot this weekend and almost have it ready. There's only one little bug left to squash (hopefully) and then a small feature to add for @meytroCURSE and maybe something else if I have time. I'll also have to remember to do a test to make sure it works when updating from the old version and fix that if it doesn't.
The reason it's taking so long is not only that I've been busy with work like I said before but also because I've implemented functions for storing the data for spawners directly in NBT in hopes that it will fix the Pig spawners issue and to prepare for future changes for new features on the TODO list. That part seems to be working fine but rewriting everything to work with this is taking a bit longer than expected due to various issues that keep showing up one after the other. So with any luck I'll be done tomorrow!
Next if there aren't any issues that require fixing I'll work on Spawner 3.0 which will include tab completion, Vault compatibility to charge for spawners, baby spawners, and mobs with armour. Or at least any mobs that can have babies and armour. I think it used to be just zombies but I don't know if it's changed since then so I'll have to look into that. Also there will be the ability to limit the number of spawners a player can give or change and maybe even the number they can carry at once, I don't know. The entire command system will be rewritten but hopefully remain unchanged from a player perspective. Except for admins will be able to modify the configuration from within the game using commands. The config will be restructured quite a bit as well. Eventually I can also make it so a spawner can spawn multiple mob types and other neat stuff but that will come after 3.0 is done.
Update incoming hopefully this weekend. Sorry it's taking so long, busy with work.
Hi Everyone!
I'm going to work on updating this for 1.10. It looks like there were some new mobs added which this plugin very likely has to be updated for. Feel free to bug me when updates like that are necessary since I don't run a Minecraft server and I don't usually pay attention to new updates and new mobs.
@K1LL3R_P4NDA
Sorry for the delayed response. I'm guessing you've figured this out by now since you can see this in at least 4 places.
1. On the right side of this page under Recent files.
2. When you go to the Files tab at the top in the Game version column.
3. When you go to the individual files, like this for example, and view the changelog where I will often indicate the exact build of Spigot I built the plugin against.
4. You can go view the source code on Github and look inside the pom.xml file under the spigot dependency section and see the version number there.
Where can i check what minecraft versions this plugin is avalible for?
@MasterMithrandir
Hey there,
Sorry for the delayed response, I didn't get the email until now.
Do you mean the frequency option in the config? If so this uses the SpawnerSpawnEvent which is a Spigot patch to Bukkit. It says: Called when an entity is spawned into a world by a spawner.
So providing Spigot still works the way it's supposed to then it shouldn't be affecting any other spawns besides ones from a spawner. There are no other events which prevent mobs from spawning besides that one in the plugin.
@ryvix
Hi there ryvix. Thanks a lot for your dedication maintaining this plugin.
I just wanted to ask if you think it is possible that the mob spawner nerfing feature could be affecting regular vanilla mob spawning. (Normal mob spawning independently from spawners)
I've never been able to duplicate the issue of it placing a pig spawner in recent releases. However maybe it's happening with specific Spigot builds or perhaps conflicting with another plugin. I'm in the middle of rewritting everything in a way that hopefully prevents all the pig spawner issues in the future though.
I'm currently having the same problem as Einwegrasierer. When I place the spawner down, It places a Pig spawner and not the spawner I wanted. I'm hoping you can get this fixed asap. Or maybe I'm missing something idk.
Hi, 1. I got Problems with this Plugin. I got only Pig spawners O.o 2. It drops no spawner. Only Destroy.
My server run on 1.9 vanilla and 1.9 Bukkit
@ryvix
my players and me would really appreciate it, thanks ;)
@meytroCURSE
Not really, sorry. Unfortunately I have been busy with other things and have more things to do too. Plus I was also last in the middle of adding NBT support of some sorts so probably after that's fixed. I also had other things but your suggested feature probably wouldn't actually take that long so I can probably do that next.
@ryvix
Can you already give us a release date for the update with my suggested feature :)?
@Timrek123
Economy support and mob properties coming in 3.0, hopefully.
@chief_yt
Never tried breaking a spawner with my hands but maybe having break, mine and nosilk would work.
What the permission so players can only break the spawners with there hands
What about a way to get wither skeletons, etc.?
I love this plugin! Please add a way to SELL a spawner. Maybe add /spawner take <entity> [player]. Please keep up the good work!
Yep same issue, if i give myself a spawner i says slime, or spider etc, but i place it and its a pig spawner, also even with all permissions i still cannot pick it back up it just breaks, with and without a silk touch pick.
@meytroCURSE
Ok I will add an option for that. And a sub-option for that to either drop or prevent breaking if their inv is full.