mirror of
https://github.com/Winds-Studio/Leaf.git
synced 2025-12-23 00:49:31 +00:00
[ci skip] Update README.md & Gradle
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -19,7 +19,7 @@ build
|
|||||||
|
|
||||||
# Leaf
|
# Leaf
|
||||||
build-data/dev-imports.txt
|
build-data/dev-imports.txt
|
||||||
patches/todo
|
leaf-archived-patches/todo
|
||||||
run
|
run
|
||||||
|
|
||||||
leaf-api/build.gradle.kts
|
leaf-api/build.gradle.kts
|
||||||
|
|||||||
39
README.md
39
README.md
@@ -1,31 +1,30 @@
|
|||||||
<img src="public/image/leaf_banner.png" alt="Leaf">
|
<img src="public/image/leaf_banner.png" alt="Leaf">
|
||||||
<div align="center">
|
<div align="center">
|
||||||
|
|
||||||
[](https://github.com/Winds-Studio/Leaf/releases)⠀
|
[](https://www.leafmc.one/download)⠀
|
||||||
[](https://github.com/Winds-Studio/Leaf/actions)⠀
|
[](https://github.com/Winds-Studio/Leaf/actions)⠀
|
||||||
[](https://discord.gg/gfgAwdSEuM)
|
[](https://discord.gg/gfgAwdSEuM)
|
||||||
[](https://www.leafmc.one/docs/)
|
[](https://www.leafmc.one/docs)
|
||||||
|
|
||||||
**Leaf** is a [Paper](https://papermc.io/) fork designed to be customizable and high-performance, built on top of [Gale](https://github.com/Dreeam-qwq/Gale) with optimizations and fixes from other forks.
|
**Leaf** is a [Paper](https://papermc.io/) fork designed to be customizable and high-performance, built on top of [Gale](https://github.com/Dreeam-qwq/Gale) with optimizations and fixes from other forks.
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
> [!WARNING]
|
> [!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.
|
> Leaf is a performance-oriented fork. Make sure to take backups **before** switching to it. Everyone is welcome to contribute optimizations or report issues to help us improve.
|
||||||
|
|
||||||
## 🍃 Features
|
## 🍃 Features
|
||||||
- **Based on [Gale](https://github.com/Dreeam-qwq/Gale)** for better performance
|
- **Based on [Gale](https://github.com/Dreeam-qwq/Gale)** for better performance
|
||||||
- **Async** pathfinding, mob spawning and entity tracker
|
- **Async** pathfinding, mob spawning and entity tracker
|
||||||
- **Various optimizations** blending from [other forks](https://github.com/Winds-Studio/Leaf#-credits)
|
- **Various optimizations** blending from [other forks](https://github.com/Winds-Studio/Leaf#-credits) and our own
|
||||||
- **Fully compatible** with Bukkit, Spigot and Paper plugins
|
- **Fully compatible** with Spigot and Paper plugins
|
||||||
- **Latest dependencies**, keeping all dependencies up-to-date
|
- **Latest dependencies**, keeping all dependencies up-to-date
|
||||||
- **Allows all characters in usernames**, including Chinese and other characters
|
- **Allows all characters in usernames**, including Chinese and other characters
|
||||||
- **Fixes** some Minecraft bugs
|
- **Fixes** some Minecraft bugs
|
||||||
- **Configurable UseItem distance** for anarchy servers
|
- **Mod Protocols** support
|
||||||
- **Mod Protocols** support
|
- **More customized** relying on features of [Purpur](https://github.com/PurpurMC/Purpur)
|
||||||
- **More customized** relying on features of [Purpur](https://github.com/PurpurMC/Purpur)
|
- **Linear region file format**, to save disk space
|
||||||
- Support for **Linear region file format**
|
- **Maintenance friendly**, integrating with [Sentry](https://sentry.io/welcome/) of [Pufferfish](https://github.com/pufferfish-gg/Pufferfish) to easily track all errors coming from your server in extreme detail
|
||||||
- **Maintenance friendly**, integrating with [Sentry](https://sentry.io/welcome/) of [Pufferfish](https://github.com/pufferfish-gg/Pufferfish) to easily track all errors coming from your server in extreme detail
|
- And more...
|
||||||
- And more...
|
|
||||||
|
|
||||||
## 📈 bStats
|
## 📈 bStats
|
||||||
[](https://bstats.org/plugin/server-implementation/Leaf)
|
[](https://bstats.org/plugin/server-implementation/Leaf)
|
||||||
@@ -38,12 +37,12 @@
|
|||||||
If you love our work, feel free to donate via our [Open Collective](https://opencollective.com/Winds-Studio) or [Dreeam's AFDIAN](https://afdian.com/a/Dreeam) :)
|
If you love our work, feel free to donate via our [Open Collective](https://opencollective.com/Winds-Studio) or [Dreeam's AFDIAN](https://afdian.com/a/Dreeam) :)
|
||||||
|
|
||||||
## 📥 Download
|
## 📥 Download
|
||||||
You can find the latest successful build in [GitHub Action](https://github.com/Winds-Studio/Leaf/actions) or [Releases](https://github.com/Winds-Studio/Leaf/releases)
|
Download Leaf from our [website](https://www.leafmc.one/download) or get latest build in [GitHub Action](https://github.com/Winds-Studio/Leaf/actions)
|
||||||
|
|
||||||
**Please note Java >= 21 is required.**
|
**Please note Java >= 21 is required.**
|
||||||
|
|
||||||
## 📄 Documentation
|
## 📄 Documentation
|
||||||
Documentation on how to use/configure Leaf: [www.leafmc.one/docs](https://www.leafmc.one/docs)
|
Documentation about how to use/configure Leaf: [www.leafmc.one/docs](https://www.leafmc.one/docs)
|
||||||
|
|
||||||
## 📦 Building
|
## 📦 Building
|
||||||
Building a Paperclip JAR for distribution:
|
Building a Paperclip JAR for distribution:
|
||||||
@@ -90,7 +89,7 @@ Paperweight files are licensed under [MIT](licenses/MIT.txt).
|
|||||||
Patches are licensed under [MIT](licenses/MIT.txt), unless indicated differently in their header.
|
Patches are licensed under [MIT](licenses/MIT.txt), unless indicated differently in their header.
|
||||||
Binaries are licensed under [GPL-3.0](licenses/GPL-3.0.txt).
|
Binaries are licensed under [GPL-3.0](licenses/GPL-3.0.txt).
|
||||||
|
|
||||||
Also see [PaperMC/Paper](https://github.com/PaperMC/Paper) and [PaperMC/Paperweight](https://github.com/PaperMC/paperweight) for the licenses of some materials used by this project.
|
Also see [PaperMC/Paper](https://github.com/PaperMC/Paper) and [PaperMC/paperweight](https://github.com/PaperMC/paperweight) for the licenses of some materials used by this project.
|
||||||
|
|
||||||
## 📜 Credits
|
## 📜 Credits
|
||||||
Thanks to these projects below. Leaf includes some patches taken from them.<br>
|
Thanks to these projects below. Leaf includes some patches taken from them.<br>
|
||||||
@@ -129,7 +128,7 @@ 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](https://cloud.swordsman.com.cn/?i8ab42c).
|
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](https://cloud.swordsman.com.cn/?i8ab42c).
|
||||||
|
|
||||||
如果你想找一个低价高性能, 低延迟的云服务商,剑客云是个不错的选择! 你可以在[这里](https://cloud.swordsman.com.cn/?i8ab42c)注册.
|
如果你想找一个低价高性能、低延迟的云服务商,剑客云是个不错的选择!你可以在 [这里](https://cloud.swordsman.com.cn/?i8ab42c) 注册。
|
||||||
|
|
||||||
---
|
---
|
||||||

|

|
||||||
|
|||||||
@@ -8,6 +8,3 @@ org.gradle.configuration-cache=true
|
|||||||
org.gradle.caching=true
|
org.gradle.caching=true
|
||||||
org.gradle.parallel=true
|
org.gradle.parallel=true
|
||||||
org.gradle.vfs.watch=false
|
org.gradle.vfs.watch=false
|
||||||
leaf.patcher.repo-cache=enabled
|
|
||||||
leaf.patcher.patch-cache=enabled
|
|
||||||
leaf.patcher.fast-update=true
|
|
||||||
|
|||||||
BIN
gradle/wrapper/gradle-wrapper.jar
vendored
BIN
gradle/wrapper/gradle-wrapper.jar
vendored
Binary file not shown.
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@@ -1,6 +1,6 @@
|
|||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-bin.zip
|
||||||
networkTimeout=10000
|
networkTimeout=10000
|
||||||
validateDistributionUrl=true
|
validateDistributionUrl=true
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
|
|||||||
6
gradlew
vendored
6
gradlew
vendored
@@ -114,7 +114,7 @@ case "$( uname )" in #(
|
|||||||
NONSTOP* ) nonstop=true ;;
|
NONSTOP* ) nonstop=true ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
|
CLASSPATH="\\\"\\\""
|
||||||
|
|
||||||
|
|
||||||
# Determine the Java command to use to start the JVM.
|
# Determine the Java command to use to start the JVM.
|
||||||
@@ -205,7 +205,7 @@ fi
|
|||||||
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
||||||
|
|
||||||
# Collect all arguments for the java command:
|
# Collect all arguments for the java command:
|
||||||
# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
|
# * DEFAULT_JVM_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
|
||||||
# and any embedded shellness will be escaped.
|
# and any embedded shellness will be escaped.
|
||||||
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
|
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
|
||||||
# treated as '${Hostname}' itself on the command line.
|
# treated as '${Hostname}' itself on the command line.
|
||||||
@@ -213,7 +213,7 @@ DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
|||||||
set -- \
|
set -- \
|
||||||
"-Dorg.gradle.appname=$APP_BASE_NAME" \
|
"-Dorg.gradle.appname=$APP_BASE_NAME" \
|
||||||
-classpath "$CLASSPATH" \
|
-classpath "$CLASSPATH" \
|
||||||
org.gradle.wrapper.GradleWrapperMain \
|
-jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \
|
||||||
"$@"
|
"$@"
|
||||||
|
|
||||||
# Stop when "xargs" is not available.
|
# Stop when "xargs" is not available.
|
||||||
|
|||||||
4
gradlew.bat
vendored
4
gradlew.bat
vendored
@@ -70,11 +70,11 @@ goto fail
|
|||||||
:execute
|
:execute
|
||||||
@rem Setup the command line
|
@rem Setup the command line
|
||||||
|
|
||||||
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
|
set CLASSPATH=
|
||||||
|
|
||||||
|
|
||||||
@rem Execute Gradle
|
@rem Execute Gradle
|
||||||
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
|
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %*
|
||||||
|
|
||||||
:end
|
:end
|
||||||
@rem End local scope for the variables with windows NT shell
|
@rem End local scope for the variables with windows NT shell
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ pluginManagement {
|
|||||||
}
|
}
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id("org.gradle.toolchains.foojay-resolver-convention") version "0.9.0"
|
id("org.gradle.toolchains.foojay-resolver-convention") version "1.0.0"
|
||||||
}
|
}
|
||||||
|
|
||||||
rootProject.name = "leaf"
|
rootProject.name = "leaf"
|
||||||
|
|||||||
Reference in New Issue
Block a user