[INACTIVE][MECH/FIX/FUN] DropSpawners v1.0 - Make mob spawners work! [1000]

Discussion in 'Inactive/Unsupported Plugins' started by jonathanyc, Jun 9, 2011.

  1. Offline

    jonathanyc

    DropSpawners - Make mob spawners finally drop when broken (and spawn non-pigs)!
    Version: 1.0
    License: GNU GPL
    Download: http://icebrg.us/dl/DropSpawners.jar
    Source: http://icebrg.us/dl/DropSpawners.tar.bz2
    Donate:
    Has this plugin been helpful to you? I develop DropSpawners for free, but someone has to pay the bills (me). If you'd like to support DropSpawners development, please donate at icebrg.us/donate/?to=dropspawners. You can leave a note for me - donation lets me work on DropSpawners more.

    [​IMG]

    Created this for use on my server - made no sense that mob spawners wouldn't drop items when broken, and players were requesting it, so I coded this in around 15 minutes.

    Features:
    Mob spawners will drop a mob spawner item when they are broken by any tool. When placing a mob spawner, it will start spawning a random type of mob from the following:
    • Chicken
    • Cow
    • Creeper
    • Ghast
    • Giant
    • Monster
    • Pig
    • PigZombie
    • Sheep
    • Skeleton
    • Slime
    • Spider
    • Squid
    • Zombie
    • Wolf
    I haven't done extensive testing, but I believe each mob spawner must meet the requirements needed by a standard, natural mob spawner to spawn their respective entity.

    Known bugs/defects/potential problems:
    This plugin also packages the CraftBukkit JAR with it - this is because it uses functions not exposed in the Bukkit API. I'll try to remove this requirement in the future, but hey, it works, and it's all conveniently contained in one JAR!

    Permissions:
    DropSpawners supports PermissionsEx, Permissions, and the default Bukkit Permissions natively.
    To give a player the permission to place spawners that spawn Sheep, give them the permission:
    Code:
    dropspawners.sheep
    To give a player the permission to place any kind of spawners, give them the permission:
    Code:
    dropspawners.*
    To restrict a player from spawning Ghasts (for example), give them the negative permission:
    Code:
    -dropspawners.*
    Changelog:
    Version 1.0
    • Permissions support, allowing you to specify which creatures a user may spawn
    Version 0.2
    • Now, users are given a notification when they place a mob spawner about what mob will be spawned.
    Version 0.1
    • First released.
     
    Dominik9600 likes this.
  2. Offline

    iTzSmiLe

    Cool plugin . I test it now :D
    PS: Sorry for my bad english xD

    oh and download link is down :D

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  3. Offline

    jonathanyc

    Haha, sorry. My bad - it should work now. Thanks for testing!
     
  4. Offline

    iTzSmiLe

    and downloaded :D

    it works but when I place the spawner only pigs spawn?
    And can you make that comes a messenger: You have dropped a Zombie Spawner.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  5. Offline

    jonathanyc

    The fake pigs that spawn are due to a bug with the Minecraft client. This is something that we can't fix unless we make a client mod for it.
    About the message - I'm adding that right now. :D

    Thanks again for testing!

    Updated to 0.2 - adds notification text when you place a spawner about what mob will be spawned.

    Going to sleep now, will work more tomorrow. ;)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  6. Offline

    iTzSmiLe

    good thanks nice plugin
     
  7. Offline

    minerick

    tested,didnt work

    unless... i tested the given spawner

    also how i find a real spawner

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  8. Offline

    poiuyt580

    Request: permission nodes so that not everyone can break the spawner for a spawner block?
    Also, a way to change the monster spawn?
     
  9. Offline

    jonathanyc

    Wait, so what do you mean the plugin didn't work? It only works to drop a spawner if you find a real spawner to break, and it only works to set a spawner to spawn if you place it. (already placed spawners that have been spawned won't do anything). If it isn't working, I'll try to fix it.

    That's definitely in the future. I'll probably add permissions nodes for breaking spawners, and another for changing the monster spawn.
     
  10. Offline

    Plague

    added plugin version to the title
     
  11. Offline

    poiNt_3D

    Why it contains craftbukkit-0.0.1-SNAPSHOT.jar? 7 mb is too much for a plugin.
     
  12. Offline

    jonathanyc

    This plugin relies on functionality not exposed in Bukkit - as soon as I can remove this dependency, I will.
     
  13. Offline

    who885

    will this work with the monsterbox plugin?
     
  14. Offline

    jonathanyc

    It should. Haha, that's funny - it provides some functionality I was going to add, and this plugin provides some functionality that it was going to add. ;)
     
  15. Offline

    KingMathers88

    Could you make it so you can choose which mob is spawned from the spawner like be able to change it when you want? That would make this soooo much better.
     
  16. Offline

    EpicATrain

    Permissions Requested AND if you could can you make it so we can choose somehow?

    Also, try PigZombie not Pig_Zombie

    Also, why do you need the ENTIRE craftbukkit? Why not just the parts that you're using?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  17. Offline

    exrook

    You do not have to pack the whole craftbukkit.jar into the plugin you can just use a static jar import, like how you import bukkit into your plugin, as just like with bukkit, the craftbukkit api should also be there.
     
  18. Offline

    EpicATrain

    I'm wondering if this plugin is conflicting with BigBrother. Hours after installing this plugin, my server freezes and I get mass messages about BigBrother having a heart attack. This has never happened before...

    I would highly recommend everybody to stay away from this plugin. it's caused massive problems with my server. I have to reinstall because of it.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  19. Offline

    jonathanyc

    Nope, unfortunately, this does not work.

    I have no idea what BigBrother does, regarding this plugin, so I can't help you there.

    I'm sorry this caused problems with your server - it's running fine on mine.

    Note that I have discovered that the CrowdControl plugin does not play nice with DropSpawners.
     
  20. Offline

    ಠ_ಠ

    You should create a way to control which mobs spawn :eek: that would be amazing!
     
  21. Offline

    Bigwig222

    Please add configuration on which creatures can spawn, I don't like Ghasts :)
     
  22. Offline

    Dominik9600

    Good, can you add Permissions please? This is a verry Good plugin for my Server Thanks
     
  23. Offline

    jonathanyc

    I'll try to incorporate this in the Permissions support. Thanks for your suggestions!
     
  24. Offline

    compgurusteve

    You said every time you place the spawned it chooses the spawn at random, how much different is that function than a click-to-change? This way you won't have keep picking it up over and over again. ;-)
     
  25. Offline

    jonathanyc

    The problem is I can't be sure whether you own the spawner or not. :) Adding that will add more complication, but I'll work on it after I finish up Hungry v0.3 and some other stuff.
     
  26. Offline

    compgurusteve

  27. Offline

    Jazy Lopez

    Is there a way that you can fix the client side pigs... Really annoying to have fake pigs running around getting your hopes up for porkchops :D
     
  28. Offline

    Kartus

    request that i can choose in config which mobs can be spawned. i don't want that my players can spawn mobs that original mobspawner can't. so i want only spider, skeleton, zombie.
     
  29. Offline

    killer7500

    Hey u need to fix the problem where fake pigs spawn cause they getting annoying and it would be nice if they didnt spawn because then the ppl on my server wont get their hopes up for food.
     
  30. Offline

    Jazy Lopez

    There seems to be a bug with the mcmmo or Archers plugin where when you shoot the spawners with an
    arrow it drops more spawners... My server got messed up with that (Spawners with Ghasts flying around
    all over the place...)
    Please fix if possible, I cant seem to find another plugin like this
     

Share This Page