The spigot plugin does not see the bungeecord plugin as a dependency

Discussion in 'Spigot Plugin Help' started by BrightGirl, Jul 9, 2021.

  1. Here's the problem: I have methods in the bungeecord plugins that I need to use in the spigot plugin. But when I put it as a dependency at server startup it gives error java.lang.NoClassDefFoundError: ...
    The IDE sees the methods from that plugin. What is the problem?
  2. BungeeCord and Spigot plugins can't detect each others, they aren't loaded on the same Java instance, you have to use some sort of bridge to make a plugin interact with its bungee version, otherwise, you can't use them
    #2 Tanguygab, Jul 9, 2021
    Last edited: Jul 9, 2021
    • Agree Agree x 1
  3. Correct! And in addition, you can use the BungeeCord plugin message channel to achieve that! Have a look at the forward subchannel.
    • Winner Winner x 1