Closed Dogatron03 closed 2 years ago
This will break things. It's very much intentional to use the parent classloader here. If you want to launch the server with extra jars on the classpath, you can use -classpath
with the jars extracted into libraries
and versions
, and org.bukkit.craftbukkit.Main
as the main class. A better solution to this might be some sort of way to add to the library jars without modifying the paperclip, ie through a command line argument or something.
Following code has been tested by compiling Paperclip and replacing classes in Paper jar with resulting new classes.