#Eclipse error
1 messages · Page 1 of 1 (latest)
I have already watched a lot of tutorials about creating a plugin on Spigot, but when you get to the stage of creating the first class, a problem arises, there is no org.bukkit.plugin.java.JavaPlugin in the project
This is one of those videos I tried to make, it didn't work out: https://www.youtube.com/watch?v=XaU8JKQW0Ao
there were many others, but they all have about the same actions
so chances are you don't use maven or gradle and haven't put bukkit on the classpath
I can send in private messages a screenshot of what I have in Eclipse now
I recommend to follow this guide https://bukkit.fandom.com/wiki/Plugin_Tutorial_(Eclipse)#Starting_a_Plugin_Project
It's ancient but it still works and is how i got started
okay, I'll try to do it
i am use a JavaProject
You'd want a maven project for reason that seem arbitrary for you right now - but trust me: it matters.
Otherwise you would need to add https://hub.spigotmc.org/nexus/content/repositories/snapshots/org/spigotmc/spigot-api/1.19.3-R0.1-SNAPSHOT/spigot-api-1.19.3-R0.1-20230128.004812-32-shaded.jar on the build classpath
It's not difficult (if not easier), but remembering that link can be a bit troublesome if you decide to create a new project or switch to a new computer
As soon as I inserted it into the Referenced Libraries, everything immediately worked. Why does no one mention this library in the tutorials
Oh my God, I spent half a day because no one actually attached this set of characters called link and did not say that this is the most important thing. Oh my....
I'll try right now for interest by the method that you suggested