Vault error with falsebook
Jacksta21 opened this issue ยท 15 comments
What steps will reproduce the problem?
- Adding FalseBookIC to plugins with Privileges
What is the expected output? What do you see instead?
You need a permissions plugin for the IC's to work but it breaks. Error log below.
What version of the product are you using?
Privileges: 1.4.0-B45
Falsebook: 0.93.1 Alpha
Do you have an error log of what happened?
2012-05-16 22:43:40 [WARNING] Task of 'FalseBookIC' generated an exception
java.lang.UnsupportedOperationException SuperPerms no group permissions.
at net.milkbowl.vault.permission.plugins.Permission_SuperPerms.getPlayerGroups(Permission_SuperPerms.java:91)
at com.bukkit.gemo.utils.Permissions.VaultPermissions.getGroups(VaultPermissions.java:92)
at com.bukkit.gemo.utils.Permissions.SuperPermsPermissions.getGroups(SuperPermsPermissions.java:66)
at com.bukkit.gemo.utils.Permissions.VaultPermissions.getGroups(VaultPermissions.java:69)
at com.bukkit.gemo.utils.UtilPermissions.isPlayerInGroup(UtilPermissions.java:216)
at com.bukkit.gemo.FalseBook.IC.ICs.selftriggered.MC0272.Execute(MC0272.java:121)
at com.bukkit.gemo.FalseBook.IC.ICFactory.executeSTICs(ICFactory.java:958)
at com.bukkit.gemo.FalseBook.IC.FalseBookICCore.run(FalseBookICCore.java:94)
at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:126)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:517)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
Please provide any additional information below.
I am also reporting this to falsebook as I'm not sure what plugin is causing it...
I really need this to work as falsebook IC's are a huge part of my server!
Thanks.
Jacksta.
Please report this issue to falsebook.
Vault is operating 100% correctly right now, and the message you are getting is not in Error. Falsebook will need to handle this return value rather than shoving the error to you.
Secondarily: Vault is currently not compatible with Privileges as listed on the Compatibility section. This means that Falsebook is not compatible with Privileges. Due to privileges having no/little API (it wasn't really intended to be hooked) I haven't added support into Vault for it.
So, unless you add support for Privileges in Vault Falsebook wont work?
I don't think I understand what you said.
correct, Privileges is currently not supported by Vault, and because of that not supported by Falsebook at this time.
Edit: I've added really basic Privileges support in the latest dev version of Vault. It should resolve the getPlayerGroups issue as I found a way to get groups in Privileges.
Ahh man as soon as I add vault it breaks falsebook and I get another error :/
2012-06-06 17:03:17 [INFO] [ FalseBook IC ] Loaded selftriggered ICs: 45 done
2012-06-06 17:03:17 [INFO] [ FalseBook IC ] Failed selftriggered ICs: 0 failed
2012-06-06 17:03:17 [WARNING] Task of 'FalseBookIC' generated an exception
java.lang.UnsupportedOperationException: SuperPerms no group permissions.
at net.milkbowl.vault.permission.plugins.Permission_SuperPerms.getPlayerGroups(Permission_SuperPerms.java:91)
at com.bukkit.gemo.utils.Permissions.VaultPermissions.getGroups(VaultPermissions.java:92)
at com.bukkit.gemo.utils.Permissions.SuperPermsPermissions.getGroups(SuperPermsPermissions.java:66)
at com.bukkit.gemo.utils.Permissions.VaultPermissions.getGroups(VaultPermissions.java:69)
at com.bukkit.gemo.utils.UtilPermissions.isPlayerInGroup(UtilPermissions.java:216)
at com.bukkit.gemo.FalseBook.IC.ICs.selftriggered.MC0272.Execute(MC0272.java:121)
at com.bukkit.gemo.FalseBook.IC.ICFactory.executeSTICs(ICFactory.java:958)
at com.bukkit.gemo.FalseBook.IC.FalseBookICCore.run(FalseBookICCore.java:94)
at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:126)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:524)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:450)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
Sorry for troubling you so much :/
@Jacksta21 - alright sorry about that: http://ci.milkbowl.net/job/Vault/193/ - should be all good to go. had a typo in one of the checks.