SilkSpawners
SilkSpawners - Harvest mob spawners with silk touch
Version v8.1.0
Thanks for MILLIONS of downloads!
A sign shop addon for buying and selling spawners can be found here: https://www.spigotmc.org/resources/12028/
Description
Ever wanted to move a mob spawner? With SilkSpawners, you can now pick up and move monster spawners.
If you use a pickaxe with the silktouch enchantment you will receive the spawner again.
You can control each mob spawner, allow crafting and of course mod support.
I'm happy to hear about your opinion, just leave a comment with a feature request, bug, improvement or just a personal opinion.
As a reminder I want to say that I worked very long on this and really appreciate a 'thank you' in form of a donation! (See details on the bottom or the button on the top)
Demonstration
Thanks @Koz4christ
Features
- NEW A sign shop addon can be found here: https://www.spigotmc.org/resources/12028/
- Added BarAPI support (for 1.9+ only: support for Vanilla implementation)
- per Type spawner name and explosion chance!
- Support Minecraft from 1.8.8 to 1.21 (with the exclusion of 1.9 and 1.10)
- Configure a percentage of dropping a spawner on explosions (TNT & creeper)
- Spawner retains creature type
- Works on any spawner
- Crafting of each spawner (own recipe for every mob if wanted)
- Showing of creature type when spawners are placed, broken or held
- Commands for
- Changing a spawner in hand or sight
- Getting a new spawner (or egg) in the hand NEW: With offline player support!
- Console support
- Left-click spawner with spawn egg to change type (consuming egg or not)
- If enabled, right click with an egg and a MonsterSpawner of this type will appear
- Permissions support
- Support for
- Custom mobs added by client/server mods
- Spawning any entity with spawn eggs (dragons, non-creature entities, etc.)
- Dumping entity ID map on startup for debugging mods
- Compatible with
- CraftBukkit
++
and Spigot (see spawnersUnstackable) - MCPC(+) and ported mods (auto-detects IDs)
- Not Enough Items (newer builds only)
- CraftBukkit
- Flexible creature type names on input (pigman, zombiepigman, pigzombie, etc. all accepted), official names on output (Magma Cube, not "LavaSlime")
- Colored item names
- Localization of all messages
- Mimic support
- There is an economy addon to charge the users when they change a spawner: SilkSpawnersEcoAddon
Third party features, all of them can be disabled
Please take a look at the detailed information about bStats below!
- bStats for usage statistics
- Auto Updater (connecting to http://dev.bukkit.org for updating checking)
- can be disabled if you switch autoUpdater to false in the config.yml
Configuration
See the config here!
(Fully commented!)
Permissions
You can find a list of permissions and creatures here!
Commands
Only the bukkit permissions are supported!
I highly recommend that you use a plugin for permissions like bPermissions
If no permission system is found, all commands are for OPs only!
If you suffix a mob name with egg you will receive an egg instead.
NEW NEW NEW NEW
/ss help - Displays the help menu.
/ss list|all - Displays all available creatures.
/ss view - Displays information about the viewed spawner.
/ss reload|rl - Reloads the configuration files.
/ss change|set <newMob> - Changes the spawner you are currently holding or viewing at.
/ss give|add <player> <mob> [amount] - Gives a spawner or egg to the player. Amount is optional.
/ss selfget|i <mob> [amount] - Gives a spawner or egg to you. Amount is optional.
NEW NEW NEW NEW
Localization
English (default) by timbru31
Download
German by timbru31
Download
Dutch by Jeroendedoem
Download
Indonesian by smsunarto
Download
Norwegian by Riaz
Download
Swedish by Syrianen
Download
Italian by xMarioAnak
Download
Spanish by JUMBONET
Download
Turkish by xwerswoodx
Download
French by Don_Sensileone
Download
/ Portuguese by Luligabi
Download
Polish by PLKaratusPL
Download
Russian by EV.Jack
Download
Feel free to share your localizations and they will be added here, just leave a comment with a link to a translated localization.yml!
Thank you for contributing!
Downloads/Source Code/Dev Builds
Development builds of this project 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.
(Latest dev builds/bleeding edge builds) - - Dev builds from Jenkins
(Source code hosted on GitHub) - - Source Code
Future Plans (a.k.a. ToDo)
Maybe add economyDeveloped an addon, SilkSpawnersEcoAddonBetter API?Added in 3.1, custom event
Known Bugs
- If sign shops are not working, you may want to try my custom sign shop addon: https://www.spigotmc.org/resources/12028/
- Mobs like Ghasts or Giants are too big for the spawner, this a Minecraft bug and I can't fix that
- Some older Essentials versions/ports are not updated properly for 1.8. There is a maintained fork called EssentialsX you should try.
- If you use Gui Sign Shop and users are unable to place spawners, you need to grant them the guishop.spawner permission from Gui Sign Shop
- Holographic Displays makes Slime spawners non functional
- UltraCosmetics, causes some spawners to non function: https://github.com/iSach/UltraCosmetics/issues/259
Technical Details
You can find more information here!
API
SilkSpawners is equipped with an API. You can find more information here!
Changelog
Version 8.1.0
- Adds support for Minecraft 1.20.5/1.20.6
- Adds support for Minecraft 1.21
- Re-adds support for Minecraft 1.20.2
- Adds support for Mimic
Version 8.0.0
- Adds support for Minecraft 1.20.4
- Support for 1.8, 1.9 & 1.10 has been dropped
- Of course 1.8.8 remains supported
Credits
@mushroomhostage for his awesome plugin! I'm glad you allowed me to maintain it!
Thanks to all the testers with the 3.0 dev versions!
Banner
Feel free to use this banner!! :)
Statistics (from bStats)
Donations
I worked really hard on this plugin and I'm very happy about any donation.
Support me & buy me some beer, this makes me happy and keeps me interested in this plugin.
Donation chain: -> I receive some money -> Buy coffee -> Work longer -> Faster Updates -> Your benefit!
There is a button on top of this page (right to the different tabs)
I'm accepting bitcoins, too! :)
Address: 1NnrRgdy7CfiYN63vKHiypSi3MSctCP55C
License
This plugin is released under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) license!
Information about the data usage collection bStats
Disabling bStats
The file ./plugins/bStats/config.yml
contains an option to opt-out.
The following data is read and sent to https://bstats.org and can be seen under https://bstats.org/plugin/bukkit/SilkSpawners
- Your server's randomly generated UUID
- The amount of players on your server
- The online mode of your server
- The bukkit version of your server
- The java version of your system (e.g. Java 8)
- The name of your OS (e.g. Windows)
- The version of your OS
- The architecture of your OS (e.g. amd64)
- The system cores of your OS (e.g. 8)
- bStats-supported plugins
- Plugin version of bStats-supported plugins
Is it possible to add a chance for them to get it in the config. Like if they break spawner they have a 10/100 chance of getting it.
@mushroomhostage
Hmm ok...
Can't you just add something like this in the config file:
recipe: {"ABC", "DEF", "GHI"}
A = Iron Fence
B = Monster egg
C = Etc...
?
@deleted_6947223
Yes, you can disable SilkSpawners recipes then use a recipe customization plugin to add any recipe desired for the spawners. The trick is you need use a plugin supporting non-standard enchantments in the recipe output. Cookbook as of it's 1.0.1 release doesn't but I've submitted a patch to the author.
Anyone know of any other recipe plugins which support non-standard enchantments? If they do let me know and I can recommend them for use with SilkSpawners. The recipe output you can use is the monster spawner item + the Silk Touch enchantment with the level as the entity id (see config.yml).
Can we custommize the crafting recipe?
If not, please add it :D
@Avous
Added support for enabling/disabling crafting recipes per-creature in SilkSpawners 1.4, just released.
@xGh0sTkiLLeRx
Cool thanks, I've merged your pull request into 1.4, crafting recipes are now shaped as they were meant to be :). And yeah, SilkSpawners is basically the product of working around a bunch of bugs in Bukkit involving manipulating spawners.. it isn't as easy as it should be, but fortunately, the situation is getting better, BUKKIT-329 is fixed in the latest CraftBukkit builds so we'll be able to use durability on spawner items instead of abusing enchantments :P.
@horrorduck123
@RustyDagger
Sorry I haven't had a chance to look into these duping issues with mcMMO and custom builds of Factions (it worked when I tested it in the unmodified factions). I listen with MONITOR priority (last) and ignore cancelled events and check the WorldGuard API before dropping the spawner item, but I guess that isn't enough :/. Anyone happen to know what else I need to do to fix this?
@penguinstorm
If you're using any of the extra mobs make sure you have the respective mod installed which adds the new mobs. To be clear SilkSpawners doesn't add any new mob types by itself, it only accesses what mobs are already there, either from vanilla Minecraft or added by other mods. But I agree this support can be confusing or misleading, I've updated the wording about mod compatibility. So far I've tested SilkSpawners with AnimalBikes on 1.2.3-R0.3, and Natural Selection and RanCraft Penguins on 1.1-R4, using the modded builds from MC Port Central. If you are using the mods and they're properly installed but you're still not seeing SilkSpawners being able to spawn the new mobs try enabling dumpEntityMap then adding the new entity IDs, if it still doesn't work let me know and I'll see what I can do.
Great plugin!
Exactly what I needed.
I created a pull request for the shaped recipe.
And I saw you have to use ugly methods, because a spawner isn't updated when placed.
I had the same issue and gave up, glad you could solve this! :)
Hi i am having some trouble for example i do /spawner hen then place the spawner but only spawns pigs not hens. yes I do have custom spawning as true. And also if i try to spawn a penguin it says "creature Emperor penguin not recognized".
can you make it possible to limit the type of spawners you can craft? I wouldn't like my users having unnatural spawners since i sell animal eggs for farms.
the plugin has a problem with dupeing spawners with the plugin mcmmo use super breaker on the spawners and it will just shoot out spawners its weird you might want to check it out :( if you can fix it that would be awesome
mushroomhostage, thanks for making this plugin! It has been great being able to collect spawners from cave diving and then making some awesome battle arenas. This mod has our gameplay much more fun.
I have been using SilkSpawners 1.0.1 on my CraftBukkit 1.1-R4 server for a while now and just upgraded to CraftBukkit 1.2.4-R1.0 and SilkSpawners 1.2. Works great.
LHammonds
I too am also seeing a dupe issue with factions :( i run a custom build of factions with some event priority changed for the command handler (cause worldedit is derp).
@mushroomhostage
I can confirm that it's working correctly with world guard, and that your fix for craftbukkit is also working as intended.
@penguinstorm
To support mobs added by mods you can edit plugins/SilkSpawners/config.yml (created on first load of SilkSpawners), adding or removing the mobs from the 'creatures' section of the config appropriately for what mods you have installed. It comes with mob IDs for the Natural Selection and RanCraft Penguin mods (available from MC Port Central) in the default config, so to use these mods with SilkSpawners all you have to do is uncomment the respective parts of config.yml and set useExtraMobs: true.
Mobs from other mods can be added if you know their IDs, if you want any other mod supported (must already be ported to CraftBukkit) or need any help finding the IDs let me know.
I noticed for custom mobs it mentioned something about editing the config of the mobs... what do you mean by that?
@lawliet555
Added WorldGuard checks in SilkSpawners 1.2. It works in my testing but I'm not too familiar with WorldGuard so please let me know of any problems.
Added new "spawnersUnstackable" config option in 1.2 as well. Normally, spawner items will stack (as long as they are of the same type), but when this option is enabled (note that it is still off by default) the stack size will be set to 1. Not positive this'll fix the CraftBukkit\+\+ problem since it manipulates inventory stacking only, but if you could try and let me know that would be great. Worst case it would require a fix in CB\+\+ but I would definitely like to support all of the Bukkit forks in SilkSpawners that I can.
Would it be possible to get this to respect world guard regions. When you break a spawner in a WG region it will drop the egg or spawner then re-spawn making it easy to dupe them
On the server that I admin on we use Bukkit plus plus and with this it stacks items when you break them. Break several pig spawner's then break a sheep spawner or something after wards they stack up and all become sheep spawner's. Would it be possible to get this to ignore the stacking function of Bukkit plus plus
Thx
Released SilkSpawners 1.1a adding Ocelot and Iron Golem spawners for 1.2.3-R0.2.
@ImmortalServers
@imabustya
Attempted to reproduce this problem with CraftBukkit 1.2.3-R0.1 + SilkSpawners 1.1 + Factions 1.1.6b but when I attempted to break a spawner in another faction territory, I receive the expected "You can't destroy" territory error and the spawner is not mined. Unable to reproduce. Could you please post your /plugins, /versions, and console output to ticket 2 for further investigation?
I've got a conflic with Factions... seems that if a spawner is in another factions claimed territory, the person can go mine at the spawner and get unlimited spawners... please fix!
@latexink
Yes, craftable spawners is fixed with the latest CraftBukkit builds. No change to SilkSpawners 1.1, but if you use CraftBukkit 1.1-R7 or the 1.2.3-R0.1+ beta builds, crafting spawners will now work as expected.
@imabustya
Thanks for the report, sorry no fix yet, but I will track this issue for in ticket 2 for a possible fix (needs more investigation).
Silk spawners still duplicates broken/mined spawners in Factions SafeZone and enemy territory.
Will this be fixed? I would really love to use this plugin but factions is a must on my server. =[