#do you guys know where PacketPlayOutPlayerInfo maven's dependency is from?

1 messages · Page 1 of 1 (latest)

rare swan
#

do you guys know where PacketPlayOutPlayerInfo maven's dependency is from?

olive heath
#

Thats NMS

#

Buildtools will install it to your local repo when you run it

#

?nms

rare swan
#

wait

#

i know buildtools but what directory do i need to install it?

#

in my plugin?

#

i installed buildtools from a spigot forum but i need to select a directory to where to install it? i need to select my plugin's directory?

olive heath
#

No

#

Just run it and it’ll be installed in your maven local

#

You can just run it in an empty folder

rare swan
#

@olive heath i still can't access PacketPlayOutPlayerInfo and i ran buildtools, it downloaded a jar file (sorry if im not that expert but im new to spigot development)

olive heath
#

Follow the guide I linked

#

It’ll help you set up the maven dependency

rare swan
#

last question lol, do i need to change any of the things in the build section of the pom.xml maven file?

#

i changed only the dependencies section

olive heath
#

Shouldn’t have to

rare swan
#

"Could not find artifact org.spigotmcspigotpom:1.20.4-R0.1-SNAPSHOT in spigotmc-repo" ugh

olive heath
#

It’s in mavenLocal

rare swan
#

where do i put the "bundler" folder after running "java -jar BuildTools.jar --rev 1.20.4 --remapped"

#

sorry for being stupid

olive heath
#

Nowhere

#

Also you shouldn’t have :pom: in the dependency

#

Idk if that’s just maven adding that?

rare swan
#

how can i fix that

olive heath
#

Anyway did you run buildtools with the remapped flag?

rare swan
#

ye just like this? "java -jar BuildTools.jar --rev 1.20.4 --remapped"

olive heath
#

Yeah that should be good

rare swan
#

i have a file named bundler

olive heath
#

Does your pom match the one from the guide

rare swan
#

i mean a folder

rare swan
olive heath
#

Show your entire pom

rare swan
#

ima do a pastebin wait

olive heath
#

You need to add the special source plugin to your build

#

Also remove the 1.21 spigot dependency

rare swan
#

this? <dependency>
<groupId>net.md-5</groupId>
<artifactId>specialsource-maven-plugin</artifactId>
<version>2.0.3</version>
</dependency>

olive heath
#

?nms

olive heath
#

Follow the guide

rare swan
#

im literally following the guide but it can't find the artifact, maybe the repository is wrong (is not shown in the guide)

#

yes the repository is wrong

olive heath
#

It's in your maven local