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

Paper Changes:
PaperMC/Paper@0e82527 Fix NPE while trying to respawn an already disconnected player (#11353)
PaperMC/Paper@5d91bef Fix shulkerbox loot table replenish (#11366)
PaperMC/Paper@a8e6a93 Deprecate for removal all OldEnum-related methods (#11371)
PaperMC/Paper@925c3b9 Add FeatureFlag API (#8952)
PaperMC/Paper@426f992 Enchantment is data-driven, so not FeatureDependant (#11377)
PaperMC/Paper@1ba1be7 Update Velocity natives again
PaperMC/Paper@7632de5 Tag Lifecycle Events (#10993)
PaperMC/Paper@b09eaf2 Add Item serialization as json api (#11235)
PaperMC/Paper@971a7a5 Add Decorated Pot Cracked API (#11365)
PaperMC/Paper@61fe23c deprecate isEnabledByFeature in Item/BlockType
PaperMC/Paper@e945cfe Fix PaperServerListPingEvent#getPlayerSample not being populated or used (#11387)

Gale Changes:
Dreeam-qwq/Gale@5b2f4f7 Updated Upstream (Paper)
Dreeam-qwq/Gale@e33d83d Remove vanilla profiler in tag lifecycle event
2024-09-12 08:52:16 -04:00
2024-09-06 13:45:03 -04: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-09-12 08:52:16 -04:00
2024-08-09 20:42:32 +08:00
2024-07-18 08:39:32 +08:00
2024-02-13 18:32:40 -05:00
2024-08-11 20:24:46 +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-08-25 09:18:33 +02:00
2024-09-10 19:50:26 -04: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 :)

📥 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.1-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.1-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%