Pretty much what the title says. I'm trying to implement some methods from another plugin. Problem is, all of these are in the plugin's Main class (extending JavaPlugin) and I can't access them because of another initialization of Main error. Is there any possibility to get over this?
You could use PluginManager#getPlugin to get the plugin. Say the plugin's name is "Foo" and the main class in that plugin (the one that extends JavaPlugin) is "Bar.class" Code (Text): Bar plugin = server.getPluginManager().getPlugin("Foo");