SimpleHomes

模组

· 作者 bradbot1

Fabric 的简易 /home 模组

0 本站下载 0 关注 更新于 5 年前

最新 v1.0.0 · 1.17.1 · Fabric

一键开服(送7天)

SimpleHomes

一个小型且简单的模组,为所有玩家添加一个专属的家。

所需模组

此模组依赖于 BFAPI

命令

名称 权限 Op等级 描述
sethome simplehomes.use 0 将玩家当前的位置设置为家
home simplehomes.use 0 传送玩家到家

配置

配置文件位于 config 目录下的 simplehomes.json 中。

字段 类型 描述 默认值
homePermission String 用于判断玩家是否可以使用 /home 的权限 simplehomes.use
homeSetMessage Text 玩家执行 /sethome 时发送的消息 Your home has been set
homeStorage JsonObject 存储家的位置数据的地方 {}
warmup Integer 玩家在传送前必须静止不动的时间(秒) 5
noHomeMessage Text 当玩家没有设置的家可返回时发送的消息 You do not have a home set!
forceHomeToBeBed Boolean 是否将所有家绑定到玩家的重生点 false
failedToTeleportDueToMovement Text 当玩家在传送过程中移动时发送的消息 Teleport to home canceled as you moved!
sendTextViaActionBar Boolean 消息是通过操作栏还是聊天栏发送给玩家 true
teleportSucceeded Text 玩家成功传送到家时发送的消息 Teleported to your home!
teleportWait Text 玩家执行 /home 且等待开始计时时发送的消息 Teleporting shortly, please do not move
cooldown Integer 玩家之间使用 /home 命令的冷却时间(秒) 30
cooldownMessage Text 当玩家在冷却期间尝试执行 /home 时发送的消息 You are on cooldown!
{
  "homePermission": "simplehomes.use",
  "homeSetMessage": {
    "color": "gold",
    "text": "Your home has been set"
  },
  "homeStorage": {},
  "warmup": 5,
  "noHomeMessage": {
    "color": "red",
    "text": "You do not have a home set!"
  },
  "forceHomeToBeBed": false,
  "failedToTeleportDueToMovement": {
    "color": "red",
    "text": "Teleport to home canceled as you moved!"
  },
  "sendTextViaActionBar": true,
  "teleportSucceeded": {
    "color": "gold",
    "text": "Teleported to your home!"
  },
  "teleportWait": {
    "color": "gold",
    "text": "Teleporting shortly, please do not move"
  },
  "cooldown": 30,
  "cooldownMessage": {
    "color": "red",
    "text": "You are on cooldown!"
  }
}

链接

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源