跳到正文

FastRTP | Random Teleport

作者:Wesley1808

A fast random teleport command that doesn't cause lagspikes.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Fast RTP

A fast random teleport command that doesn’t cause lagspikes.

Commands

  • /rtp – Teleports the player to a random location.
  • /rtpback – Teleports the player back to their last random teleport location.
  • /rtp <player> <args> – Teleports the specified player to a random location. Requires permissions.
  • /rtp reload – Reloads the configuration.

Permissions

  • fast-rtp.command.root – Allows the player to use the /rtp command when requirePermission is set to true
  • fast-rtp.command.advanced – Allows you to rtp other players, specify dimension, radius, etc.
  • fast-rtp.command.reload – Reloads the configuration.
  • fast-rtp.bypass.cooldown – Allows the player to bypass the RTP cooldown.

Configuration

The configuration file can be found in /config/fast-rtp.json

{
  // Whether using /rtp requires the player to have the permission "fast-rtp.command.root"
  "requirePermission": false,
  // Whether /rtp should use the current world of the player. 
  // If false, the default world will be used if the dimension is not specified in the command.
  "useCurrentWorld": false,
  // Adds strict targeting / movement checks to prevent players from using the command to escape dangerous situations.
  "useStrictTeleportCheck": false,
  // The default dimension to use for /rtp.
  "defaultDimension": "minecraft:overworld",
  // The maximum radius from the world center to search for a safe location.
  // If set to -1, the radius will go as far as the worldborder.
  "radius": -1,
  // The minimum radius from the world center to search for a safe location.
  "minRadius": 0,
  // The radius of blocks to check for dangerous surrounding blocks. This doesn't go higher than 4.
  "safetyCheckRadius": 1,
  // Cooldown in seconds applied after using /rtp.
  "cooldown": 30,
  // Specific biome identifiers that can be skipped by the location finder.
  // These can also be used to skip expensive chunk loads, significantly speeding up location finding.
  "blackListedBiomes": [
    "minecraft:small_end_islands",
    "minecraft:the_end",
    "minecraft:the_void"
  ],
  // Biome tags that can be skipped by the location finder.
  "blackListedBiomeTags": [
    "minecraft:is_beach",
    "minecraft:is_ocean",
    "minecraft:is_deep_ocean",
    "minecraft:is_river"
  ],
  // Command messages. Text formatting is done using https://placeholders.pb4.eu/user/text-format/.
  "messages": {
    "rtpStartSearch": "<yellow>Searching for a safe location...",
    "rtpLocFound": "<yellow>Found a safe location in ${seconds} seconds",
    "rtpTeleportPlayer": "<dark_aqua>Teleported to <green>${x} ${y} ${z} <dark_aqua>in <green>${world}",
    "rtpLocNotFound": "<red>[✖] Could not find a safe location!",
    "rtpOnCooldown": "<red>[✖] <gold>Please wait <yellow>${seconds} <gold>seconds before using the RTP again!",
    "preventedRtp": "<red>[✖] Could not start random teleport.\nReason: ${reason}",
    "rtpBackSuccess": "<dark_aqua>Teleported back to your last random teleport!",
    "rtpBackLocNotFound": "<red>[✖] You don't have any recent random teleports.",
    "preventedRtpBack": "<red>[✖] Unable to teleport back to your last RTP location.\nReason: ${reason}",
    "tpSecondsLeft": "<yellow>Teleporting in ${seconds} seconds...",
    "tpCancelled": "<red>[✖] Teleportation was cancelled."
  }
}

常见问题

FastRTP | Random Teleport 支持哪些 Minecraft 版本?

FastRTP | Random Teleport 支持 Minecraft Java 版 1.19.2–26.3,共 24 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

FastRTP | Random Teleport 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

Wesley1808 的其他作品

查看全部 →