Can't do /region addowner
LadyCailinBot opened this issue ยท 21 comments
WORLDGUARD-3105 - Reported by LukeW2464
When I try to do the addowner command it doesn't work, In the console it says: http://gyazo.com/8ab33790543c5b7b1a3b3da48ae6f151
I can use all other commands apart from addowner, I'm using this in conjunction with SimpleRegionMarket.jar version (CraftBukkit 1.7.9-R0.2)
- All my plugins http://gyazo.com/3cd76b135dbdab29f222acae7f45d725
Versions of WE And WG http://gyazo.com/118993cae13b444bb9a95c9d1e88b264
Heres what it says in the console (sorry if theirs irrelevant things in it)
17.07 16:57:45 [Server] WARN at com.sk89q.minecraft.util.commands.CommandsManager.invokeMethod(CommandsManager.java:533)
17.07 16:57:45 [Server] WARN at java.lang.reflect.Method.invoke(Method.java:606)
17.07 16:57:45 [Server] WARN at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
17.07 16:57:45 [Server] WARN at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
17.07 16:57:45 [Server] WARN at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
17.07 16:57:45 [Server] WARN at com.sk89q.worldguard.bukkit.commands.RegionMemberCommands.addOwner(RegionMemberCommands.java:162)
17.07 16:57:45 [Server] WARN Caused by: java.lang.NoSuchMethodError: com.sk89q.minecraft.util.commands.CommandContext.getParsedPaddedSlice(II)[Ljava/lang/String;
17.07 16:57:45 [Server] WARN at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628)
17.07 16:57:45 [Server] WARN at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:469)
17.07 16:57:45 [Server] WARN at net.minecraft.server.v1_7_R3.MinecraftServer.u(MinecraftServer.java:558)
17.07 16:57:45 [Server] WARN at net.minecraft.server.v1_7_R3.DedicatedServer.v(DedicatedServer.java:260)
17.07 16:57:45 [Server] WARN at net.minecraft.server.v1_7_R3.MinecraftServer.v(MinecraftServer.java:667)
17.07 16:57:45 [Server] WARN at net.minecraft.server.v1_7_R3.ServerConnection.c(SourceFile:134)
17.07 16:57:45 [Server] WARN at net.minecraft.server.v1_7_R3.NetworkManager.a(NetworkManager.java:157)
17.07 16:57:45 [Server] WARN at net.minecraft.server.v1_7_R3.PacketPlayInChat.handle(PacketPlayInChat.java:47)
17.07 16:57:45 [Server] WARN at net.minecraft.server.v1_7_R3.PacketPlayInChat.a(PacketPlayInChat.java:28)
17.07 16:57:45 [Server] WARN at net.minecraft.server.v1_7_R3.PlayerConnection.a(PlayerConnection.java:817)
17.07 16:57:45 [Server] WARN at net.minecraft.server.v1_7_R3.PlayerConnection.handleCommand(PlayerConnection.java:956)
17.07 16:57:45 [Server] WARN at org.bukkit.craftbukkit.v1_7_R3.CraftServer.dispatchCommand(CraftServer.java:701)
17.07 16:57:45 [Server] WARN at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:180)
17.07 16:57:45 [Server] WARN at com.sk89q.bukkit.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:51)
17.07 16:57:45 [Server] WARN at com.sk89q.worldguard.bukkit.WorldGuardPlugin.onCommand(WorldGuardPlugin.java:226)
17.07 16:57:45 [Server] WARN at com.sk89q.minecraft.util.commands.CommandsManager.execute(CommandsManager.java:409)
17.07 16:57:45 [Server] WARN at com.sk89q.minecraft.util.commands.CommandsManager.executeMethod(CommandsManager.java:475)
17.07 16:57:45 [Server] WARN at com.sk89q.minecraft.util.commands.CommandsManager.executeMethod(CommandsManager.java:520)
17.07 16:57:45 [Server] WARN at com.sk89q.minecraft.util.commands.CommandsManager.invokeMethod(CommandsManager.java:543)
17.07 16:57:45 [Server] WARN com.sk89q.minecraft.util.commands.WrappedCommandException: java.lang.NoSuchMethodError: com.sk89q.minecraft.util.commands.CommandContext.getParsedPaddedSlice(II)[Ljava/lang/String;
Any help would be appreciated, If you need anymore info regarding this error please say.
Thanks,
Comment by LukeW2464
Please try to help me fix this, I can't really do anything regarding plots at the moment.
Comment by sk89q
You have some plugin or other source that is somehow providing the old version (a year old+) of the command classes that come with WorldEdit.
If you happen to be on a Linux dedi/VPS, you could do {{java -verbose:class -jar craftbukkit.jar | grep com.sk89q.minecraft.util.commands}} to tell you where those classes are being loaded from (note: this actually run the server though, so type {{stop}} afterwards).
You could also open all the .jar files for the plugins you have as ZIP files and check if any of them have com/sk89q/minecraft/util/commands.
Comment by LukeW2464
I've gone through all the plugins I had before the problem occurred, I couln't see 'com/sk89q/minecraft/util/commands.' in any of them.
Comment by LukeW2464
World Edit: http://gyazo.com/32041339100edaad760d4257b2e0248b
Comment by sk89q
Hmm. Still stumped.
Can you upload your WorldEdit jar and WG jar?
How about try a copy of the server with just WE and WG?
Comment by LukeW2464
Please, I need this fixed, If I can't get plots working right I will have to use factions, Which isn't really what I intended.
Comment by sk89q
I really don't know. I opened up the .jar and everything is correct.
Have you tried running your server with just WE and WG to see if it happens? Then add on more plugins?
Comment by LukeW2464
This is getting quite frustrating now... I've had 2 other servers all using pretty much the same plugins every time and I never had an issue until now, I can't really remove every other plugin I have because it will remove all the data.
Comment by sk89q
Could you make a temporary copy in a different folder? Just a fresh server.
Comment by sk89q
We need more of the error.
Please also post your WE and WG versions according to values returned by {{/we version}} and {{/wg version}}.
Comment by wizjany
most likely old worldedit version, lots of people had this before.
but then other things like addmember etc wouldn't work as well
Comment by sk89q
Try WE 5.6.3: http://dev.bukkit.org/bukkit-plugins/worldedit/files/
Comment by LukeW2464
Installed WE 5.6.3 still cant't do /region addowner
Console - 8.07 20:23:26 [Server] WARN ... 18 more
18.07 20:23:26 [Server] WARN at com.sk89q.minecraft.util.commands.CommandsManager.invokeMethod(CommandsManager.java:533)
18.07 20:23:26 [Server] WARN at java.lang.reflect.Method.invoke(Method.java:606)
18.07 20:23:26 [Server] WARN at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
18.07 20:23:26 [Server] WARN at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
18.07 20:23:26 [Server] WARN at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
18.07 20:23:26 [Server] WARN at com.sk89q.worldguard.bukkit.commands.RegionMemberCommands.addOwner(RegionMemberCommands.java:162)
18.07 20:23:26 [Server] WARN Caused by: java.lang.NoSuchMethodError: com.sk89q.minecraft.util.commands.CommandContext.getParsedPaddedSlice(II)[Ljava/lang/String;
18.07 20:23:26 [Server] WARN at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628)
18.07 20:23:26 [Server] WARN at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:469)
18.07 20:23:26 [Server] WARN at net.minecraft.server.v1_7_R3.MinecraftServer.u(MinecraftServer.java:558)
18.07 20:23:26 [Server] WARN at net.minecraft.server.v1_7_R3.DedicatedServer.v(DedicatedServer.java:260)
18.07 20:23:26 [Server] WARN at net.minecraft.server.v1_7_R3.MinecraftServer.v(MinecraftServer.java:667)
18.07 20:23:26 [Server] WARN at net.minecraft.server.v1_7_R3.ServerConnection.c(SourceFile:134)
18.07 20:23:26 [Server] WARN at net.minecraft.server.v1_7_R3.NetworkManager.a(NetworkManager.java:157)
18.07 20:23:26 [Server] WARN at net.minecraft.server.v1_7_R3.PacketPlayInChat.handle(PacketPlayInChat.java:47)
18.07 20:23:26 [Server] WARN at net.minecraft.server.v1_7_R3.PacketPlayInChat.a(PacketPlayInChat.java:28)
18.07 20:23:26 [Server] WARN at net.minecraft.server.v1_7_R3.PlayerConnection.a(PlayerConnection.java:817)
18.07 20:23:26 [Server] WARN at net.minecraft.server.v1_7_R3.PlayerConnection.handleCommand(PlayerConnection.java:956)
18.07 20:23:26 [Server] WARN at org.bukkit.craftbukkit.v1_7_R3.CraftServer.dispatchCommand(CraftServer.java:701)
18.07 20:23:26 [Server] WARN at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:180)
18.07 20:23:26 [Server] WARN at com.sk89q.bukkit.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:51)
18.07 20:23:26 [Server] WARN at com.sk89q.worldguard.bukkit.WorldGuardPlugin.onCommand(WorldGuardPlugin.java:226)
18.07 20:23:26 [Server] WARN at com.sk89q.minecraft.util.commands.CommandsManager.execute(CommandsManager.java:409)
18.07 20:23:26 [Server] WARN at com.sk89q.minecraft.util.commands.CommandsManager.executeMethod(CommandsManager.java:475)
18.07 20:23:26 [Server] WARN at com.sk89q.minecraft.util.commands.CommandsManager.executeMethod(CommandsManager.java:520)
18.07 20:23:26 [Server] WARN at com.sk89q.minecraft.util.commands.CommandsManager.invokeMethod(CommandsManager.java:543)
18.07 20:23:26 [Server] WARN com.sk89q.minecraft.util.commands.WrappedCommandException: java.lang.NoSuchMethodError: com.sk89q.minecraft.util.commands.CommandContext.getParsedPaddedSlice(II)[Ljava/lang/String;
Comment by sk89q
How about copying the setup and running it on your computer?
Comment by thomas15v
I found a way to fix it but its kinda ordinary. For my server I need WorldEdit 5.5.5 worldguard 6 xD. So I just coppied the command classes from worldedit 6 in to 5.5.5. I haven't found any issues yet.
(In case of confusing click this link: https://forums.spongepowered.org/t/wow-this-actually-works/6077)