9
0
mirror of https://github.com/Winds-Studio/Leaf.git synced 2025-12-31 04:46:38 +00:00
Dreeam 86564bf6ce Updated Upstream (Paper/Gale/Purpur)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@fd69140d Fix `disable-tripwire-updates` option not cancelling tripwire hook updates (#12129)
PaperMC/Paper@3b9106c7 Readd dead redirect recovery (#12136)
PaperMC/Paper@d26a9e90 Fix plugin commands (#12144)
PaperMC/Paper@142695eb Default minecraft alias to redirect (#12146)
PaperMC/Paper@e494f289 Correctly call BlockFadeEvents (#12141)
PaperMC/Paper@b386a8f5 Add simpler JavaPlugin command registration (#12142)
PaperMC/Paper@f0700818 Remove Experimental from TypedKey (#12134)
PaperMC/Paper@09f1f88f Fix getForwards/SidewaysMovement for players (#12140)
PaperMC/Paper@edda0db1 Fix server crash when no enchantments are present (#12149)

Gale Changes:
Dreeam-qwq/Gale@55793e9d Updated Upstream (Paper)
Dreeam-qwq/Gale@8372ff60 Updated Upstream (Paper)

Purpur Changes:
PurpurMC/Purpur@b0d36cae Updated Upstream (Paper)
PurpurMC/Purpur@97dcff40 set DamageCause to `SUICIDE` for scissor's DamageSource
PurpurMC/Purpur@a9862d7e Updated Upstream (Paper)
PurpurMC/Purpur@196c1768 Updated Upstream (Paper)
2025-02-19 15:28:34 -05:00
2025-01-24 04:51:24 -05:00
2025-01-17 19:54:25 -05:00
2024-08-09 20:42:32 +08:00
2025-01-08 04:21:21 -05:00
2025-01-08 04:21:21 -05:00
2025-01-18 10:51:44 -05:00
2025-01-21 01:13:35 -05:00
2025-01-17 19:54:25 -05:00
2024-07-16 06:43:15 +08:00
2025-01-17 19:54:25 -05:00
2025-02-09 15:06:39 +03:00
2025-01-17 19:54:25 -05:00
2025-02-03 20:45:19 -05:00

Leaf

Github Releases Github Actions Build Discord Docs

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 a performance-oriented fork. Make sure to take backups before switching to it. Everyone is welcome to contribute by optimizing or reporting issues.

🍃 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

bStats Graph Data

📫 Contact

📫 Donation

If you love our work, feel free to donate via our Open Collective or Dreeam's AFDIAN :)

📥 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

Jianke Cloud Host cloud of swordsman | 剑客云

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

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.

Languages
Java 99.2%
Shell 0.8%