SetMyHome
保存命名的家并传送回去
创建个人位置,使用命令进行管理,并配置传送延迟与家数量上限。
主要功能
- 命名家园 — 为每位玩家保存多个位置。
- 持久化存储 — 家园数据按玩家 UUID 存储在
homes.yml 中。
- 传送控制 — 可设置延迟,当玩家移动时取消传送,并在传送完成后播放音效。
- 家园上限 — 配置默认上限,并通过权限组授予更高的上限。
- 管理功能 — 列出或移除已知玩家的家园。
- 可配置消息 — 在
messages.yml 中编辑采用 MiniMessage 格式的消息。
要求
- API 版本为
1.19 或更高版本的 Minecraft 服务器。
- Java 17 或更高版本。
Maven 项目使用 Spigot API 1.19.4-R0.1-SNAPSHOT 并针对 Java 17 编译。
命令
| 命令 |
描述 |
/sethome <name> |
将当前位置保存为家园。 |
/home <name> |
传送到你的某个家园。 |
/delhome <name> |
删除你的某个家园。 |
/listhomes |
列出你的家园。 |
/admindelhome <player> <home> |
删除已知玩家的某个家园。 |
/adminlisthomes <player> |
列出已知玩家的家园。 |
玩家命令需要相应的 homeplugin.sethome、homeplugin.home、homeplugin.delhome 或 homeplugin.listhomes 权限。这些权限默认启用。管理命令需要 homeplugin.admindelhome 或 homeplugin.adminlisthomes 权限,默认授予管理员。
配置
插件首次启动时会生成 plugins/SetMyHome/config.yml 和 plugins/SetMyHome/messages.yml。
| 设置项 |
默认值 |
描述 |
cooldown |
0 |
传送前的冷却时间(秒)。 |
max-homes.default |
15 |
每位玩家默认的家园最大数量。 |
max-homes.<rank> |
— |
拥有 homeplugin.limit.<rank> 权限的玩家可选的上限。 |
cancel-on-move |
false |
当玩家改变方块位置时取消待处理的传送。 |
play-sound |
true |
成功传送后播放音效。 |
编辑 messages.yml 以自定义面向玩家显示的文字。消息值支持 MiniMessage 格式以及 {name}、{player} 和 {seconds} 等占位符。家园数据保存在 plugins/SetMyHome/homes.yml 中。
根据 GPL-3.0 许可协议授权。请参阅 LICENSE。捆绑的依赖项声明包含在 THIRD_PARTY_NOTICES.md 以及插件 JAR 文件中。
SetMyHome
Save named homes and teleport back to them
Create personal locations, manage them with commands, and configure teleport delays and home limits.
Key Features
- Named homes — save multiple locations for each player.
- Persistent storage — home data is stored by player UUID in
homes.yml.
- Teleport controls — set a delay, cancel it when a player moves, and play a sound after teleporting.
- Home limits — configure a default limit and grant higher limits through rank permissions.
- Administration — list or remove homes belonging to a known player.
- Configurable messages — edit MiniMessage-formatted messages in
messages.yml.
Requirements
- Minecraft server with API version
1.19 or newer.
- Java 17 or newer.
The Maven project uses Spigot API 1.19.4-R0.1-SNAPSHOT and targets Java 17.
Commands
| Command |
Description |
/sethome <name> |
Save your current location as a home. |
/home <name> |
Teleport to one of your homes. |
/delhome <name> |
Delete one of your homes. |
/listhomes |
List your homes. |
/admindelhome <player> <home> |
Delete a home belonging to a known player. |
/adminlisthomes <player> |
List homes belonging to a known player. |
Player commands require the matching homeplugin.sethome, homeplugin.home, homeplugin.delhome, or homeplugin.listhomes permission. They are enabled by default. The administrative commands require homeplugin.admindelhome or homeplugin.adminlisthomes, granted to operators by default.
Configuration
The plugin creates plugins/SetMyHome/config.yml and plugins/SetMyHome/messages.yml on first startup.
| Setting |
Default |
Description |
cooldown |
0 |
Delay before a home teleport, in seconds. |
max-homes.default |
15 |
Default maximum number of homes per player. |
max-homes.<rank> |
— |
Optional limit for players with homeplugin.limit.<rank>. |
cancel-on-move |
false |
Cancel a pending teleport when the player changes block. |
play-sound |
true |
Play a sound after a successful teleport. |
Edit messages.yml to customize player-facing text. Message values support MiniMessage formatting and placeholders such as {name}, {player}, and {seconds}. Home data is saved in plugins/SetMyHome/homes.yml.
Licensed under GPL-3.0. See LICENSE. Bundled dependency notices are included in THIRD_PARTY_NOTICES.md and in the plugin JAR.
评论 0
登录后参与评分
还没有评论,来抢沙发吧