SilkSpawners

Spawner vs. Silk Touch

SilkSpawners - Harvest mob spawners with silk touch

Version v3.2.2

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

This plugin was originally written and maintained by mushroomhostage, since he sought for a continuation I'm the new developer.
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)

Demonstration

Thanks @smsunarto||Scott Moses Sunarto

Features

  • Spawner retains creature type
  • Works on any spawner
  • Crafting of each spawner
  • 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
    • Console support
  • Left-click spawner with spawn egg to change type (consuming egg or not)
  • 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)
    • Spout (optional)
  • 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
  • NEW: There is an economy addon to charge the users when the change a spawner: SilkSpawnersEcoAddon

Third party features, all of them can be disabled:

  • This plugin sends usage statistics! If you wish to disable the usage stats, look at /plugins/PluginMetrics/config.yml!
  • This plugin uses ErrorLogger to make errors easier to understand and to report
  • Also this plugin is equipped with an auto Updater

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!
PERMISSIONS ARE OFF BY DEFAULT

Command: /spawner
Aliases: silkspawner, ss, spawner, silk, spawnersilk
Description: Change or view the monster spawner creature type
Usage: /silkspawners [creature]|[creature]egg|all

Command: /egg
Aliases: eggs, eg
Description: Change the egg type
Usage: /egg [creature]|[creature]egg|all

Localization

http://dev.bukkit.org/static/base/images/flags/us.png English (default) by xGhOsTkiLLeRx
Download

http://dev.bukkit.org/static/base/images/flags/de.png German by xGhOsTkiLLeRx
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!
Thanks 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.

https://dl.dropbox.com/u/26476995/jenkins.png (Latest dev builds/bleeding edge builds) - - Dev builds from Jenkins
https://dl.dropbox.com/u/26476995/github.gif (Source code hosted on Github) - - Source Code

Future Plans (a.k.a. ToDo)

Make sure to take a look at the always up to date ToDo!

Known Bugs

  • I have not found any while testing, if you find any, create a ticket!
  • Mobs like Ghasts or Giants are too big for the spawner, this a Minecraft bug and I can't fix that

Technical Details

SilkSpawners stores the entity ID of creature within the mob spawner item:

  • Durability (damage value)
  • Older versions used some sort of "fake enchantments", this is not longer used!

When a spawner block is broken, a spawner item drops with the appropriate entity ID stored, obtained from the creature spawner tile entity (CraftCreatureSpawner).
When a spawner block is placed, the entity ID is read from the item and the spawner creature type is set (using the CreatureSpawner BlockState).

EntityIDs of the vanilla mobs.

Bukkit provides an EntityType wrapper, but it is implemented using an enum which cannot be easily extended by mods (without using reflection, as they do for the ItemStack wrapper), so SilkSpawners does not use this enum when possible, and instead directly accesses the net.minecraft.server classes if it can.
If it fails or if useReflection is false, SilkSpawners will fallback to the EntityType wrapper.

API

SilkSpawners is equipped with an API. You can find more information here!

Changelog

Version 3.2.2

  • Updated for 1.5.2
  • The plugin won't start, if the Minecraft version is wrong
  • Fixed wrong default recipe

Version 3.2.1

  • Updated for 1.5.1
  • AutoUpdater won't download files for the wrong MC version anymore

Long changelog

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!! :)

http://dl.dropbox.com/u/26476995/silkspawners_banner.png
http://dl.dropbox.com/u/26476995/silkspawners_banner_small.png

Statistics (from MCStats)

http://mcstats.org/signature/SilkSpawners.png

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)

License

This plugin is released under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported (CC BY-NC-SA 3.0) license!

http://i.creativecommons.org/l/by-nc-sa/3.0/88x31.png

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of xGh0sTkiLLeRx xGh0sTkiLLeRx May 19, 2013 at 01:49 UTC - 0 likes

    @JorgeFuentes: Go

    Thanks, finally someone with mod feedback, I'm testing this out and fix what I can!

    @busterguy: Go

    As said on teamspeak, I'll look into it :)

    Need a dev? PM me!

    Want to have a dropbox acc with 500MB more space? Contact me!

    Server | Twitter | YouTube | Github

    Donations are very appreciated!
    http://goo.gl/tXb7G

  • Avatar of JorgeFuentes JorgeFuentes May 18, 2013 at 01:01 UTC - 0 likes

    Hi! Although this plugin works with most of my mods, it won't take "Grimoire of Gaia 2" (mod) mobs, "Primitive Mods"(mod) mobs, or "More Mobs" (bukkit plugin) mobs.

    Either that or I don't see in the documentation how to enable them. It works with Mo'Creatures and Atum, however. :D

  • Avatar of busterguy busterguy May 17, 2013 at 14:10 UTC - 0 likes

    Hi there is a bug with jobs plugin and this one. When you hit sugar cane with a spawner you will still get money and exp. But because you hit it with the mob spawner you don't break the cane.

  • Avatar of xGh0sTkiLLeRx xGh0sTkiLLeRx May 16, 2013 at 23:12 UTC - 0 likes

    @Flatline99: Go

    It's planned to add a reload command in the next version!

  • Avatar of Flatline99 Flatline99 May 16, 2013 at 20:12 UTC - 0 likes

    Hey, does this plugin have a reload function? Thanks.

  • Avatar of xGh0sTkiLLeRx xGh0sTkiLLeRx May 16, 2013 at 15:19 UTC - 0 likes

    @Mr_x_socks: Go

    Works fine for me.
    A fireworks spawner won't spawn anything, anyway ;)
    Sorry to tell you that the problem is on your end...
    If you have an error from SilkSpawners however, please post it!

    Last edited May 16, 2013 by xGh0sTkiLLeRx
  • Avatar of Mr_x_socks Mr_x_socks May 16, 2013 at 00:31 UTC - 0 likes

    When i use this plugin and trow a firework my server crashes for a few seconds did this work fine for you? if this only happend for my server i will search another solution but i investigated the problems with McMmo because it throws fireworks when it uses the specialpower and thoses crashes the server I Think..

  • Avatar of xGh0sTkiLLeRx xGh0sTkiLLeRx May 12, 2013 at 13:06 UTC - 0 likes

    @kyrankez: Go

    You can set the minimum SilkTouch level to 0.
    Then every spawner mined with any pickaxe is dropping the spawner (if you have the permissions of course)

  • Avatar of kyrankez kyrankez May 12, 2013 at 12:38 UTC - 0 likes

    Is there a way so you don't have to use an Silk Pick?

  • Avatar of xGh0sTkiLLeRx xGh0sTkiLLeRx May 06, 2013 at 11:51 UTC - 0 likes

    @randompenguith: Go

    You know that X is the egg, right? Just asking ;)
    Works fine for me, here is my setup:

    craftableSpawners: true
     
    recipeTop: XXX
    recipeMiddle: XOX
    recipeBottom: XXX
    
    ingredients:
    - O,OBSIDIAN
    
    Last edited May 06, 2013 by xGh0sTkiLLeRx

Facts

Date created
Jan 22, 2012
Categories
Last update
May 02, 2013
Development stage
Release
Language
  • deDE
  • enUS
License
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported (CC BY-NC-SA 3.0)
Curse link
SilkSpawners
Downloads
52,954
Recent files

Authors

Relationships

Optional dependency
SilkSpawnersEcoAddon
SpoutPlugin