mirror of
https://github.com/LeavesMC/Leaves.git
synced 2025-12-19 14:59:32 +00:00
--------- Co-authored-by: violetc <58360096+s-yh-china@users.noreply.github.com> Co-authored-by: Fortern <blueten.ki@gmail.com> Co-authored-by: MC_XiaoHei <xor7xiaohei@gmail.com> Co-authored-by: Helvetica Volubi <88063803+Suisuroru@users.noreply.github.com> Co-authored-by: MC_XiaoHei <xiaohei.xor7@outlook.com>
63 lines
2.6 KiB
Markdown
63 lines
2.6 KiB
Markdown
Leaves
|
||
===========
|
||
|
||
[](https://github.com/LeavesMC/Leaves/actions/workflows/leaves.yml)
|
||
[](https://github.com/LeavesMC/Leaves/releases/latest)
|
||
[](https://discord.gg/5hgtU72w33)
|
||
[](http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=nisbmnCFeEJCcYWBQ10th4Fu99XWklH4&authKey=8VlUxSdrFCIwmIpxFQIGR8%2BXvIQ2II%2Bx2JfxuQ8amr9UKgINh%2BdXjudQfc%2FIeTO5&noverify=0&group_code=815857713)
|
||
|
||
[English](README.md) | **中文**
|
||
|
||
> 一个致力于修复原版服务端被破坏特性的 [Paper](https://github.com/PaperMC/Paper) 分支
|
||
|
||
> 你可以在 [这里](https://docs.leavesmc.org/zh_Hans/leaves/reference/configuration) 查看所有的修改和修复内容
|
||
|
||
## 对于服务器管理员
|
||
此分支使用与 Paper 一致的 leavesclip(paperclip的分支) 分发
|
||
|
||
你可以从 [此处](https://github.com/LeavesMC/Leaves/releases/latest) 下载最新的构建结果 (1.21.x)
|
||
|
||
也可以通过 [此处](#自行构建) 的指南自行构建
|
||
|
||
如果你想要获得更多信息,那么你可以访问我们的 [文档](https://docs.leavesmc.org/zh_Hans/leaves/guides/getting-started)
|
||
|
||
## 对于插件开发者
|
||
Leaves-API:
|
||
```kotlin
|
||
maven {
|
||
name = "leavesmc-repo"
|
||
url = "https://repo.leavesmc.org/snapshots/"
|
||
}
|
||
|
||
dependencies {
|
||
compileOnly("org.leavesmc.leaves:leaves-api:1.21.5-R0.1-SNAPSHOT")
|
||
}
|
||
```
|
||
|
||
如果你要将 Leaves 作为依赖,那么你必须进行 [自行构建](#自行构建)
|
||
|
||
Leaves-Server:
|
||
```kotlin
|
||
dependencies {
|
||
compileOnly("org.leavesmc.leaves:leaves:1.21.5-R0.1-SNAPSHOT")
|
||
}
|
||
```
|
||
|
||
## 自行构建
|
||
|
||
你需要最低 JDK 21 和一个可以正常访问各种 git/maven 库的网络
|
||
|
||
首先克隆此储存库,然后在你的终端里依次执行 `./gradlew applyAllPatches` 和 `./gradlew createMojmapLeavesclipJar`
|
||
|
||
最后 你可以在 `leaves-server/build/libs` 文件夹里找到对应的jar文件
|
||
|
||
## 对于想要出一份力的开发者
|
||
|
||
可查看 [贡献须知](docs/CONTRIBUTING_cn.md)
|
||
|
||
## 特别感谢
|
||
|
||
[<img src="https://user-images.githubusercontent.com/21148213/121807008-8ffc6700-cc52-11eb-96a7-2f6f260f8fda.png" alt="" width="150">](https://www.jetbrains.com)
|
||
|
||
[JetBrains](https://www.jetbrains.com/),IntelliJ IDEA 的创造者,为 Leaves 提供了 [开源许可证](https://www.jetbrains.com/opensource/)。我们极力推荐使用 IntelliJ IDEA 作为你的 IDE。
|