CommandHelper

CommandHelper

46.5k Downloads

Latest Commandhelper is not compatible with latest Worldguard 6 Version

LadyCailinBot opened this issue ยท 4 comments

commented

CMDHELPER-3015 - Reported by Mahagon

Latest Commandhelper is not compatible with latest Worldguard 6 Version

Im using CommandHelper Build #2817 with WorldGuard Build #1559

[12:43:44 ERROR]: Could not pass event BlockSpreadEvent to WorldGuard v6.0.0-SNAPSHOT.1559-
org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:305) ~[spigot-1.8-20150118.jar:git-Spigot-fa7cbf9-59dd2dd]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.8-20150118.jar:git-Spigot-fa7cbf9-59dd2dd]
        at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-1.8-20150118.jar:git-Spigot-fa7cbf9-59dd2dd]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-1.8-20150118.jar:git-Spigot-fa7cbf9-59dd2dd]
        at org.bukkit.craftbukkit.v1_8_R1.event.CraftEventFactory.handleBlockSpreadEvent(CraftEventFactory.java:348) [spigot-1.8-20150118.jar:git-Spigot-fa7cbf9-59dd2dd]
        at net.minecraft.server.v1_8_R1.BlockVine.b(BlockVine.java:287) [spigot-1.8-20150118.jar:git-Spigot-fa7cbf9-59dd2dd]
        at net.minecraft.server.v1_8_R1.Block.a(Block.java:258) [spigot-1.8-20150118.jar:git-Spigot-fa7cbf9-59dd2dd]
        at net.minecraft.server.v1_8_R1.WorldServer.h(WorldServer.java:482) [spigot-1.8-20150118.jar:git-Spigot-fa7cbf9-59dd2dd]
        at net.minecraft.server.v1_8_R1.WorldServer.doTick(WorldServer.java:240) [spigot-1.8-20150118.jar:git-Spigot-fa7cbf9-59dd2dd]
        at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:741) [spigot-1.8-20150118.jar:git-Spigot-fa7cbf9-59dd2dd]
        at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316) [spigot-1.8-20150118.jar:git-Spigot-fa7cbf9-59dd2dd]
        at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:623) [spigot-1.8-20150118.jar:git-Spigot-fa7cbf9-59dd2dd]
        at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:526) [spigot-1.8-20150118.jar:git-Spigot-fa7cbf9-59dd2dd]
        at java.lang.Thread.run(Thread.java:744) [?:1.8.0]
Caused by: java.lang.NoSuchMethodError: com.sk89q.worldguard.protection.flags.Flag.hasConflictStrategy()Z
        at com.sk89q.worldguard.protection.FlagValueCalculator.queryAllValues(FlagValueCalculator.java:268) ~[?:?]
        at com.sk89q.worldguard.protection.FlagValueCalculator.queryValue(FlagValueCalculator.java:220) ~[?:?]
        at com.sk89q.worldguard.protection.FlagValueCalculator.queryState(FlagValueCalculator.java:167) ~[?:?]
        at com.sk89q.worldguard.protection.RegionResultSet.queryState(RegionResultSet.java:97) ~[?:?]
        at com.sk89q.worldguard.bukkit.RegionQuery.queryState(RegionQuery.java:268) ~[?:?]
        at com.sk89q.worldguard.protection.GlobalRegionManager.allows(GlobalRegionManager.java:221) ~[?:?]
        at com.sk89q.worldguard.protection.GlobalRegionManager.allows(GlobalRegionManager.java:205) ~[?:?]
        at com.sk89q.worldguard.bukkit.listener.WorldGuardBlockListener.onBlockSpread(WorldGuardBlockListener.java:608) ~[?:?]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0]
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0]
        at java.lang.reflect.Method.invoke(Method.java:483) ~[?:1.8.0]
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301) ~[spigot-1.8-20150118.jar:git-Spigot-fa7cbf9-59dd2dd]
        ... 13 more
[12:33:11] [Server thread/INFO]: [WorldGuard] Enabling WorldGuard v6.0.0-SNAPSHOT.1559-
[12:33:11] [Server thread/ERROR]: [WorldGuard] 
**********************************************
** /!\    SEVERE WARNING    /!\
** 
** A plugin developer has copied and pasted a portion of 
** WorldGuard into their own plugin, so rather than using
** the version of WorldGuard that you downloaded, you
** will be using a broken mix of old WorldGuard (that came
** with the plugin) and your downloaded version. THIS MAY
** SEVERELY BREAK WORLDGUARD AND ALL OF ITS FEATURES.
**
** This may have happened because the developer is using
** the WorldGuard API and thinks that including
** WorldGuard is necessary. However, it is not!
**
** Here are some files that have been overridden:
** 
** 'Flag' came from 'file:/home/gametestcrime/plugins/commandhelper-3.3.1-SNAPSHOT.jar'
** 'ProtectedCuboidRegion' came from 'file:/home/gametestcrime/plugins/commandhelper-3.3.1-SNAPSHOT.jar'
** 'ProtectedRegion' came from 'file:/home/gametestcrime/plugins/commandhelper-3.3.1-SNAPSHOT.jar'
**
** Please report this to the plugins' developers.
**********************************************

For more Information
http://forum.enginehub.org/threads/worldguard-blocking-all-commands-by-default.15893/

I hope that helps :D

Thanks so far

commented

Comment by PseudoKnight

This is in my latest PR. I added it a week ago.
PseudoKnight@62d350a

I didn't remove all the shaded WorldEdit stuff, because some of it is still used and I don't want to step on anyone's toes for why they're doing it this way, but it fixes this issue in my tests.

commented

Comment by PseudoKnight

BTW, this only happens when combined with SKCompat in the latest build. Nothing in CH is using these methods, but the source of the problem is still in CH.

While my experience with this stuff is low, it seems like the WorldEdit classes (if they need to be shaded) should be relocated.

commented

Comment by Mahagon

PseudoKnight its fixed in #2820
:)

commented

Comment by PseudoKnight

Yay, my pull request finally went through. :)