How hard is it to build (compile) a plugin?
I am tempted to purchase raytraceantixray since i'm updating to 1.20.4, but I remember being told by PGDK that it was a bad buy because no support will be given and that it was best to compile it yourself. I was wondering if there is significant time/knowledge investment in doing so and whether it would be best for me to just buy it for the easy download.
For reference, this is the plugin: https://builtbybit.com/resources/raytraceantixray.24914/
BuiltByBit
RayTraceAntiXray
Paper plugin for server-side async multithreaded ray tracing to hide ores that are exposed to air.
32 Replies
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close
!close
!solved
!answered
Requested by .deathpacito#0
Compiling is easy if the owner provided a github page/source code of the plugin
If you have never compiled anything before you will need to install maven or gradle
And then you need to run one of the commands in the source code directory
for maven
mvn clean package
for gradle gradlew clean build
If there is a file builld.gradle file in the directory then use gradle otherwise use mavenBased off this I think i'll need maven

GitHub
GitHub - stonar96/RayTraceAntiXray: Paper plugin for server-side as...
Paper plugin for server-side async multithreaded ray tracing to hide ores that are exposed to air using Paper Anti-Xray engine-mode 1. - stonar96/RayTraceAntiXray
.mvn/wrapper looks like it
Okay then install maven and restart the computer:
https://maven.apache.org/download.cgi
https://maven.apache.org/install.html
Installation guide
Thank you
Yeah I do need that installation guide :pepecross:
Amit Thinks
YouTube
How to install Apache Maven on Windows 10
In this video, learn how to install Maven on Windows 10. Follow the below steps:
Step 1: Download and Install Java: https://youtu.be/O2mE0dWZ43M
Step 2: Set the Java bin path and JAVA_HOME using the following video:
https://youtu.be/lxu2HL4ZVJM
Step 3: Download Maven
Step 4: Set the following:
- Maven bin path
...
I was about to ask if that link was for linux lmao
Thanks for the video
No problem
Keep in mind that when you buy the plugin, you are supporting the developer and help fund the project
Always support your local developer, especially when you are going to be using their work every day
Did you read the post
Yes
It says that the developer provides no support
He does, via GitHub tickets
I have a ticket on that exact project rn
I followed step 1 up to here, but it seems the path did not work https://youtu.be/O2mE0dWZ43M?feature=shared&t=283
Amit Thinks
YouTube
How to Install Java JDK 16.0.1 on Windows 10
In this video, learn how to install Java JDK 16.0.1 on Windows 10. At first, download Java JDK 16, then install on Windows 10. After installation, set the JDK path under Environment Variables section on Windows 10.
Why JRE isn't required in newer Java releases?
https://youtu.be/V6zni8ZpT6A
How to Run first Java program
https://studyopedia.com/...
Did you restart the computer?

No
Ah
Do it
Before installing java did you check if java is already installed using java --version
When compiling make sure you're on the right commit for your server version
There isn't backwards compatible
Also make sure you're on the right LTS java version for your commit
Use whatever java version your server runs on
Highly doubt it's 16
Yes, it wasn't
21
Then install java 21?
I installed jdk-22
So that's wrong right?
He's on 1.20.4, itd he java 17
be*
I pretty much did this, does it cause issues?

Server startup does show it's using Java 21
If your server is using java 21 then compile with java 21
If you installed 22 it'll prob be fine
Thanks for the suggestion, just purchased the plugin.
👍
Do you use the Optimized or More expensive config?
I use the more expensive config