Obsidian
旨在简化 Paper 插件开发的 API
信息
本 API 旨在简化 Paper 插件的开发, 提供了大量实用工具,让您的工作(以及我的工作)更轻松
尽管有独立插件版本可用,但建议将此 API 阴影化(shade)到您的 插件中,因为此 API 更新频繁,如果服务器管理员安装了依赖不同版本该 API 的插件,使用独立版本可能会引发 一些问题
❗ 您需要 Java 17+ 才能使用此 API/插件。如果您使用的是较低版本,请考虑升级
⚠️ 您需要将插件配置为使用 Spigot 映射,以保留与 仍在使用 Spigot 映射的 Paper 分支的兼容性。 更多信息请参阅 PaperMC 文档
⚠️ 仅官方支持 Minecraft 1.17 或更高版本。低于 1.17 的版本将不会获得任何支持
它主要在我的插件中使用,但如果您愿意,也可以在您自己的插件中使用,只需确保给予适当的署名即可!
如何导入
Gradle
repositories {
maven {
name = "devadri"
url = uri("https://repo.devadri.es/repository/releases") // 使用 dev 仓库获取测试版构建
}
}
dependencies {
implementation("me.devadri:obsidian:{VERSION}") // 将 {VERSION} 替换为所需的版本
}
Maven
<repositories>
<repository>
<id>devadri</id>
<url>https://repo.devadri.es/repository/releases</url> <!-- 使用 dev 仓库获取测试版构建 -->
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>me.devadri</groupId>
<artifactId>obsidian</artifactId>
<version>{VERSION}</version> <!-- 将 {VERSION} 替换为所需的版本 -->
</dependency>
</dependencies>
致谢
- 感谢 Byteflux 和 AlessioDP 创建了 Libby 库,用于管理 运行时的依赖项。
- 感谢 CryptoMorin 创建了 XSeries 库, 用于保留与旧版和新版 Minecraft 的兼容性,因为 ID 和 API 可能因版本而异
Obsidian
An API aimed to simplify the development of Paper plugins
Info
This API is aimed to simplify the development of Paper plugins, providing a lot of utilities that will make your life (and mine) easier
Even though a standalone plugin version is available, it's recommended to shade this API into your plugins, as this API changes frequently and depending on the standalone version may cause some issues if server owners install some plugins that depend on different versions of this API
❗ You need Java 17+ to use this API/Plugin. If you are using a lower version consider upgrading
⚠️ You need to set your plugin to use Spigot mappings in order to preserve compatibility with Paper forks that are still using Spigot mappings. More information in the PaperMC documentation
⚠️ Only Minecraft 1.17 or superior is officially supported. Versions below 1.17 will not receive any support
It's mostly used in my plugins, but you can use it on your own plugins if you want, just make sure to give proper credit!
How to import
Gradle
repositories {
maven {
name = "devadri"
url = uri("https://repo.devadri.es/repository/releases") // Use dev repository for beta builds
}
}
dependencies {
implementation("me.devadri:obsidian:{VERSION}") // Replace {VERSION} with the desired version
}
Maven
<repositories>
<repository>
<id>devadri</id>
<url>https://repo.devadri.es/repository/releases</url> <!-- Use dev repository for beta builds -->
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>me.devadri</groupId>
<artifactId>obsidian</artifactId>
<version>{VERSION}</version> <!-- Replace {VERSION} with the desired version -->
</dependency>
</dependencies>
Credits
- Thanks to Byteflux and AlessioDP for creating the Libby library, which is used to manage dependencies at runtime.
- Thanks to CryptoMorin for creating the XSeries library, which is used to preserve compatibility with older and newer versions of Minecraft, as IDs and APIs can vary between versions.
下载 Obsidian
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Obsidian
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Obsidian
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Obsidian
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Obsidian
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Obsidian
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Obsidian
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Obsidian
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Obsidian
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Obsidian
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
未指定更新日志。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
插件
一个在游戏内运行的 Minecraft 地图编辑器! 支持选区、蓝图、复制粘贴、笔刷和脚本。 可在创造模式中使用,也可在生存模式中临时使用。
插件
SkyBlock、OneBlock、Boxed、SkyGrid、AcidIsland、CaveBlock、Poseidon、StrangerRealms——以及更多!这些只是由 BentoBox 支持的基于岛屿的游戏模式之一。来自原版 ASkyBlock 的作者。
插件
一个强大的 API,用于为你的 Minecraft 服务器创建自定义进度。
评论 0
登录后参与评分
还没有评论,来抢沙发吧