Tuinity has been merged into Paper as of https://github.com/PaperMC/Paper/commit/7d10cdea0358854138d0d0ada5e74c58c688dea7 Simply follow https://github.com/PaperMC/paperweight-examples/tree/main as alternative to this repo.
Based off of Tuinity instead of Paper. Uses Paperweight.
Requirements:
- You need
git
installed, with a configured user name and email. On Windows you need to run from git bash. - You need
maven
installed. - You need
jdk
16+ installed to compile (andjre
16+ to run). - Anything else that
paper
requires to build.
To compile Byof, you need JDK 16 and an internet connection.
Clone this repo and run ./gradlew applyPatches
.
To get a full list of tasks, run ./gradlew tasks
.
Run ./gradlew shadowJar
from your terminal. You can find the compiled jar in the Byof-Server/build/libs
directory.
Run ./gradlew reobfJar
from your terminal. You can find the compiled jar in the Byof-Server/build/libs
directory.
Run ./gradlew paperclipJar
from your terminal. You can find the compiled jar in the build/libs
directory.
Replace mentions of Byof with your preferred fork name in settings.gradle.kts
, build.gradle.kts
& .gitignore
.
Set the right package group name in gradle.properties
After applying patches, git rebase in <fork name>-Server
, edit "Build changes" and replace all mentions of Byof with your fork name. Replace com.github.clrxbl.byof
in Versioning.java
aswell.