9
0
mirror of https://github.com/Winds-Studio/Leaf.git synced 2025-12-19 15:09:25 +00:00
Dreeam 711b99293f Updated Upstream (Paper/Gale/Purpur/Leaves)
Upstream has released updates that appear to apply and compile correctly

Paper Changes:
PaperMC/Paper@df3b654 ConcurrentUtil: Fix concurrent long map resize chain pull function
PaperMC/Paper@5a5c3a4 Remove chunk unload trace debug
PaperMC/Paper@7e44684 Fix wrong assumption about locale being null in the login phase (#11204)

Gale Changes:
Dreeam-qwq/Gale@ac42d6b Remove Optimize entity coordinate key
Dreeam-qwq/Gale@6ce6bd0 Add back Optimize random calls in chunk ticking
Dreeam-qwq/Gale@a8aff53 Fix fluidStateCount increment

Purpur Changes:
PurpurMC/Purpur@9e444c5 Add Entities can use portals patch back (#1571)
PurpurMC/Purpur@930003b Updated Upstream (Paper)

Leaves Changes:
LeavesMC/Leaves@bb803a9 [release-skip] Move protocol config
LeavesMC/Leaves@c279af4 Fix fortress mob spawn (#227)
LeavesMC/Leaves@e6ca163 Update Paper
LeavesMC/Leaves@a1fb5ff [ci skip] reduce cloud upload connect timeout
LeavesMC/Leaves@a8897bd fix CraftScheduler internal plugin logging issue (#284)
LeavesMC/Leaves@91ab4ed Try fix (#286)
LeavesMC/Leaves@ec274f5 Remove Attack Self
LeavesMC/Leaves@ffdcaa8 Update Paper
LeavesMC/Leaves@a7b7a1a Fix Fakeplayer Action
LeavesMC/Leaves@cd53d4c Try to fix #291, #292 (#293)
LeavesMC/Leaves@e2db81a Fix #294
LeavesMC/Leaves@248cb93 Update Paper
2024-08-06 22:05:40 +08:00
2024-06-27 16:10:43 +08:00
2024-07-16 06:43:15 +08:00
2024-02-18 05:38:10 -05:00
2024-07-18 08:39:32 +08:00
2024-02-13 18:32:40 -05:00
2024-07-17 02:25:16 +08:00
2024-01-21 08:41:41 -05:00
2024-07-16 06:43:15 +08:00
2024-07-16 06:43:15 +08:00
2023-09-30 03:13:30 -04:00
2024-03-08 03:05:53 -05:00
2024-02-17 18:37:53 -05:00
2023-08-25 09:18:33 +02:00
2024-07-17 01:30:22 +08:00

Leaf

Github Releases Github Actions Build Discord

Leaf is a drop-in replacement for Paper servers designed to remove some checks, customized and high-performance, built on top of Gale with optimizations and fixes from other forks.

🍃 Features

  • Fork of 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
  • Ability to disable useless console messages
  • Fixes some Minecraft bugs
  • Allows to connect the backend via a proxy server without enabling the bungeecord mode
  • 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 my work, feel free to donate :)

  • Ko-Fi:

📥 Download

You can find latest successful build in GitHub Action or Releases

Please note Java >= 21 is required.

📦 Building

Building a Paperclip JAR for distribution:

./gradlew applyPatches && ./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-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-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 just mix some of their patches together.
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%