SpawnerEXP
Enhance Spawners
Make spawners more useful by having the functionality of crafting them and changing their type through the use of mob eggs! To get a blank egg, just break an existing mob spawner.
When a natural (non-player-placed) spawner is broken, the following will occur if the player has the appropriate permissions:
- 3 to 6 iron bars and/or a spawner will drop (configurable)
- Between 300 to 600 exp will drop (equivalent to 3-6 levels if at a low level); This is fully configurable
- A spawn egg will drop (either a blank one or one of the spawner's type; this is configurable)
The inspiration came from pixelkids
http://www.reddit.com/r/Minecraft/comments/pbp75/i_love_making_mod_requests_i_give_you_spawnerxp/
Demonstration Video
http://www.youtube.com/watch?v=LFBLGHX1Rj8
Crafting Recipes
The crafting recipes may be found here
Permissions
These permissions have been tested with PermissionsBukkit and PermissionsEx.
Node | Description |
---|---|
spawnerexp.* | allows all permission nodes for SpawnerEXP |
spawnerexp.placespawner | allows/disallows the player to place a spawner |
spawnerexp.change.* | allows/disallows the changing of a spawner's type to any creature |
spawnerexp.change.type | allows/disallows the changing of mob spawners to specific types of mobs (in the link) |
spawnerexp.spawnerexp | allows/disallows experience from mobs spawned from player-placed spawners |
spawnerexp.spawnerdrops | allows/disallows drops from mobs spawned from player-placed spawners |
spawnerexp.use.survival.* | enables/disables the normal use of eggs in survival mode |
spawnerexp.use.creative.* | enables/disables the normal use of eggs in creative mode |
spawnerexp.drop.ironbars | enables/disables the dropping of iron bars |
spawnerexp.drop.exp | enables/disables the dropping of exp from spawners |
spawnerexp.drop.egg | enables/disables eggs dropping from spawners |
spawnerexp.drop.spawner | enables/disables spawners from dropping from natural spawners (dropSpawnerOnBreak must be enabled in the configuration for this permission to take effect) |
spawnerexp.drop.* | enables/disables all drops from a spawner |
spawnerexp.use.survival.egg | enables/disables the normal use of eggs in survival mode |
spawnerexp.use.creative.egg | enables/disables the normal use of eggs in creative mode |
Configuration
Value | Description |
---|---|
disableInCreativeMode | disables or enables all drops in creative mode |
disableSpawnerCrafting | enables/disables spawner crafting entirely |
dropSpawnerOnBreak | enables/disables a spawner drop when you break a natural spawner (to be able to get spawners if you disable spawner crafting) |
spawnerExpMin | the lowest amount of experience dropped when a spawner is broken |
spawnerExpMax | the maximum amount of experience dropped when a spawner is broken |
dropSpawnerTypeEgg | whether or not to drop an egg of the spawner's type from a natural spawner (non-blank mob eggs are not able to be crafted into other types of eggs) |
usePermissions | whether or not to use permissions. If disabled, all players can do everything. This is enabled by default. |
Commands
The commands for SpawnerEXP are only run from the console.
- spawnerexp purge
- Removes all player spawners from the database. This will cause them to behave like natural spawners
- spawnerexp dump
- Lists all spawners (e.g. "(X: 223, Y: 64, Z: -141) of type Spider")
- spawnerexp reload
- Reloads the configuration.
Todo
Add the ability to disable or enable the use of permissionsAdd a configuration option to disable experience from monsters from spawners (and/or a permission node)
Can you change a spawner to silverfish? That's the only one I can't get to work in 1.6.2.
Its good but can deop players do it themselves?
Demon. why dont you do that with your permissions plugin like allow spawnerexp.use.survival.cow for Default group and spawnerexp.use.survival.pig for VIPs and spawnerexp.use.survival.* for mods
Anyways will someone update this sometime. i think the permissions are messed up in the later bukkit builds
SUGGESTIONS: Could you add a feature where you can make it where only specific groups can craft specific spawnereggs, like I only want Newbies to craft Cows and Pigs, then Members only able to craft Cows, Pigs, AND Dogs and Zombie. Another feature I'd love for you to add is where you can only make specific spawners. Like you can only place Cows, Pigs, Dogs, and Zombies in the Normal world and you can only place Ghast, Blaze spawners in the Nether.
I'll even donate money if the feature is added
yes but you can also look at the spawner and type /spawner pig and it will change it to pig
@Dustinduse
that was a long time ago when I posted that, at this time I'm not aware of there being any commands (if there are they should be specified on the main page above but I can't see them)
I do remember that I had to place the spawner and then fill it with a spawner egg, else it simply wouldn't spawn anything (even though when you place it you see pig inside it). By fill I mean right click the spawner while holding the egg in hand and you make those spawning eggs via these recipes: http://dev.bukkit.org/server-mods/spawnerexp/pages/crafting-recipes/
@basicsensei
so it has to bee an egg? cant be the command?
@eichi92
Use http://dev.bukkit.org/server-mods/changesilktouch/ and change the spawner drop block with silk touch.
Edit: Oh, I see now what you mean now. I'd suggest using the "disablespawnercrafting" in the config file, and having spawners only sold in your server shop. This would allow for a money-to-exp exchange for anyone trying this.
The most loved plugin on my server ... Because of 1.3, there is a bug ... The user set a spawner and destroy it again ... Since 1.3 you become exp in single player when a spawner is destroyed. The users get by with SilkTouch infinite exp ... I hope that this great plugin is being updated soon
Sorry for bad english ... google translator xD greetz from germany ... eichi92
This is an epic plugin!
@Dustinduse
If you just crafted the spawner and placed it, even though it shows pigs it won't spawn anything unless you're right clicking it with a pig mob egg (recipe here: http://dev.bukkit.org/server-mods/spawnerexp/pages/crafting-recipes )
Idk if this is a problem with your plugin. but i can get everything but pigs to spawn from spawners.
Could you make an option to disable spawn egg crafting? I use MobCatcher and want my players to have to capture the rarer mobs instead of being able to just farm their drops for them.
@Luficer
Well that's embarrassing! Forgot to put a hyphen in a part of the link :P It should be fixed now.
Do you think you could fix the denied access to the crafting recipes page? :D
Very cool plugin sir. Well thought out and creatively implemented. :)
Is there a way to use this plugin to have spawners only able to be changed once or have the egg not be returned to the player when the type is changed? I want to sell spawners and if players can change their type at will, they would only ever need to buy one and just have a few eggs.
Thanks, this is a great plugin with a lot of customization.
@VeryBigCorp
I think recipe for wolves could be an egg surrounded by light grey woll.
@Petr189
Okay but what do you suppose the recipe for wolves should be? I guess ocelots could be an egg surrounded by fish.
Hello please add ocelot and wolf.
@Fostenel
You were right! I just had to check to see if it was canceled. Had to do a couple of other things too, though, to make it retain the type, but it's fixed in 3.5 :D