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.
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.
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.
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.
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.
Someone time me, I'm gonna start coding it now, I think i can beat 10 minutes 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!!! EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Actually just tried it out and people with the permission won't get XP so it works perfectly KeybordPiano459 Thanks a lot
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.
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.
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.
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]"
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.
Sorry about not being able to code it, I had some unexpected schedule changes. Thanks KeybordPiano459 for helping him
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.