Special thanks to DarkChroma
admin of CatCraft for the support.
Open each branch, compile it's corresponding pom.xml (mvn package
)Note: on the main pom.xml, on the branch 1.19 and branch 1.20 you must run themvn paper-nms:init
in order to mojang and paper mappings to work.Compile main pom.xmlrunpack.bat
(needs 7zip installed)<Optional> Rename pack.jar -> FartherViewDistance.jar
- Uses: Java 21
- Every version will be compiled against a paper version, if you are seeking retro-compatibility, use an older version,
- If the server is running in an incompatible version it will disable the plugin and log this info.
- run
mvn paper-nms:init
- run
mvn package
- Add the resulting jar from
./target
to your plugins folder and be happy.
Why maven? My vscode isn't working properly with gradle and also I'm more used to maven.
Check the version used on
pom.xml
based of older commit files that you want to compile against.