How can I add a spigot library to eclipse that I can take advantage of?

Ti
- in Plugins
7

I'm currently trying to learn how to program plugins (with eclipse) I'm looking at the videos from bivieh ( there he shows how to insert the spigot library, but that doesn't work anymore as I suspect because of the new version of eclipse. Now I wanted to ask if anyone knows how to do it now?

sc

That should still work I think. I don't see any reason why it shouldn't work. So you create a project, right click on it, go to Build Path and choose add Buildpath or something and add external JAR and choose your JAR file.

Ti

Thanks he did it differently in the video.

Now it's working!

Ti

I have another question and I have now continued and there's now below spigot can't be resolved to a module what is the error and what can I do that it works against?

ps: the error with me is in the video above at 13:30.

sc

Yes, then you have to import that. Did you do this?

Ti

No how does that work

sc

Well, actually it should offer itself to import that, but if not, then you have to go to the top of the class "import org.bukkit.plugin.java.JavaPlugin;" write

Ti

OK thanks