zPermissions not compatible with Residence 3.0+ #133


  • New
  • Defect
  • Accepted
Open
Assigned to _ForgeUser1494830
  • _ForgeUser14559899 created this issue Apr 26, 2014

    What steps will reproduce the problem?
    1. Create a region in the Residence plugin
    2. Walk in or out of the region
    3. Every time you move, a warning (shown below) appears in the console.

    What is the expected output? What do you see instead?
    The expected output is to see no warnings in the console. I did not see any player-facing issues that hamper gameplay in any way. However, a warning with a stack trace appears in the console every single time a player moves, which spams the console (just an annoyance factor).

    What version of the product are you using?
    CraftBukkit 1.7.9-R0.1-SNAPSHOT
    zPermissions 1.3-SNAPSHOT
    Residence 3.0.0m - SNAPSHOT

    Do you have an error log of what happened?

    [20:40:57] [Server thread/ERROR]: Could not pass event PlayerMoveEvent to zPermissions v1.3-SNAPSHOT
    org.bukkit.event.EventException
    	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:294) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-56-g3779cff-b3072jnks]
    	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-56-g3779cff-b3072jnks]
    	at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-56-g3779cff-b3072jnks]
    	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-56-g3779cff-b3072jnks]
    	at net.minecraft.server.v1_7_R3.PlayerConnection.a(PlayerConnection.java:235) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-56-g3779cff-b3072jnks]
    	at net.minecraft.server.v1_7_R3.PacketPlayInFlying.a(SourceFile:137) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-56-g3779cff-b3072jnks]
    	at net.minecraft.server.v1_7_R3.PacketPlayInPosition.handle(SourceFile:63) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-56-g3779cff-b3072jnks]
    	at net.minecraft.server.v1_7_R3.NetworkManager.a(NetworkManager.java:157) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-56-g3779cff-b3072jnks]
    	at net.minecraft.server.v1_7_R3.ServerConnection.c(SourceFile:134) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-56-g3779cff-b3072jnks]
    	at net.minecraft.server.v1_7_R3.MinecraftServer.v(MinecraftServer.java:667) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-56-g3779cff-b3072jnks]
    	at net.minecraft.server.v1_7_R3.DedicatedServer.v(DedicatedServer.java:260) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-56-g3779cff-b3072jnks]
    	at net.minecraft.server.v1_7_R3.MinecraftServer.u(MinecraftServer.java:558) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-56-g3779cff-b3072jnks]
    	at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:469) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-56-g3779cff-b3072jnks]
    	at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-56-g3779cff-b3072jnks]
    Caused by: java.lang.NoClassDefFoundError: com/bekvon/bukkit/residence/Residence
    	at org.tyrannyofheaven.bukkit.zPermissions.region.ResidenceRegionStrategy.getRegions(ResidenceRegionStrategy.java:85) ~[?:?]
    	at org.tyrannyofheaven.bukkit.zPermissions.ZPermissionsPlugin.getRegions(ZPermissionsPlugin.java:875) ~[?:?]
    	at org.tyrannyofheaven.bukkit.zPermissions.ZPermissionsPlugin.setBukkitPermissionsInternal(ZPermissionsPlugin.java:792) ~[?:?]
    	at org.tyrannyofheaven.bukkit.zPermissions.ZPermissionsPlugin.setBukkitPermissions(ZPermissionsPlugin.java:720) ~[?:?]
    	at org.tyrannyofheaven.bukkit.zPermissions.listener.ZPermissionsRegionPlayerListener.onPlayerMove(ZPermissionsRegionPlayerListener.java:54) ~[?:?]
    	at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source) ~[?:?]
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[?:1.6.0_65]
    	at java.lang.reflect.Method.invoke(Method.java:597) ~[?:1.6.0_65]
    	at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:292) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-56-g3779cff-b3072jnks]
    	... 13 more
    

    Please provide any additional information below.
    n/a

  • _ForgeUser14559899 added the tags New Defect Apr 26, 2014
  • _ForgeUser1494830 posted a comment Apr 26, 2014

    Hmm, the Residence API may have changed, I'll have to eventually check it out.

    If you don't use region-specific permissions, then you can work around this by disabling region support. This can be done in two ways:

    1. Set region-support to false in zPermissions' config.yml 2. Remove the Residence line from the region-managers list in zPermissions' config.yml

    If you do use region-based permissions, you'll have to downgrade Residence. zPerms was last built against Residence 2.6.x.y. Later versions up to but not including 3.0.0m might still work.

  • _ForgeUser14559899 posted a comment Apr 27, 2014

    @ZerothAngel: Go

    Thanks! I ended up just disabling the region-support, though I did want to have region-specific permissions. It's not a dealbreaker though, since I was just running this on a test server to make sure the plugins I use are compatible with UUIDs (and each other) for 1.8.

  • _ForgeUser14559899 removed a tag Waiting Apr 27, 2014
  • _ForgeUser14559899 added a tag Replied Apr 27, 2014
  • _ForgeUser1494830 removed a tag Replied Apr 27, 2014
  • _ForgeUser1494830 added a tag Accepted Apr 27, 2014
  • _ForgeUser1494830 posted a comment Apr 27, 2014

    @trobimar: Go

    Thanks for reporting it! I've already got a fix lined up, but I think I'll hold off committing it until there's a non-dev release of Residence 3 or the UUID stuff in zPerms has settled.


To post a comment, please login or register a new account.