CommandHelper

CommandHelper

46.5k Downloads

BungeeCord version (with Bungee's events support)

LadyCailinBot opened this issue ยท 12 comments

commented

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.

commented

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?

commented

Comment by Hazae41

Yeah an extension is the BungeeCord's plugin folder that connects to CommandHelper (on Bukkit)

commented

Comment by PseudoKnight

What? I meant a CH extension.

commented

Comment by Hazae41

An extension that hooks into BungeeCord?

commented

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.

commented

Comment by Hazae41

I don't know, the developer is you.

commented

Comment by PseudoKnight

"What prevents CH from working on BungeeCord right now?"

commented

Comment by Hazae41

Are you asking me to put CommandHelper in BungeeCord?

commented

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

commented

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.

commented

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.

commented

Comment by jb_aero

Oh, that must be a new-ish feature then. Last time I worked on something for BungeeCord they also used plugin.yml.