#Help with Spleef Plguin - I'm new!
1 messages · Page 1 of 1 (latest)
You could
But you could also see what the command does and take the most important part
I actually think I figured it out! How do I build the plugin now?
Thank you for your help Olivo!
Is it a maven project?
It is not. I don't know what maven is, I just took the source code and plopped itinto visual studio haha
C#, GML, HTML & CSS
Java & Javascript is pretty foreign to me, even after taking a few classes.
Though Java is very similar to C# from what I understand of it
Yeah there's a reason it's called Microsofts Java
Anyways what I would do is set up a maven project and import the dependencies
It might take sometime to do though
Alternativly you can use a Java IDE like Intellij or Eclipse to handle the compilation
^ this is what the author probably did
It usually is if they share the project setup
it is, just that instead of clicking "compile" you click on "package"
But it this case it seems they git ignored it
in maven?
damn who gitignores the pom o0
They probably used artifacts
I don't see any eclipse or ij files though
Only lib jars
you could just copy/paste this example pom.xml file, adjust the group id and package name and spigot version and you should have a working maven project https://blog.jeff-media.com/how-to-create-your-first-minecraft-plugin-using-the-spigot-api-and-maven/
Tbh I would help you compile that for you but I don't have accesd to a pc atm
Then you'd need to add all dependencies too
It has a libs folder with jars
okay so first of all, do this:
and when you got that done, repeat "the lazy way" for each of the .jars in /libs/ folder: https://blog.jeff-media.com/manually-installing-jar-files-to-your-local-maven-repository/
it doesn't really matter what you use as groupid, artifactid and version for the .jar dependencies if you use the lazy way btw
Do I install IntelliJ? or Maven? or both?
Ok ty. Downloading "IntelliJ IDEA Community Edition"
It says "Dependency 'org.spigotmc:spigot-api:1.12.2' not found"
Ohh ok tysm!
Now it says "Dependency 'org.spigotmc:spigot-api:1.12.2-R0.1-SNAPSHOT' not found" 🥹