9
0
mirror of https://github.com/LeavesMC/Leaves.git synced 2025-12-19 14:59:32 +00:00
This commit is contained in:
violetc
2021-10-30 19:42:38 +08:00
commit 014a532af5
34 changed files with 2608 additions and 0 deletions

48
README.md Normal file
View File

@@ -0,0 +1,48 @@
Leaves
--------
**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.
> 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.17.x) of Leaves by going [here](null)
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.17.1-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
```
Leaves-Server maven dependency:
```xml
<dependency>
<groupId>top.leavesmc.leaves</groupId>
<artifactId>leaves</artifactId>
<version>1.17.1-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
```
## Building
Java16+
`./gradlew applyPatches`
`./gradlew build`
`./gradlew paperclipJar` or `./gradlew reobfJar`