SpawnerAdjuster
![Spawner Adjuster Logo](http://mc.sadmean.com/bukkitMods/SpawnerAdjuster/resources/spawneradjusterlogo.png)
Current Version: Look over here ---->
(Bukkit.org Forum Page | Source | Youtube Demonstration | ChangeLog | Permission Nodes | Config | Latest .jar* | Recipe Addon )
( SpawnerAdjuster for other platforms: Vanilla Server | Client only )
*Direct latest .jar link removed to conform to bukkitdev guidelines. If you can't open/don't trust zips, Please PM me and I'll send you a direct link to the .jar
What is SpawnerAdjuster? It allows Monster Spawners to be utilized in various fashions, but it has 3 primary functions.
# Allow what is spawned by the spawner to be changed by simply clicking on it. # Force the spawner to do its thing by feeding it a redstone signal # Allow a spawner to be moved by simple breaking it.
Why create a this mod? Surly one exists already!
Yes, indeed. I saw 2 actually. However they both lacked a chunk of things I wanted. 1 had permissions support but requires /commands to work with a spawner, and I believe a player should never have to resort to the / key. The other one, while allowing interaction with just clicking was not up to date with 1.8 and the author said "6 weeks" before he update it. No, no I'll write my own, thank you.
-----Enough about why, lets talk about how-----
The config.yml can be found in your server's plugin folder, in the directory "SpanwerAdjuster'. An explanation of all the settings in it can be found at http://dev.bukkit.org/server-mods/spawneradjuster/pages/config/
I like to think the permissions are straight foward. Only SuperPermissions are supported. Permission nodes can be found at http://dev.bukkit.org/server-mods/spawneradjuster/pages/permission-nodes/
The only reason the permissions don't work is because the author might have forgotten to update the permissions page.
I looked into the code and you seem to need: "SpawnerAdjuster.ChangeSpawnType"
This is NOT POSTED ON THE PERMISSIONS NODES PAGE therefore confusing the shit out of everyone. Adding this allowed me to change spawners with permissions like: spawneradjuster.setmobs.nether.*
Aside from that, good plugin
Please release the 1.5 version!!!
I know you "hate" commands, but it would be nice to have a reload so I don't have to restart the server every time I want to test a config change.
Your config instructions are very confusing. Also instructions do not match with actual config file. I try to give moderators and admins access to spawner settings but no permissions to default players. No matter what I do, I can create only two conditions; only ops can modify spawners or everyone AND default players can modify spawners. Would like to know if plugin works with BPermissions because no luck so far. Thanks.
@juodas
I had someone else run into this same problem recently. Its fixed for 1.5, but if you can't wait that long it is possible to "trick" the plugin into obeying the setting but following directions here: http://forums.bukkit.org/threads/mech-fun-spawneradjuster-v1-4-1-monster-spawners-enhanced-2034-1-2-3-r0-1.39379/page-4#post-1024310
Man, if i set opsChangeSpawnTypeOnly: true after starting my server it sets back to false... So anyone can change the type.
@missingscrews
this is a sort-of known issue. In that it works for some people and doesn't for others. I'm in the process of totally redoing that section of the plugin.
for example, I use PEX and have no problems.
The permission nodes do are not working with PEX 19.1 and the latest bukkit BETA build.
This plugin is simple and awesome. Problem is the permissions nodes are extremely confusing. Your cfg is extremely confusing. Can someone explain how I set this up so that members can break spawners and pick them up but not change the spawn type?
@Digitalink2008
A while back, someone made a fork of SpawnerAdjuster that used Vault. I've never really taken a look at it. That might be worth looking into. The fork is unfortunatly too old to work on 1.2 (uses the old event system), but the idea is still work investigating.
@Frozon4
I have not yet deduced the squid issue. To be honest, its taken a back seat to rewriting the permissions portion of the plugin.
Hey ya sadmean,
Just had a thought bout our little permissions discussion. Maybe using vault would be easier on you when you recode the permissions portion of the plugin?
Just trying to help out :) D.
@sadmean
Thank you for the Support ! I'll test it right now. Besides, did you fix that on right clicking, you couldn't alter the Spawner into a squid Spawner ?. I always have to use essentials (/spawner squid) to change the spawner type but however the redstone forces the altered squid spawner to spawn :) .
Might it be, that i cant alter the spawner into a squid Spawner because your plugin dont get along with essentials ?
btw: Really Good Work !
@Frozon4 This should now be fixed in 1.4.1. Thanks for spotting that error and posting your log. It made it easy to spot my little mistake.
I have a mysql db for my server :) I have been looking for a plugin like this for custom dungeons but if the spawners just spawn all the time, there's no point in triggering with redstone
@craftopia
Admin only commands don't really go against my beliefs, just player oriented commands What your asking would require some sort of database to store which spawners do what. But its not an unreasonable request. I'll add it to my to do list.
There should be a way (i dunno, a command or something?) to make a specific spawner ONLY react to redstone. I am trying to setup some traps, however my spawners are spawning mobs all the time... not only when triggered by redstone.
This plugin would be 100x better if it had commands.... just saying, you might hate them but admins love them.
@Royalgamer06
Just waiting for bukkitdev mods to hit the "approve" button.
@Frozon4
Interesting. I'll play around and see what I can find
2012-02-24 13:35:22 [SEVERE] Could not pass event org.bukkit.event.block.BlockRedstoneEvent to SpawnerAdjuster org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1026) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:61) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:460) at net.minecraft.server.BlockRedstoneWire.a(BlockRedstoneWire.java:114) at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:45) at net.minecraft.server.BlockRedstoneWire.doPhysics(BlockRedstoneWire.java:295) at org.getspout.spout.block.mcblock.CustomBlock.doPhysics(CustomBlock.java:217) at net.minecraft.server.World.k(World.java:530) at net.minecraft.server.World.applyPhysics(World.java:506) at net.minecraft.server.BlockRedstoneWire.h(BlockRedstoneWire.java:189) at net.minecraft.server.BlockRedstoneWire.remove(BlockRedstoneWire.java:245) at org.getspout.spout.block.mcblock.CustomBlock.remove(CustomBlock.java:240) at net.minecraft.server.Chunk.a(Chunk.java:389) at net.minecraft.server.World.setRawTypeId(World.java:375) at net.minecraft.server.World.setTypeId(World.java:442) at net.minecraft.server.ItemInWorldManager.b(ItemInWorldManager.java:192) at net.minecraft.server.ItemInWorldManager.breakBlock(ItemInWorldManager.java:230) at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:102) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:514) at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:202) at net.minecraft.server.Packet14BlockDig.handle(SourceFile:43) at net.minecraft.server.NetworkManager.b(NetworkManager.java:226) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100) at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:552) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1024) ... 27 more Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.entity.CraftSlime cannot be cast to org.bukkit.entity.Creature at com.sadmean.mc.SpawnerAdjuster.AdjusterBlockListener.forceSpawn(AdjusterBlockListener.java:165) at com.sadmean.mc.SpawnerAdjuster.AdjusterBlockListener.onBlockRedstoneChange(AdjusterBlockListener.java:36) ... 31 more
This occured when powering a Slime Spawner with redstone (1,5 sec delay clock) The slimes are spawning.. Somehow i dont get this message with other spawners (same conditions)