PandaSpigot icon indicating copy to clipboard operation
PandaSpigot copied to clipboard

Question about setup to start contributing

Open Verdanix opened this issue 2 years ago • 12 comments

Hello everyone, As you can probably see in the title, my question is about how do I start to contribute? I cloned the project into Intellij IDEA, ran the panda script by right clicking, then run panda and it did absolutely nothing. I appreciate it your going to help, maybe I'm missing something, I don't know. Thanks!

Verdanix avatar Jun 01 '22 05:06 Verdanix

Hi! For you to run Panda scripts you need:

JDK 8 (or above) git Maven Bash

After cloning the project you have to type /panda build and wait, after the script runs it will generate the PandaSpigot-API and PandaSpigot-Server for you to modify.

uRyanxD avatar Jun 01 '22 13:06 uRyanxD

Hello, The problem is that I didn't enter the "." before the slash because I saw somewhere not to put that on windows, but I am supposed to get the actual source code for Paper right? These are my logs: https://pastebin.com/JDrwRNr0. I apologize if this is a noob question.

Verdanix avatar Jun 02 '22 01:06 Verdanix

./remap.sh: line 75: mvn: command not found

Looks like you need to install Maven.

hpfxd avatar Jun 02 '22 02:06 hpfxd

It is installed though, I installed it through Intellij

Verdanix avatar Jun 02 '22 02:06 Verdanix

It needs to be accessible on your $PATH, I'm not sure if IntelliJ does this by default. Here are the official installation instructions.

hpfxd avatar Jun 02 '22 15:06 hpfxd

Hello again, I installed Maven and ran ./panda patch and once again an error happened again: https://pastebin.com/jWq5ZsE1

Verdanix avatar Jun 10 '22 01:06 Verdanix

Hello again, I installed Maven and ran ./panda patch and once again an error happened again: https://pastebin.com/jWq5ZsE1

run ./panda setup (to prepare paper to apply the patches too) first before running ./panda [apply/patch]

mechoriet avatar Jun 14 '22 23:06 mechoriet

Sorry if I may be misunderstanding, but I did run ./panda setup and ./panda patch, and I did get 2 errors: https://pastebin.com/Spi6AhpZ, as well as the one before (https://pastebin.com/jWq5ZsE1).

Verdanix avatar Jun 15 '22 16:06 Verdanix

./decompile.sh: line 23: jar: command not found

seems like it can't find the jdk to compile the mojang jar before patching paper

mechoriet avatar Jun 16 '22 14:06 mechoriet

./decompile.sh: line 23: jar: command not found

seems like it can't find the jdk to compile the mojang jar before patching paper

I can patch it with java 17 right because isn't it java 8+? I might have to switch if I can't

Verdanix avatar Jun 17 '22 23:06 Verdanix

./decompile.sh: line 23: jar: command not found seems like it can't find the jdk to compile the mojang jar before patching paper

I can patch it with java 17 right because isn't it java 8+? I might have to switch if I can't

Just using java 8 if I remember correctly

uRyanxD avatar Oct 18 '22 19:10 uRyanxD

I mean am I able to compile to a more recent version of java?

Verdanix avatar Oct 19 '22 01:10 Verdanix

I mean am I able to compile to a more recent version of java?

Yes you can

uRyanxD avatar Jan 11 '23 18:01 uRyanxD

I'm closing this issue because the questions have been answered, if you have any more please reopen the issue or ask on Discord

uRyanxD avatar Apr 15 '23 22:04 uRyanxD