9
0
mirror of https://github.com/Winds-Studio/Leaf.git synced 2025-12-19 15:09:25 +00:00
Files
Leaf/public/readme/README_CN.md
2025-06-09 05:16:07 +08:00

6.7 KiB
Raw Blame History

Leaf

下载 Github Actions 构建 QQ 文档

Leaf 是一个基于 Paper 的分支,专为高自定义和高性能而设计,基于 Gale 之上,并融合了其他核心的优化和修复。

Warning

Leaf 是一个面向性能的分支。在迁移到 Leaf 之前,请务必提前备份。欢迎任何人贡献优化或报告问题来帮助我们改进。

English | 中文

🍃 特点

  • 基于 Gale,以获得更好的性能
  • 异步寻路、生物生成和实体追踪
  • 大量优化融合自 其他核心 的补丁, 和我们自己的
  • 完全兼容 Spigot 和 Paper 插件
  • 最新依赖,保持所有依赖项为最新版本
  • 允许用户名使用所有字符,包括中文和其他字符
  • 修复一些 Minecraft 的 bug
  • 模组协议支持
  • 更多自定义配置项,源自 Purpur 的特性
  • 线性区域文件格式,节省磁盘空间
  • 运维友好,集成 PufferfishSentry,轻松详细追踪服务器的所有报错
  • 以及更多...

📈 bStats 统计

bStats Graph Data

📫 联系方式

📫 赞助

如果您喜欢我们的工作,欢迎通过我们的 Open CollectiveDreeam 的爱发电 进行赞助 :)

📥 下载

从我们的 官网 下载 Leaf或在 GitHub Action 获取最新构建版本

请注意需要 Java 21 以上。

📄 文档

关于如何使用/配置 Leaf 的文档:www.leafmc.one/zh/docs

📦 构建

构建用于分发的 Paperclip JAR

./gradlew applyAllPatches && ./gradlew createMojmapPaperclipJar

🧪 API

Maven

<repository>
    <id>leafmc</id>
    <url>https://maven.nostal.ink/repository/maven-snapshots/</url>
</repository>
<dependency>
    <groupId>cn.dreeam.leaf</groupId>
    <artifactId>leaf-api</artifactId>
    <version>1.21.4-R0.1-SNAPSHOT</version>
    <scope>provided</scope>
</dependency>

Gradle

repositories {
  maven {
    url = uri("https://maven.nostal.ink/repository/maven-snapshots/")
  }
}

dependencies {
    compileOnly("cn.dreeam.leaf:leaf-api:1.21.4-R0.1-SNAPSHOT")
}

java {
  toolchain.languageVersion.set(JavaLanguageVersion.of(21))
}

⚖️ 许可证

Paperweight 文件基于 MIT 许可证。 补丁基于 MIT 许可证,除非在补丁顶部注释中另有说明。 二进制文件基于 GPL-3.0 许可证。

另请参阅 PaperMC/PaperPaperMC/paperweight 了解本项目使用的一些材料的许可证。

📜 致谢

感谢以下项目。Leaf 包含了一些取自这些项目的补丁。
如果没有这些优秀的项目Leaf 就不会变得如此出色。

🔥 特别感谢

Jianke Cloud Host 剑客云 | cloud of swordsman

如果你想找一个低价高性能、低延迟的云服务商,剑客云是个不错的选择!你可以在 这里 注册。

If you want to find a cheaper, high performance, stable, lower latency host, then cloud of swordsman is a good choice! Registers and purchases in here.


YourKit

YourKit 通过创新和智能的工具支持开源项目,用于监控和分析 Java 和 .NET 应用程序。 YourKit 是 YourKit Java ProfilerYourKit .NET ProfilerYourKit YouMonitor 的创造者。