SpawnerAdjuster
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/
love it, wasj ust want i wanted
Just wanted to say thanks for being responsive on the bugs sad. :)
@sadmean
The plugin perms work as supposed to now, but I submitted a ticket for permission errors for something else.
@convictedsaint
It looks like you might be using an old version, as some of those settings (Like SuperPerms) have been phased out and should be hidden. Update to 1.5.1.A (as soon as bukkit approves it, maybe 2 hours from now?) and get back to me.
This does not work with Group Manager.
When I add SpawnerAdjuster.SetMobs.Neutral.* and SpawnerAdjuster.ChangeSpawnType to a default group, they can still change spawners to any mob.
This is whats under System in the config.yml
system:
opsChangeSpawnTypeOnly: false
SpawnersRespondToRedstone: true
allowDroppedSpawners: true
debugLogs: false
SuperPerms: true
ignorePermissions: false
mustHaveValidPermissionsToAlterSpawner: true
TotalSpawnedEnts: 10
redstoneForcesSpawn: false
onlyOpsChangeSpawnType: false
Note: it doesnt work with SuperPerms toggled true or false.
@Digitalink2008
Another good catch. Fixed: https:github.com/choel/SpawnerAdjuster/commit/c7c709628078e017dca696900c1e04aba7a75437. Hostile was spelled wrong. :\
@sadmean
I'm also testing a bug where when the setting mustHaveValidPermissionsToAlterSpawner is set to true then the MobSetting function will not continue past Cave Spider regardless of permissions.
I'm not a java coder so I'm having a bit more trouble tracking that one down.
@Digitalink2008
Good catch. Fixed: https:github.com/choel/SpawnerAdjuster/commit/ee67f42821ba8d74d1fa8e973515d8305559f8b7. While I was in there, I found a mistake with Iron Golems as well.
Hey sad I found a nasty bug in your code. Your plugin.yml lists Enderman as spawneradjuster.setmobs.neutral.enderman but your permissions code is using spawneradjuster.setmobs.hostile.enderman.
it renders the enderman permissions useless
PS: Did you remove squid all together? I don't see them.
@GBagley2
If I had to guess, GroupManager and this plugin are compatible. The whole idea of super permissions is to get rid of providing support for specific types of permissions plugins.
Edit: If you do get it to work, let me know so I can simply say "yes" next time someone asks
@Digitalink2008
I know right? Whats funny is I use PEX and have no issues on my test server. But almost every single reported permissions issue comes from PEX.
@GBagley2
Shouldn't Group Manager support superperms GBagley?
Does the permissions work with Essentials Group Manager?If not will you make them work with it?
@sadmean
lol. PEX seems to be the bane of server ops and plugin coders alike.
@Digitalink2008
Vault support probably in 1.6.0. There were alot of bug fixes in 1.5.0 I wanted to get out before I started working on vault, though apparently not enough, as I still have not solved migsthegod's permission issue.
Hey ya sadmean,
Was lookin through your updates and saw the "legacy permissions no longer supported". Hope that makes your mod easier to manage :)
Question though? You still shooting for vault support or are you going to just code for superperms and call it good?
Permissions still don't work for me.
Using PEX 1.19
Tried on 1.2.3 and 1.2.4.
Permissions arent recognized and it gives EVERYONE permission to adjust spawners. I've tried all the combinations possible with:
"ignorePermissions:" and "mustHaveValidPermissionsToAlterSpawner:"
Thanks for the reload command, I have to use it because your config is very confusing at first.
@missingscrews
I added a reload command for 1.5 https://github.com/choel/SpawnerAdjuster/commit/f88ba432dfe3570a1c0ca0957d83abe85f15bed8
@migsthegod
My terribly organized mind bites me in the ass again. Thanks for catching this. Truth be told, that permission check is not really needed, since every mob type has their own permission node. I'm going to remove it right now.
But thanks again.