Upstream has released updates that appear to apply and compile correctly Paper Changes: PaperMC/Paper@30fdfb1a [ci/skip] Fix docs for DamageResistant (#11992) PaperMC/Paper@6b7650d8 Only add goat horn once (#12001) PaperMC/Paper@30046e04 Fix a rare crash with a concurrent modification of scaled health attributes (#12002) PaperMC/Paper@88bbead1 Flush regionfiles on save configuration option PaperMC/Paper@336ea9df Check for empty when sending equipment changes (#12008) PaperMC/Paper@939bb782 Add RayTraceConfigurationBuilder (#11907) PaperMC/Paper@81bb82f5 Fix wrong piston world border check (#12007) PaperMC/Paper@ce95b5d6 Use proper default for setting null display background color (#12010) PaperMC/Paper@2477f1f6 [ci/skip] fix and improvements for docs in ConsumeEffect component (#11998) PaperMC/Paper@fb5b173c Add PlayerClientLoadedWorldEvent (#11940) PaperMC/Paper@3af5e771 Add Player#give (#11995) PaperMC/Paper@7e21cb81 fix PlayerChangedMainHandEvent javadoc (#12020) PaperMC/Paper@5a34bf04 Correctly retrun true for empty input shapes in EntityGetter#isUnobstructed PaperMC/Paper@a392d475 Make Watchdog thread extend TickThread Gale Changes: Dreeam-qwq/Gale@f9080a7e Updated Upstream (Paper) Dreeam-qwq/Gale@ff0596c1 [ci/skip] Fix upstream commit sh on mac Dreeam-qwq/Gale@24970274 [ci/skip] Hermanez - Wutaf Dreeam-qwq/Gale@85eabf60 [ci/skip] cleanup Dreeam-qwq/Gale@7d9faf00 [ci/skip] cleanup & drop xor-shift random Dreeam-qwq/Gale@7af04981 [ci/skip] cleanup Dreeam-qwq/Gale@4d5d39df [ci/skip] Remove useless params standardize in upstream commit generator Dreeam-qwq/Gale@964f16ff Updated Upstream (Paper) Dreeam-qwq/Gale@0566a223 [ci/skip] cleanup Dreeam-qwq/Gale@5e3f6740 [ci/skip] cleanup work finished Dreeam-qwq/Gale@98a66cfb Updated Upstream (Paper) Dreeam-qwq/Gale@f7736578 [ci/skip] Update upstreamCommit.sh Dreeam-qwq/Gale@1c46c816 Updated Upstream (Paper) Dreeam-qwq/Gale@2b0a4c09 [ci/skip] Skip tests during auto update validate phase Purpur Changes: PurpurMC/Purpur@4a0a86b9 Updated Upstream (Paper) PurpurMC/Purpur@7399988c Fix hover in /plugins PurpurMC/Purpur@5e5857dc [ci/skip] modify ci skip references in paper upstream commits PurpurMC/Purpur@5583a3f1 Updated Upstream (Paper)
Leaf is a Paper fork designed to customized and high-performance, built on top of Gale with optimizations and fixes from other forks.
Warning
Leaf is an EXPERIMENTAL fork of Paper there MAY BE issues depending on server to server, test and backup servers before switching to it.
🍃 Features
- Based on Gale for better performance
- Async pathfinding, mob spawning and entity tracker
- Various optimizations blending from other forks
- Fully compatible with Bukkit, Spigot and Paper plugins
- Latest dependencies, keeping all dependencies in the newest version
- Allows all characters in usernames, including Chinese and other characters
- Fixes some Minecraft bugs
- Configurable UseItem distance for anarchy servers
- Mod Protocols support
- More customized relying on features of Purpur
- Support for Linear region file format
- Maintenance friendly, integrating with Sentry of Pufferfish to easy track all errors coming from your server in excruciating detail
- And more...
📈 bStats
📫 Contact
- Discord:
https://discord.com/invite/gfgAwdSEuM - QQ Group:
619278377
📫 Donation
If you love my work, feel free to donate :)
- AFDIAN: https://afdian.com/a/Dreeam
📥 Download
You can find the latest successful build in GitHub Action or Releases
Please note Java >= 21 is required.
📄 Documentation
Documentation on how to use/configure Leaf: docs.leafmc.one
📦 Building
Building a Paperclip JAR for distribution:
./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))
}
⚖️ License
Paperweight files are licensed under MIT. Patches are licensed under MIT, unless indicated differently in their header. Binaries are licensed under GPL-3.0.
Also see PaperMC/Paper and PaperMC/Paperweight for the license of some material used by this project.
📜 Credits
Thanks to these projects below. Leaf includes some patches taken from them.
If these excellent projects hadn't appeared, Leaf wouldn't have become great.
🔥 Special Thanks
If you want to find a cheaper, high performance, stable with lower latency, then cloud of swordsman is a good choice! Registers and purchases in here.
如果你想找一个低价高性能, 低延迟的云服务商,剑客云是个不错的选择! 你可以在这里注册.
YourKit supports open source projects with innovative and intelligent tools for monitoring and profiling Java and .NET applications. YourKit is the creator of YourKit Java Profiler, YourKit .NET Profiler, and YourKit YouMonitor.

