#Help with Spleef Plguin - I'm new!

1 messages · Page 1 of 1 (latest)

tacit marsh
tough nymph
#

You could

#

But you could also see what the command does and take the most important part

tacit marsh
#

I actually think I figured it out! How do I build the plugin now?

#

Thank you for your help Olivo!

tough nymph
#

Is it a maven project?

tacit marsh
#

It is not. I don't know what maven is, I just took the source code and plopped itinto visual studio haha

tough nymph
#

Does it have a pom.xml

#

Should be in the root of the project

tacit marsh
#

Nope :(

#

this is the root

tough nymph
#

Ah well that's annoying

#

Whats in the libs folder

tough nymph
#

I see

#

What programming languages do you know?

#

Have experience with*

tacit marsh
#

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

tough nymph
#

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

tacit marsh
#

Hmm ok. Thank you so much

#

Wish it was as simple as pressing compile lol

tough nymph
#

It usually is if they share the project setup

clear summit
tough nymph
#

But it this case it seems they git ignored it

clear summit
#

damn who gitignores the pom o0

tough nymph
#

They probably used artifacts

#

I don't see any eclipse or ij files though

#

Only lib jars

clear summit
tough nymph
#

Tbh I would help you compile that for you but I don't have accesd to a pc atm

tough nymph
#

It has a libs folder with jars

clear summit
#

oh yikes, systempath dependencies

#

I didnt check the second screenshot

clear summit
#

it doesn't really matter what you use as groupid, artifactid and version for the .jar dependencies if you use the lazy way btw

tacit marsh
#

Do I install IntelliJ? or Maven? or both?

tough nymph
#

Intellij comes bundled with maven

#

So I'd recommend Intellij

tacit marsh
#

Ok ty. Downloading "IntelliJ IDEA Community Edition"

tacit marsh
#

Do I need to change any of this before Reloading All Maven Projects?

tough nymph
#

The project seems to be made for 1.12.2

#

So change 1.17.1 to 1.12.2

tacit marsh
#

It says "Dependency 'org.spigotmc:spigot-api:1.12.2' not found"

tough nymph
#

You need to keep the rest

#

Just replace 1.17.1 with 1.12.2

tacit marsh
#

Ohh ok tysm!

#

Now it says "Dependency 'org.spigotmc:spigot-api:1.12.2-R0.1-SNAPSHOT' not found" 🥹