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)
@VeryBigCorp
BTW, I'm still on 1.1. Will be for a little bit, while everything updates on both the client and server ends. Any chance of an update for 1.1 that fixes this? Would love to start using this plugin!
Edit: Do you have to do something that supports the specific plugins, or is there a way to just check to see if a block break even has been canceled or something, and not drop the item?
@Fostenel
Thank you for notifying me of this. I will add support for that in the next release.
Edit: Hmm it seems as though LWC isn't updated for 1.2.3 :/ I suppose I have to wait for them to update it.
Really love the idea, but ran into a major issue while testing.
Player placed spawners that are protected will still drop a spawner block when someone without permission tries to destroy them. The spawner re-appears in the world since it's protected, but this gives players an unlimited supply of spawners. I tested with LWC, and GriefPrevention. More than happy to help test others if it will help.
Just wanted to drop by and say thanks for your continued efforts! Your plugin was one of the first that I run that updated to the 1.2.3 build. Everyone else is still updating for the 1.1 RB's for some reason. =/
@EliteN00b89
SpawnerEXP 3.2 and above run on 1.2.3, so Permissions 3.1.6 may not be compatible with it.
Morning, Perminssions 3.1.6 maybe it is relay out of date, but some parts works. I use this old One because I dont get no other running under R4. They throw errors on loading or I when I try to config it in the consle. Is SpawnerEXP running under R6? Maybe I have more luck with it, if ican found All plugins for R6. (on my real Server i have some pluginss more)
Great idea! Can you make permissions so only certain people can make certain types of mob spawners, that way everyone cant make skeleton spawners or creeper spawners.
@EliteN00b89
I can't seem to find that plugin. Can you link it to me if possible? I'll try to integrate it as soon as possible.
Hello, I try runnig version 3.1 on Bukkit 1.1 R4 with Permissions 3.1.6 and Essentials 2.8.2. I enable the permssion to place spawner but I can't place it. Also with a player with admin group and all permissions.
My congratulations to you for updating to 1.2.3!
I was going to come here to ask you to do it, but you're ahead of me!
@captainmatazar
Odd. It's probably something with the new code for "empty" spawner placement. I'll fix that as soon as possible.
Edit: It should be fixed now!
Getting a lot of these with version 3.0:
[SEVERE] Could not pass event org.bukkit.event.entity.CreatureSpawnEvent to SpawnerEXP org.bukkit.event.EventException
Is there a space requirement? Am I missing something else?
Need a feature to disable obtaining exp/drop from spawner mobs...
@TheFlyingDharma
I don't believe I can do that without manipulating your location to make it seem closer to the spawner, which I think would be detrimental to other aspects of the game. It could screw up combat and stuff D: sorry.
This might be outside the scope of the project, but would it be possible to add a config option to change the distance you need to be from the spawner for it to activate?
I designed a new chicken cooker using these rather than the old dispenser and egg mess, but it doesn't work unless I'm within 16 blocks of the spawners. It would be awesome if I could push that range just another 10 blocks or so.
ignore this comment, I just noticed the .egg was clickable...
Thanks for adding my suggestion. I'm now happily using this plugin and loving it. =D
@TheFlyingDharma
There's no problem! Thanks for testing :D
I figured it out, animal spawning was disabled in the server config somehow. I'm a terrible tester, sorry.
@TheFlyingDharma
Gotta have grass & light level above 7 to spawn passive mobs.