Closed freeze-dolphin closed 3 years ago
Ahh.. I see what is going on here. ScalaLoader gives the order to Bukkit's pluginmanager to load the scala plugins in its plugins folder from ScalaLoader's own onLoad method. ScalaLoader itself however could already have been loaded before RedLib and Vault are loaded, so that's why you're seeing this.
I have to think of a good solution to fix this, but in the mean time you can use .addSoftDepend instead of .addHardDepend.
Current fixes that cross my mind:
I think the second one is the better solution but I want to give this a bit more thought and headspace before I do it. It'll take a bit of time to implement too.
Problems
I' am writing a scala plugin using scala.
But it depends some other plugins written in Java.
So my codes come like this:
However, while starting the server, it logs:
I noticed that this message was above the message of loading 'RedLib' or 'Vault', it seemed that there were some problems in plugins ordering.
I am sure that I've put 'RedLib' and 'Vault' into my 'plugins/' folder.