BungeeCord version (with Bungee's events support)
LadyCailinBot opened this issue ยท 12 comments
CMDHELPER-3068 - Reported by Hazae41
May you develop a BungeeCord support in another version of CommandHelper (or add it to the current version) please?
Thanks in advance.
Comment by PseudoKnight
Related discussion:
http://forum.enginehub.org/threads/bungee-ch.15600/
To someone who is actually more familiar with how BungeeCord works, what would this entail? What prevents CH from working on BungeeCord right now? Can this just be an extension?
Comment by Hazae41
Yeah an extension is the BungeeCord's plugin folder that connects to CommandHelper (on Bukkit)
Comment by PseudoKnight
Yes, I'm asking if it can be additive or if it needs to modify CH in any way. I thought my questions were pretty clear.
Comment by PseudoKnight
"What prevents CH from working on BungeeCord right now?"
Comment by Hazae41
Okay, I put CmdHelper is BungeeCord and that's what it says me:
09:08:02 [WARNING] Error enabling plugin CommandHelper
java.lang.NoClassDefFoundError: org/bukkit/plugin/java/JavaPlugin
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:455)
at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:367)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at net.md_5.bungee.api.plugin.PluginClassloader.loadClass0(PluginClassloader.java:34)
at net.md_5.bungee.api.plugin.PluginClassloader.loadClass(PluginClassloader.java:27)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at net.md_5.bungee.api.plugin.PluginManager.enablePlugin(PluginManager.java:297)
at net.md_5.bungee.api.plugin.PluginManager.loadPlugins(PluginManager.java:205)
at net.md_5.bungee.BungeeCord.start(BungeeCord.java:244)
at net.md_5.bungee.BungeeCordLauncher.main(BungeeCordLauncher.java:54)
at net.md_5.bungee.Bootstrap.main(Bootstrap.java:15)
Caused by: java.lang.ClassNotFoundException: org.bukkit.plugin.java.JavaPlugin
at net.md_5.bungee.api.plugin.PluginClassloader.loadClass0(PluginClassloader.java:53)
at net.md_5.bungee.api.plugin.PluginClassloader.loadClass(PluginClassloader.java:27)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 18 more
Comment by jb_aero
BungeeCord uses the same loading method and format as Bukkit, therefore we can't make a version of CH that works on both, like we can with Bukkit and Sponge.
Comment by Hazae41
I know some plugins that works on both, they have plugin.yml for Bukkit and bungee.yml for BungeeCord. The two main class files are in separated packages.