
Homes
1.14-1.16 版本可在此查看
视频
功能说明
Homes 允许你保存世界中的位置,并随时传送到这些地点,包括不同的维度。
此数据包允许你在任何世界中设置一定数量(包括无限制)的家。使用该家命令的玩家不需要 OP 权限。
安装方法
下载 zip 文件并将其放入 world/datapacks 文件夹中。如果世界已经在运行,请执行 reload。到此为止,你已经完成了所有必要的操作。
你可以运行以下命令查看数据包的游戏内帮助:
/trigger home.help
不过既然你在这里,不妨也阅读下面的详细说明 ↓
设置
有一个设置可以限制玩家最多能创建的家数量(默认:无限制)。
/scoreboard players set maxHomes home.settings XX
将 XX 替换为最大数量。任何小于 0 的值都会禁用该上限。稍后更改此设置不会移除玩家已有的多余家,只是防止他们在超过限制时创建新的家。
命令详解
通用说明
- 所有命令前都需要加上
/trigger。
- 部分命令允许你指定特定的家(标注有
(set #) 的命令)。你必须通过 ID 来识别家,而不能通过名称来识别。
- 如果你在使用支持指定家的命令时未指定特定家,则默认传送至编号为 1 的家。
- 负数值将被忽略。
- 没有撤销功能。
具体命令
/trigger home.help
显示游戏内帮助页面。
/trigger home (set #)
传送到你的某个家。如果未指定其他家,则默认为第 1 号家。
/trigger home.set (set #)
设置一个新的家位置。如果指定的编号已存在,则会覆盖原有的家。
/trigger home.delete (set #)
删除指定的家。
/trigger home.list
列出你所有的家,包括其 ID、坐标和名称。
/trigger home.rename (set #)
将你手中物品的名称设置为指定家的名称。物品必须在铁砧上重命名才能生效。 如果未进行重命名或手中为空,则不会更改名称。
更多信息
卸载
你可以使用 /function homes:uninstall 从游戏中移除所有的计分板。但这不会移除游戏中已保存的家数据。若要彻底删除这些数据,请运行 /data remove storage homes:homes homes。
联系方式
如果你有任何问题、意见、赞赏或发现了 bug,可以直接联系我 contact@plagiatus.net,或使用我的 联系表单。

Homes
Versions for 1.14-1.16 available here
Video
What it does
Homes allow you to save positions in the world and teleport to them whenever you want, including different dimensions.
This Datapack allows you to set a configurable amount of homes (including unlimited) in any world. The players of the world don't need OP to use the home commands.
How to set up
Download the zip file and place it into your world/datapacks folder. If the world is already running, run reload. That's all you need to do.
You can look at the ingame-help for the datapack by running
/trigger home.help
But while you're here you might as well read the long explanation below ↓
Settings
There is a setting to limit the maximum amount of homes a player can create (default: unlimited).
/scoreboard players set maxHomes home.settings XX
Replace XX with the maximum amount. Any value below 0 disables the maximum. Changing this setting later will not remove excess homes from players, just prevent them from creating new ones if they would be above the limit.
Commands explanations
General
- All commands need to be prefaced with
/trigger.
- Some of the commands allow you to specify a specific home (the ones annotated with
(set #)). You will always have to identify the home by its ID and cannot identify it via its name.
- If you're not specifying a specific home in a command that allows for it, it will default to home number 1.
- Negative values are ignored.
- There are no undos.
Specific commands
/trigger home.help
Display the ingame help page.
/trigger home (set #)
Teleport to one of your homes. Defaults to Home #1 if nothing else is specified.
/trigger home.set (set #)
Set a new home location. This command will also override a home if set to an existing number.
/trigger home.delete (set #)
Deletes the specified home.
/trigger home.list
Lists all your homes in a list with their ids, coordinates and names.
/trigger home.rename (set #)
Sets the name of the specified home to the name of the item in your hand. The item needs to be renamed in an anvil for it to work. If it isn't or your hand is empty, it will not change the name.
Further Information
Uninstalling
You can use /function homes:uninstall to remove all the scoreboards from the game. This will however not remove the saved homes from the game. To remove those, run /data remove storage homes:homes homes.
Contact
If you have any questions, concerns, praise or found a bug, you can contact me directly at contact@plagiatus.net or use my contact form.
评论 0
登录后参与评分
还没有评论,来抢沙发吧