MobSpawnerMining

Discussion in 'Archived: Plugin Requests' started by pointfit, Nov 27, 2012.

  1. Offline

    pointfit

    Plugin category: Not sure

    Suggested name: MobSpawnerMining

    What I want: I want the plugin to be able to allow people with the permission to mine a monster spawner with any pickaxe. For example, someone with the permission "msm.mine" can mine a monster spawner with any pickaxe.

    Ideas for commands: No commands really needed, I think.

    Ideas for permissions: msm.mine

    When I'd like it by: Anytime.

    Very simple plugin I think.
    Thanks in advance.
     
  2. Offline

    drtshock

    silk spawners allows you to do it with silk touch. if they don't have silk touch you can configure it to drop the spawn egg.
     
  3. Offline

    pointfit

    drtshock

    I want to go around the silk touch, I don't like that. And I want it to drop the actual spawner with just a pickaxe for the people who have the permission.

    Bump

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

    lemon42

    I'll get something to you by tomorow. I would do it now but I'm on the run so I'll have to do it once I get back home. This is a relatively simple plugin and easily manageable.
     
    pointfit likes this.
  5. Offline

    pointfit

    I'll be looking forward to it, thanks :)
     
  6. Offline

    pointfit

  7. Offline

    lemon42

    Sorry about not replying earlier. I have just come back to my work PC and wasn't able to do anything before today. I'll be posting the plugin soon.
     
  8. Offline

    pointfit

    Thanks a lot. I get really anxious xD Just wanted to make sure you were doing it. Thanks
     
  9. Offline

    Retherz_

    you might want to remove the xp drops...
     
  10. Offline

    KeybordPiano459

    Someone time me, I'm gonna start coding it now, I think i can beat 10 minutes :p

    Done https://dl.dropbox.com/u/34152054/MobSpawnerMining.jar Tell me if there are any problems, players need mobspawnermining.mine to break mobspawners and have it drop one. Seven minutes!!! :D

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

    pointfit

    I'm fine with it.

    Damn, thanks trying it out now
     
  12. Offline

    Retherz_

    Xp farming it
     
  13. Offline

    pointfit

    Actually just tried it out and people with the permission won't get XP so it works perfectly KeybordPiano459
    Thanks a lot
     
  14. Offline

    KeybordPiano459

    That's a pretty good point, but the way I coded it, it doesn't drop XP.

    pointfit
    No problem :)

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

    pointfit

    KeybordPiano459

    Hey I found a bug. When people mine any spawner and place it, it turns into a pig spawner. It doesn't maintain what spawner it was. It would be cool if you can fix that, thanks.
     
  16. Offline

    KeybordPiano459

    That isn't a bug, I'm almost positive that when you break a spawner it doesn't maintain the same mob type.

    It's the way that Minecraft is coded. Get one of those plugins that allows you to change spawner type.

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

    pointfit

    Aw ok.
    Then I'm gonna need to give permission to change mob spawners.
    Thanks for your help
     
  18. Offline

    micrlink

    Actually you can save it in a hashmap and then save it to a config file(maybe that isn't editable)

    If you have essentials their is a command "/Spawner [Mob]"
     
  19. Offline

    pointfit

    KeybordPiano459

    Hey everything is working out fine so far.
    I have a minor problem though. When in creative, the spawner still drops when you break it. I just wanted it to be so it doesn't drop it in creative. Thanks a lot.
     
  20. Offline

    KeybordPiano459

    Do you need it sometime soon? I could code it tomorrow, or today if you really need it.
     
    pointfit likes this.
  21. Offline

    lemon42

    Sorry about not being able to code it, I had some unexpected schedule changes. Thanks KeybordPiano459 for helping him :)
     
    pointfit likes this.
  22. Offline

    pointfit

    Anytime you want :)
     
  23. Offline

    irdoom1337

    Just so you all know there was already a plugin that let you do this you could also change the type of mob spawner with it.
     
  24. Offline

    lemon42

    This post isn't very useful... do you have a link, a name, anything that could help the OP?
     

Share This Page