Glass uses the same paperclip jar system that Paper uses.
You can also build it yourself.
In order to use Glass 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.16.5-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
Tuinity-Server maven dependency:
<dependency>
<groupId>com.tuinity</groupId>
<artifactId>tuinity</artifactId>
<version>1.16.5-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
There is no repository required since the artifacts should be locally installed via building Tuinity.
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
8+ installed to compile (andjre
8+ to run). - Anything else that
paper
requires to build.
If all you want is a paperclip server jar, just run ./tuinity jar
.
Otherwise, to setup the Tuinity-API
and Tuinity-Server
repo, just run the following command
in your project root ./tuinity patch
additionally, after you run ./tuinity patch
you can run ./tuinity build
to build the
respective api and server jars.
./tuinity patch
should initialize the repo such that you can now start modifying and creating
patches. The folder Tuinity-API
is the api repo and the Tuinity-Server
folder
is the server repo and will contain the source files you will modify.
Patches are effectively just commits in either Tuinity-API
or Tuinity-Server
.
To create one, just add a commit to either repo and run ./tuinity rb
, and a
patch will be placed in the patches folder. Modifying commits will also modify its
corresponding patch file.
The PATCHES-LICENSE file describes the license for api & server patches,
found in ./patches
and its subdirectories except when noted otherwise.
Everything else is licensed under the MIT license, except when note otherwise. See https://github.com/starlis/empirecraft and https://github.com/electronicboy/byof for the license of material used/modified by this project.
The fork is based off of aikar's EMC framework found here.