9
0
mirror of https://github.com/LeavesMC/Leaves.git synced 2026-01-04 15:41:31 +00:00
Files
LeavesMC/README.md
2022-06-23 09:16:43 +00:00

49 lines
1.5 KiB
Markdown

Leaves [![Leaves CI](https://github.com/LeavesMC/Leaves/actions/workflows/leaves.yml/badge.svg)](https://github.com/LeavesMC/Leaves/actions/workflows/leaves.yml)
===========
**English** | [中文](https://github.com/LeavesMC/Leaves/blob/master/README_cn.md)
> Fork of [Paper](https://github.com/PaperMC/Paper) aimed at repairing broken vanilla properties.
> You can see what we modify and fix in [this](https://github.com/LeavesMC/Leaves/blob/master/docs/MODIFICATION.md)
> Waring: This fork will have low mspt as Paper
## How To (Server Admins)
Leaves use the same paperclip jar system that Paper uses.
You can download the latest build (1.19.x) of Leaves by going [here](https://github.com/LeavesMC/Leaves/releases/tag/1.19)
You can also [build it yourself](https://github.com/LeavesMC/Leaves#building).
## How To (Plugin developers)
In order to use Leaves as a dependency you must [build it yourself](https://github.com/LeavesMC/Leaves#building).
Each time you want to update your dependency you must re-build Leaves.
Leaves-API maven dependency:
```xml
<dependency>
<groupId>top.leavesmc.leaves</groupId>
<artifactId>leaves-api</artifactId>
<version>1.19-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
```
Leaves-Server maven dependency:
```xml
<dependency>
<groupId>top.leavesmc.leaves</groupId>
<artifactId>leaves</artifactId>
<version>1.19-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
```
## Building
Java17+
`./gradlew applyPatches`
`./gradlew createReobfBundlerJar`