1
0
Fork 0
mirror of synced 2026-12-06 18:12:25 +00:00
No description
Find a file
Parker Wahle b7e5091bb0
bump l4j
2021-12-30 14:42:32 -05:00
.github Update GitHub Actions workflow and move paperRef to it's own file, set paperclip to save to tuinity-paperclip.jar in the root project directory (#307) 2021-06-19 21:57:41 -07:00
build-data Change mc dev import format to new format 2021-07-03 19:35:11 -07:00
gradle/wrapper Initial patch pass for 1.17 2021-06-19 10:25:57 -07:00
licenses Change license from MIT to LGPLv3 2021-03-11 16:14:26 -08:00
patches bump l4j 2021-12-30 14:42:32 -05:00
scripts Initial patch pass for 1.17 2021-06-19 10:25:57 -07:00
.editorconfig Initial patch pass for 1.17 2021-06-19 10:25:57 -07:00
.gitattributes Initial patch pass for 1.17 2021-06-19 10:25:57 -07:00
.gitignore bump l4j 2021-12-30 14:42:32 -05:00
build.gradle.kts bump l4j 2021-12-30 14:42:32 -05:00
CONTRIBUTING.md Rebrand user-facing texts to Tuinity (#13) 2020-02-01 18:29:16 -08:00
current-paper Update paper 2021-08-13 00:03:37 -07:00
gradle.properties Update to 1.17.1 2021-07-07 00:56:07 -07:00
gradlew Initial patch pass for 1.17 2021-06-19 10:25:57 -07:00
gradlew.bat Initial patch pass for 1.17 2021-06-19 10:25:57 -07:00
PATCHES-LICENSE Change license from MIT to LGPLv3 2021-03-11 16:14:26 -08:00
README.md bump l4j 2021-12-30 14:42:32 -05:00
settings.gradle.kts Initial patch pass for 1.17 2021-06-19 10:25:57 -07:00
tuinity-logo.webp Update README.md styling (#264) 2021-03-18 20:51:48 -07:00



Fork of Paper aimed at improving server performance at high playercounts.

Java CI IRC Discord

This is a fork of Tuinity that aims to probide security by updating to the latest patched Log4j version. This should not be used on production. For development purposes only.

How To (Server Admins)

Tuinity uses the same paperclip jar system that Paper uses.

You can download the latest build (1.17.x) of Tuinity by going here

You can also build it yourself.

How To (Plugin developers)

In order to use Tuinity as a dependency you must build it yourself. Each time you want to update your dependency you must re-build Tuinity.

Tuinity-API maven dependency:

<dependency>
    <groupId>com.tuinity</groupId>
    <artifactId>tuinity-api</artifactId>
    <version>1.17.1-R0.1-SNAPSHOT</version>
    <scope>provided</scope>
 </dependency>

Tuinity-Server maven dependency:

<dependency>
    <groupId>com.tuinity</groupId>
    <artifactId>tuinity</artifactId>
    <version>1.17.1-R0.1-SNAPSHOT</version>
    <scope>provided</scope>
</dependency>

TODO nms

Building

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 (and jre 16+ to run).
  • Anything else that paper requires to build.

To set up the Tuinity-API and Tuinity-Server repo to begin editing/reading source code, clone the Tuinity repo and run gradlew applypatches from the root directory.

To build Tuinity, run the following commands in the root directory after cloning the Tuinity repo:

  1. gradlew applypatches
  2. gradlew build
  3. gradlew paperclipjar

Once all 3 steps complete successfully, tuinity-paperclip.jar will be placed into the project root directory

Creating a patch

Patches are effectively just commits in either Tuinity-API or Tuinity-Server. To create one, just add a commit to either repo and run ./gradlew rebuildpatches, and a patch will be placed in the patches folder. Modifying commits will also modify its corresponding patch file.

License

The PATCHES-LICENSE file describes the license for api & server patches, found in ./patches and its subdirectories except when noted otherwise.

The fork is based off of PaperMC's fork example found here. As such, it contains modifications to it in this project, please see the repository for license information of modified files.