Hommr 是一款简单、轻量且现代的 Minecraft Paper 服务器家园管理插件。它允许玩家轻松设置、删除和传送到多个家园。
✨ 功能特性
- ? 设置多个家园:玩家可以设置多个家园以保存重要位置。
- ? 便捷传送:快速传送至已保存的家园。
- ? 列表查看:查看所有已保存家园及其所在世界的信息。
- ? 权限控制:控制谁能设置家园以及能拥有多少个家园。
- ?️ 开发者 API:提供事件和 API 方法,供其他插件接入。
- ? 现代技术栈:基于最新技术构建(Java 21, Paper API)。
? 安装
- 从 Releases 页面下载最新版本。
- 将 JAR 文件放入服务器的
plugins 文件夹中。
- 重启服务器。
? 命令与权限
| 命令 |
描述 |
权限 |
/home [name] |
传送到指定家园(若未指定名称则列出所有家园)。 |
hommr.home.list (用于列出) |
/sethome <name> |
在当前所在位置设置一个新的家园。 |
hommr.home.set |
/delhome <name> |
删除一个现有的家园。 |
hommr.home.delete |
/home list |
列出所有已保存的家园。 |
hommr.home.list |
/home help |
显示帮助菜单。 |
- |
⚙️ 配置
config.yml 文件会在首次运行插件时自动生成。目前配置项较少,未来更新将添加更多选项。
?? 开发者 API
Hommr 为开发者提供了与插件交互的 API。你可以监听诸如 HomeSetEvent、HomeDeleteEvent 和 HomeTeleportEvent 等事件。
Maven 依赖
要在项目中使用该 API,请将以下内容添加到你的 build.gradle 中:
repositories {
maven { url = uri("https://jitpack.io") }
}
dependencies {
compileOnly "com.github.AxenoDev:Hommr:VERSION"
}
将 VERSION 替换为 Releases 中的最新版本号。
? 许可证
本项目遵循 GNU GENERAL PUBLIC LICENSE v3.0 许可协议。
Hommr is a simple, lightweight, and modern home management plugin for Minecraft servers running Paper. It allows
players to set, delete, and teleport to multiple homes with ease.
✨ Features
- ? Set Multiple Homes: Players can set multiple homes to save important locations.
- ? Easy Teleportation: Quick teleportation to saved homes.
- ? List Homes: View a list of all your saved homes with world information.
- ? Permissions: Control who can set homes and how many homes they can have.
- ?️ Developer API: Events and API methods for other plugins to hook into.
- ? Modern Tech: Built with the latest technologies (Java 21, Paper API).
? Installation
- Download the latest release from the Releases page.
- Place the JAR file into your server's
plugins folder.
- Restart your server.
? Commands & Permissions
| Command |
Description |
Permission |
/home [name] |
Teleport to a specific home (or list if none specified). |
hommr.home.list (for listing) |
/sethome <name> |
Set a new home at your current location. |
hommr.home.set |
/delhome <name> |
Delete an existing home. |
hommr.home.delete |
/home list |
List all your saved homes. |
hommr.home.list |
/home help |
Show the help menu. |
- |
⚙️ Configuration
The config.yml file is automatically generated when you first run the plugin. Currently, it is minimal, but more
options will be added in future updates.
?? Developer API
Hommr provides an API for developers to interact with the plugin. You can listen to events such as HomeSetEvent,
HomeDeleteEvent, and HomeTeleportEvent.
Maven Dependency
To use the API, add the following to your build.gradle:
repositories {
maven { url = uri("https://jitpack.io") }
}
dependencies {
compileOnly "com.github.AxenoDev:Hommr:VERSION"
}
Replace VERSION with the latest version from the releases.
? License
This project is licensed under the GNU GENERAL PUBLIC LICENSE v3.0.
评论 0
登录后参与评分
还没有评论,来抢沙发吧