Discussion in 'Spigot Plugin Development' started by TheBlackTeddy, Apr 20, 2017.

    #1 TheBlackTeddy, Apr 20, 2017
    Last edited: Jan 22, 2021
  2. You *could* use Allatori for this if it does not work with Eclipse.
  3. Using maven would be recommended as you can export your project including these dependencies.
    • Like Like x 1
  4. Confront yourself with maven. Maven shade plugin is your solution.
  5. Choco


    File -> New -> Maven Project. Set up your required fields (artifact name, which is the name of the resulting .jar. This should be your plugin name), the package declaration, version and whatever else. Setting up the pom should be done automatically. If you Google "Maven Shade Plugin", you will find plenty of tutorials to help you from there. Spigot also has a Maven repository which you can find with another Google search
  6. Choco


    Of course I do, but not for you. The chocolate is mine! ALL MINEEEE!
    • Winner Winner x 2
  7. Create a libs folder next to your .jar file and place in all your libs. Or if you don't care of the file size, you could just add the source code of the lib to your project.
  8. Are you building with maven? Is your pom correct?
  9. In the dependencies for all the JARs you want to compile with:
    Code (Text):
    Dynamic Class loading. Go look that up on StackOverflow.