SilkSpawners
SilkSpawners - Harvest mob spawners with silk touch
Version v8.0.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.20.4 (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
- 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.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
Version 7.5.0
- Adds support for Minecraft 1.20(.1)
- Fixes an update with the auto updater that prevented it from loading
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
The fireworks spawner won't actually spawn any fireworks. After I got the name I needed to use, it spawned just fine, then after it was placed, it did 1 blank firework and then did absolutely nothing after that.
The XP spawners might not be working? :E
I was going to arrange a event in my server which would been that there is bunch of XP spawners hidden up in air, they would drop free exp for certain amount of time... Unfortunately after i finished all and set everything read, i noticed /ss XPOrb , will make the spawner exp drop spawner but the orbs u gather wont give any experience..........
EDIT:
i had to change the exporb spawners into ThrownExperiencePotion spawners or what ever that was called :D
@xGh0sTkiLLeRx
Wow! Great idea. Thanks for adding this.
You want to CHARGE/LET YOUR USERS PAY, when the change a spawner?
Look at the addon I develop: http://dev.bukkit.org/server-mods/silkspawnersecoaddon/
This requires the latest SilkSpawners builds [will release 3.1, asap when the eco addon is accepted!]
@Gunnerrrrr
You're welcome.
I already have plans for 3.1 :)
Maybe I write a little economy addon for SilkSpawners (new plugin which uses the API)
@DarkBlade547
I can't understand anything - format your message, and speak clearly!
@theDecrowned
Just SilkSpawners, I edited the warning at the file a bit!
@midnightfang22
If you want to see if the entities are enabled, put verboseConfig to true and look at the output of the console log.
You may need to manual add the entities to the config.yml then (you can send me them then, I can add it to the defaults)
And then you can use them like you would normal.
/spawner list also shows all available creatures!
@theDecrowned
Only the silkspawner, because the permissions that were there before were split in even more permissions, making some of the old ones non-existent anymore.
How can I get the other entities to work? Do I do /spawner <non-vanilla entityhere> or is there a way I have to enter the command? I want to see if it can make the firework spawner lol...
When you warn that it will break permissions, do you mean it will break ALL of your permissions, or only the SilkSpawner permissions?
By the way, thanks so much for updating.
Hey i want Mob spawner, when people put it in a cube, this mob spawn Pigs... but spawn the same than original :z help me plz
Thank you for the update!
@xMinecraft
Next time please use http://pastebin.com
Every time on startup?
Seems like an error with ErrorLogger.
Are you using a special cb? (spigot, cb
++
or modded craftbukkit? mcpc+ e.g.)Edit:
Please try build #66 and tell me if this is fixed now!
http://ci.dustplanet.de/job/SilkSpawners/66/
java.lang.ArrayIndexOutOfBoundsException: 1
10:05:49 CONSOLE: [SEVERE] at java.util.Arrays$ArrayList.get(Arrays.java:2866)
10:05:49 CONSOLE: [SEVERE] at de.dustplanet.util.ErrorLogger.loadMap(ErrorLogger.java:152)
10:05:49 CONSOLE: [SEVERE] at de.dustplanet.util.ErrorLogger.register(ErrorLogger.java:57)
10:05:50 CONSOLE: [SEVERE] at de.dustplanet.silkspawners.SilkSpawners.onEnable(SilkSpawners.java:63)
10:05:50 CONSOLE: [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
10:05:50 CONSOLE: [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457)
10:05:50 CONSOLE: [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
10:05:50 CONSOLE: [SEVERE] at org.bukkit.craftbukkit.v1_4_R1.CraftServer.loadPlugin(CraftServer.java:282)
10:05:50 CONSOLE: [SEVERE] at org.bukkit.craftbukkit.v1_4_R1.CraftServer.enablePlugins(CraftServer.java:264)
10:05:50 CONSOLE: [SEVERE] at net.minecraft.server.v1_4_R1.MinecraftServer.j(MinecraftServer.java:321)
10:05:50 CONSOLE: [SEVERE] at net.minecraft.server.v1_4_R1.MinecraftServer.e(MinecraftServer.java:300)
10:05:50 CONSOLE: [SEVERE] at net.minecraft.server.v1_4_R1.MinecraftServer.a(MinecraftServer.java:259)
10:05:50 CONSOLE: [SEVERE] at net.minecraft.server.v1_4_R1.DedicatedServer.init(DedicatedServer.java:149)
10:05:50 CONSOLE: [SEVERE] at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:399)
10:05:50 CONSOLE: [SEVERE] at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849)
I deleted directory of Silkspawners but this isn't solution..
@PremiumHHH
Will be added maybe later.
There a way to add a price to the changing of spawners?
@zergilng
Learn to read - the description states that this build is for 1.4.6 only
Use a dev build for 1.4.7 compatibility!
http://ci.dustplanet.de/job/SilkSpawners/
i'm using 1.4.7 r1.0 recommanded build please update for 1.4.7!~
[SEVERE] Error occurred while enabling SilkSpawners v3.0 BETA 3 (Is it up to date?) java.lang.NoClassDefFoundError: net/minecraft/server/v1_4_6/EntityTypes at de.dustplanet.silkspawners.SilkUtil.scanEntityMap(SilkUtil.java:270) at de.dustplanet.silkspawners.SilkSpawners.loadConfig(SilkSpawners.java:166) at de.dustplanet.silkspawners.SilkSpawners.onEnable(SilkSpawners.java:54) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.loadPlugin(CraftServer.java:282) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.enablePlugins(CraftServer.java:264) at net.minecraft.server.v1_4_R1.MinecraftServer.j(MinecraftServer.java:321) at net.minecraft.server.v1_4_R1.MinecraftServer.e(MinecraftServer.java:300) at net.minecraft.server.v1_4_R1.MinecraftServer.a(MinecraftServer.java:259) at net.minecraft.server.v1_4_R1.DedicatedServer.init(DedicatedServer.java:149) at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:399) at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849) Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_4_6.EntityTypes at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:70) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 14 more
<3 silkspawners. I made all the mob eggs craftable and now making mob spawners craftable. EPIC.
@xGh0sTkiLLeRx
woot
@lukecfairchild
Works on all 1.4.7 builds so far.
Latest build (#2617) fixed the spawner issue, btw!
@xGh0sTkiLLeRx
I will run more tests to see if it is silkspawners or not. Also this was said in that bug reported you showed: Build 2607: Spawners behave normally and will stop spawning pigs when they are destroyed. Build 2608: Spawners behave abnormally and will continue to spawn pigs after being destroyed.
Does silkspawners work on 2607? If so I will probably switch to that build.
@lukecfairchild
Are you sure the bug/crash was caused by SilkSpawners?
Because I don't use the "worldServer" field, which seems to caused the error...
@Swainoo
Normally you should be able to receive the spawners via silktouch when the permissions are turned off, I'll re-test it before I release 3.0 anyways