SuperSimpleSpawners
This is a very simple plugin.
- It enables you to use spawn eggs to place spawners of the same type.
- It enables spawners to drop spawn eggs of the same type when broken.
Permissions:
Spawners drop eggs (permission: sss.drop.*)
Eggs place spawners (permission: sss.place.*)
Both (permission: sss.*)
Specific drop (permission: sss.drop.entity_type)
Specific place (permission: sss.place.entity_type)
The names for entity_type must be the LOWERCASE form of how they appear here: http://jd.bukkit.org/apidocs/org/bukkit/entity/EntityType.html
Require Silk Touch enchant: (permission: sss.silk_touch)
WITHOUT THESE PERMISSIONS IT WILL BEHAVE NORMALLY EVEN IF YOU'RE OP OR HAVE '*'
If you don't have a SuperPerms manager click below because you need one unless you know you don't.
http://dev.bukkit.org/server-mods/bpermissions/
Get the latest on jenkins:
http://ci.onarandombox.com/job/SuperSimpleSpawners/
Github: https://github.com/dumptruckman/SuperSimpleSpawners
@Dumptruckman:
The script will use a full stack regardless of the number of spawners you hold in your hand. As far as I can tell on line 160ish you redefine itemInHandSecond = bpEvent.getItemInHand(); bpEvent is defined as something with a ItemStack of 1 so when you check it at the bottom of the file it's always going to match the player.getInventory().setItemInHand(null); event.
Fixed playerInteract function:
There's one thing I can't figure out though. Due to the way the placing of spawners works you can trick it in some way to get infinite pig spawners. If you put a furnace over top of a trap door and right click with a spawner on the top of the trap door it will turn the furnace into a pig spawner. You'll not use up the original spawner though. You may want to try this while standing inside of a door and fence doors as well. Not too sure of the result.
It also bugs me that you can't place spawners on the side of a wall or the roof. Maybe fixing the placement style would fix both problems.
@lay295
This is fixed in 1.3-b5, which will be approved soon.
@DJ411
What do you mean true/false for silk touch?
When ever i break a spawner, place it, and break it again, it wont break. It just turns to a pig and is impossible to break. No errors. Need Help!
Would you be able to make it so people cant place spawners in WorldGuard protected areas? Or make it so you cant place spawners x close to spawn
Please add true/false for Silktouch. I want to make this a challenge to give to my players.
@funk1983
This plugin will almost always work with all updates to MC/Bukkit at this point. (The monsters do not have to be manually added, they come from bukkit)
@Baglex_
No, sorry. This is outside the scope of this plugin.
Is this working with the new ocelot eggs?
this is awesome, but is there any chance you could add the option to set the spawners to allow spawning in daylight? some mobs (spiders,zombies,etc.) can only spawn during the night, and having the option to change that would be great.
@TheWebNinja
Are there giant eggs? no. Sorry, this probably won't be added.
I can't get Giants to spawn with giant spawners using this route. But I can place a spawner and use creaturebox and it works. Not sure if you have tested all the spawners yet or not.
@icheesy
The only support I will give in any plugin I create will be for SuperPerms. If PEX can manage superperms (which it claims to be able to) then it is already supported.
@dumptruckman Can you add support for PEX?
This is a very nice, simple way to provide the functionality that we used to rely on Creaturebox for.
Thank you. :)
I have a problem with it removing all eggs of the same type when placed.
I have a player break two pig spawners, get two eggs. He places one egg, it removes the other one as well.
Very cool plugin, but that is a huge problem! Any fix? :D