FastRTP | 随机传送

模组

原名 FastRTP | Random Teleport · 作者 Wesley1808

一个快速的随机传送命令,不会引起延迟尖峰。

0 本站下载 0 关注 更新于 2 个月前

最新 1.5.10-26.3 · 26.3 · Fabric

一键开服(送7天)

Fast RTP

一个快速随机传送命令,不会导致卡顿。

命令

  • /rtp - 将玩家传送到随机位置。
  • /rtpback - 将玩家传送回上次随机传送的位置。
  • /rtp <player> <args> - 将指定玩家传送到随机位置。需要权限。
  • /rtp reload - 重新加载配置。

权限

  • fast-rtp.command.root - 当 requirePermission 设置为 true 时,允许玩家使用 /rtp 命令。
  • fast-rtp.command.advanced - 允许你传送其他玩家、指定维度、半径等。
  • fast-rtp.command.reload - 重新加载配置。
  • fast-rtp.bypass.cooldown - 允许玩家绕过 RTP 冷却时间。

配置

配置文件位于 /config/fast-rtp.json

{
  // 使用 /rtp 是否需要玩家拥有 "fast-rtp.command.root" 权限
  "requirePermission": false,
  // /rtp 是否应使用玩家当前所在的维度。
  // 如果为 false,且在命令中未指定维度,则将使用默认维度。
  "useCurrentWorld": false,
  // 添加严格的瞄准/移动检查,以防止玩家利用该命令逃离危险情况。
  "useStrictTeleportCheck": false,
  // /rtp 使用的默认维度。
  "defaultDimension": "minecraft:overworld",
  // 从世界中心搜索安全位置的最大半径。
  // 如果设置为 -1,半径将延伸至世界边界。
  "radius": -1,
  // 从世界中心搜索安全位置的最小半径。
  "minRadius": 0,
  // 检查周围危险方块的方块半径。此值不会超过 4。
  "safetyCheckRadius": 1,
  // 使用 /rtp 后应用的冷却时间(秒)。
  "cooldown": 30,
  // 位置查找器可以跳过的特定生物群系标识符。
  // 这些也可以用于跳过昂贵的区块加载,显著加快位置查找速度。
  "blackListedBiomes": [
    "minecraft:small_end_islands",
    "minecraft:the_end",
    "minecraft:the_void"
  ],
  // 位置查找器可以跳过的生物群系标签。
  "blackListedBiomeTags": [
    "minecraft:is_beach",
    "minecraft:is_ocean",
    "minecraft:is_deep_ocean",
    "minecraft:is_river"
  ],
  // 命令消息。文本格式化使用 https://placeholders.pb4.eu/user/text-format/。
  "messages": {
    "rtpStartSearch": "<yellow>正在寻找安全位置...",
    "rtpLocFound": "<yellow>在 ${seconds} 秒内找到安全位置",
    "rtpTeleportPlayer": "<dark_aqua>已传送至 <green>${x} ${y} ${z} <dark_aqua>在 <green>${world}",
    "rtpLocNotFound": "<red>[✖] 无法找到安全位置!",
    "rtpOnCooldown": "<red>[✖] <gold>请等待 <yellow>${seconds} <gold>秒后再使用 RTP!",
    "preventedRtp": "<red>[✖] 无法开始随机传送。\n原因:${reason}",
    "rtpBackSuccess": "<dark_aqua>已传送回您上次的随机传送位置!",
    "rtpBackLocNotFound": "<red>[✖] 您没有最近的随机传送记录。",
    "preventedRtpBack": "<red>[✖] 无法传送回您上次的 RTP 位置。\n原因:${reason}",
    "tpSecondsLeft": "<yellow>将在 ${seconds} 秒后传送...",
    "tpCancelled": "<red>[✖] 传送已取消。"
  }
}

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

评论 0

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

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源