Home > front end >  How to properly add craftbukkit/spigot/paper as an external library in Eclipse?
How to properly add craftbukkit/spigot/paper as an external library in Eclipse?

Time:01-29

I'm having issues including bukkit/spigot/paper into my Eclipse since when I try "extends JavaPlugin" in my Class it does not seem able to import the file

I have tried versions of craftbukkit, spigot and paper on several occasions but it just does not seem to work:

From all the online tutorials I have seen, I have noticed that on their versions of eclipse the "Modulepath" and "Classpath" headings do not seem to be there, but for me they are right there:

import popup

Could someone please tell me how to fix this issue?

CodePudding user response:

I'm using Intellij IDEA and there is a plugin that create all the file on it, if you really want a clean environment use this to create your project and go back on eclipse after, i can create it and send you the main folder if you can provide you paper version that you want

CodePudding user response:

You cannot use paper as a External JAR. Instead download Bukkit or Spigot from the internet (or use BuildTools to compile your own jar file), and use those instead of paper.

  • Related