Browse by type
<img src="https://github.com/LegacyLands/legacy-lands-library/raw/main/logo.png" alt="legacy-lands-library-logo">
<a href="https://repo.qwqdev.top/#/releases/net/legacy/library"><img alt="Maven" src="https://img.shields.io/maven-metadata/v?metadataUrl=https%3A%2F%2Frepo.qwqdev.top%2Freleases%2Fnet%2Flegacy%2Flibrary%2Ffoundation%2Fmaven-metadata.xml&label=maven"></a>
<a href="https://github.com/LegacyLands/legacy-lands-library/actions/workflows/main.yml"><img alt="Build" src="https://img.shields.io/github/actions/workflow/status/LegacyLands/legacy-lands-library/main.yml?branch=main"></a>
<a><img alt="Java" src="https://img.shields.io/badge/Java-21-orange"></a>
<a href="https://app.codacy.com/gh/LegacyLands/legacy-lands-library/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade"><img src="https://app.codacy.com/project/badge/Grade/cccd526f9bc94aaabc990dd65920cd21"/></a>
<a><img alt="Issues" src="https://img.shields.io/github/issues/LegacyLands/legacy-lands-library"></a>
<a><img alt="Stars" src="https://img.shields.io/github/stars/LegacyLands/legacy-lands-library"></a>
<a><img alt="Forks" src="https://img.shields.io/github/forks/LegacyLands/legacy-lands-library"></a>
<a><img alt="License" src="https://img.shields.io/github/license/LegacyLands/legacy-lands-library"></a>
面向 Minecraft 服务端开发的企业级模块化框架,提供多级缓存、Redis Streams、弹性数据处理与现代 Java 并发能力,支持 Spigot、Paper 和 Folia。
这是一个基于 Fairy Framework 构建的模块化插件工具库,采用模块化设计,深度利用 Java 21 现代化特性。 为现代 Minecraft 插件开发提供了必要的工具和实用程序,跨平台支持 Spigot、Paper 和 Folia。
1. 添加仓库与所需模块(无需任何认证):
repositories {
maven("https://repo.qwqdev.top/releases")
}
dependencies {
compileOnly("net.legacy.library:annotation:<版本号>")
}
最新的 <版本号> 见上方的 Maven 徽章。
2. 服务器安装:将 fairy-lib-plugin 以及所用模块(包括其依赖的模块)的 jar 放入 plugins 文件夹。
3. 声明依赖,确保你的插件在库之后加载:
fairy {
bukkitProperties().depends.add("annotation")
}
script - 这是一个强大、灵活、可拓展且高性能的脚本执行引擎封装,支持 Rhino, Nashorn, V8
三种 JavaScript 引擎。
experimental - 一些实验性的模块,可以显著提高性能,但可能过于复杂而无法使用或暂时不稳定。
security - 即将推出。
从 Actions 下载:
-javadoc:生成的 API 文档-plugin:可直接用于服务器的编译插件-sources:包含源代码和编译类(推荐用于开发)每个模块的 README 中都有详细文档
无需任何认证。
Gradle(Kotlin DSL):
repositories {
maven("https://repo.qwqdev.top/releases")
}
dependencies {
compileOnly("net.legacy.library:模块名称:版本号")
}
Maven:
<repositories>
<repository>
<id>legacy-lands</id>
<url>https://repo.qwqdev.top/releases</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>net.legacy.library</groupId>
<artifactId>模块名称</artifactId>
<version>版本号</version>
<scope>provided</scope>
</dependency>
</dependencies>
可在 repo.qwqdev.top 浏览所有可用版本。
构件同时也会发布到 GitHub Packages,使用前需要配置 GitHub 认证(了解更多)
repositories {
maven {
url = uri("https://maven.pkg.github.com/LegacyLands/legacy-lands-library")
credentials {
username = project.findProperty("gpr.user") as String? ?: System.getenv("USERNAME")
password = project.findProperty("gpr.key") as String? ?: System.getenv("TOKEN")
}
}
}
dependencies {
compileOnly("net.legacy.library:模块名称:版本号")
}
虽然版本号目前仍是 SNAPSHOT,但这并不代表它不能用于生产环境。事实上,我们计划在一个大型插件开发项目中广泛使用此版本,并在充分验证其稳定性和功能性后,发布第一个正式版本。
我们将在 哔哩哔哩 频道发布更多关于此模块和 Fairy Framework 的开发教程与经验分享!
本项目由 LegacyLands 全力赞助和维护。

是一个基于 Folia 的分支,具有许多有用的优化、可配置的原版特性和更多的 API支持。
看到一个凝聚了无数不眠之夜与社区热爱的优秀开源项目被迫暂停,我们深感痛心与愤慨。这一切的始作俑者 Canvas,公然剽窃并洗稿代码,抹杀原作者的署名与贡献,肆意践踏 GPL-3.0 许可证。开源绝非剽窃者掠夺他人辛勤劳动成果的避风港。Canvas 这种窃取成果却抹去所有贡献者印记的卑劣行径,不仅是对 Luminol 团队及所有贡献者的公然侮辱,更是对整个 Minecraft 开源生态系统的毁灭性打击。
我们坚定地与 Luminol 站在一起,对 Canvas 表示最强烈的谴责并予以彻底抵制——建立在窃取之上的基石注定无法长久,背弃开源精神的剽窃者终将被社区所唾弃!

本项目由 YourKit 提供的 Java 与 .NET 性能分析工具驱动。

我们热烈欢迎更多开发者加入我们的开源项目,贡献自己的力量。无论是分享想法、创建 Issue,还是提交 Pull Request,每一份贡献都是有意义的!
我们对使用 AI 非常宽容。您可以使用任何 AI 来编写和贡献代码,只要它能正常工作并满足 CLAUDE.md 中的要求即可。
我们将这个库作为维持整个服务器运行(LegacyLands Minecraft 服务器)的主要依赖,并正在积极引入 Scala 3。未来将进行小部分的非破坏性迁移到 Scala 3,利用其优越的类型系统、并发模型和函数式编程能力来获得更好的性能和可维护性。
browse all types & interfaces →
$ claude mcp add legacy-lands-library \
-- python -m otcore.mcp_server <graph>