Townmanager Error
GeyserGod opened this issue · 3 comments
Have tried multiple configurations but for some reason Worldguard and MCTowns aren't communicating right about the TownManager's
[13:08:35 INFO]: [MCTowns] Detected resources to be those generated by v2.4.0-SN
APSHOT
[13:08:35 INFO]: [MCTowns] Resources are up to date.
[13:08:35 ERROR]: Error occurred while enabling MCTowns v2.4.0-SNAPSHOT-def4faa3
01822aa83c34f7fbce0f5e1e7c2e446e (Is it up to date?)
java.lang.NoClassDefFoundError: com/sk89q/worldguard/protection/managers/storage
/StorageException
at net.jmhertlein.mctowns.MCTownsPlugin.setupTownManager(MCTownsPlugin.j
ava:163) ~[?:?]
at net.jmhertlein.mctowns.MCTownsPlugin.onEnable(MCTownsPlugin.java:121)
~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) ~[s
pigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-b43a31a-7bc218d]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
.java:335) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-b43a31a-7bc218d]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
r.java:405) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-b43a31a-7bc218d]
at org.bukkit.craftbukkit.v1_8_R1.CraftServer.loadPlugin(CraftServer.jav
a:355) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-b43a31a-7bc218d]
at org.bukkit.craftbukkit.v1_8_R1.CraftServer.enablePlugins(CraftServer.
java:315) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-b43a31a-7bc218d]
at net.minecraft.server.v1_8_R1.MinecraftServer.q(MinecraftServer.java:4
02) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-b43a31a-7bc218d]
at net.minecraft.server.v1_8_R1.MinecraftServer.k(MinecraftServer.java:3
70) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-b43a31a-7bc218d]
at net.minecraft.server.v1_8_R1.MinecraftServer.a(MinecraftServer.java:3
25) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-b43a31a-7bc218d]
at net.minecraft.server.v1_8_R1.DedicatedServer.init(DedicatedServer.jav
a:211) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-b43a31a-7bc218d]
at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java
:494) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-b43a31a-7bc218d]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_25]
Caused by: java.lang.ClassNotFoundException: com.sk89q.worldguard.protection.man
agers.storage.StorageException
at java.net.URLClassLoader$1.run(Unknown Source) ~[?:1.8.0_25]
at java.net.URLClassLoader$1.run(Unknown Source) ~[?:1.8.0_25]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_
25]
at java.net.URLClassLoader.findClass(Unknown Source) ~[?:1.8.0_25]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
java:101) ~[spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-b43a31a-7bc218d]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
java:86) ~[spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-b43a31a-7bc218d]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_25]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_25]
... 13 more
Apparently if you aren't using one of the 3 WorldGuard 6.0 beta builds there is a conflict with the TownManager, but from what I have seen so far there is an issue with the beta builds that makes is so that WorldGuard's blacklist doesn't work. I am using beta build 2, so unless they fixed this problem in build 3 if the server admins are okay with not being able to use the blacklist you are okay otherwise MCTowns fails to initialize with the older versions of WorldGuard.
Thomas Barger
On Friday, December 19, 2014 7:32 AM, hockeymikey <[email protected]> wrote:
Using the right version of WorldGuard?—
Reply to this email directly or view it on GitHub.
Right now, MCTowns is compiling against the beta WG builds because they are using the new UUID player identification scheme. I can't really mix n match using old WG and new MCTowns, so unfortunately you do need the beta WG build.
If you need to use an old WG version, consider using an old version of MCTowns as well.
Old builds can be found on dev.bukkit.org.
I sent this from my phone, I'm finally heading home from uni for break, so I'll leave this open until I can give this one more look on an actual computer.