RandomTeleport
RandomTeleport 是一款随机传送插件:支持多区域、生物群系过滤、带倒计时的准备时间、智能安全检查、基于二进制索引的预生成坐标池、磁盘空间预算、可选的区域保护与经济系统,以及完整的多语言支持。无硬依赖;兼容 Bukkit、Spigot、Paper、Purpur 和 Folia,版本从 1.12.2 到 26.x(需 Java 8+)。
功能特性
- 区域 (Zones) - 矩形或圆形区域,按世界和按区域覆盖设置,支持世界边界验证。
- 即时传送 - 预生成的就绪坐标池 + 现有区块索引。
- 后台填充 - 支持
on-demand(按需)、idle(空闲时)或both(两者),具备 TTL(生存时间)、扩散范围和每区域限制。 - 智能搜索 - 并行候选点、生物群系预筛选;在 Paper/Folia 上异步加载区块,在 Spigot 上有限制的同步生成(避免触发 Watchdog 超时)。
- 准备时间 (Warmup) - 显示标题/动作栏提示,移动或受击时取消,忽略特定原因。
- 传送后处理 - 在区块加载完成前冻结玩家并赋予无敌状态,预加载队列,跳过玩家附近的坐标点。
- 区域保护 - 支持 WorldGuard 6/7、GriefPrevention、Towny、Residence、Lands。
- 经济系统 - 可选集成 Vault。
- 磁盘预算 - 可用空间/权重/保留量限制,区块注册表管理。
/rtpstats- 查看坐标池、索引、磁盘使用、搜索次数、队列状态及保护插件提供商(已激活 + 已安装)。- 多语言 - 内置 EN/RU,支持自定义
lang_XX.json,自动检测语言。
要求与安装
- Java 8+;Bukkit/Spigot/Paper/Purpur 1.12.2–26.x,Folia 1.19.4+。
- 可选:Vault + 经济系统、WorldGuard、GriefPrevention、Towny、Residence、Lands。
命令
玩家
| 命令 | 描述 |
|---|---|
/rtp |
传送到默认区域 |
/rtp <zone> |
传送到指定区域 |
/lang <code> / /lang list |
更改你的语言 / 列出可用语言 |
管理员
| 命令 | 描述 | 权限节点 |
|---|---|---|
/centre check [zone] / /centre clear [zone] |
显示 / 重置区域中心点 | random_teleport.centre.* |
/set radius <X> <Z> [zone] / /set radius check [zone] |
设置 / 显示半径 | random_teleport.set_radius.* |
/set center <X> <Z> [zone] |
设置中心点 | random_teleport.set_radius.* |
/rtpzone list |
列出所有区域 | random_teleport.zone.* |
/rtpzone create <name> <X> <Z> <radiusX> <radiusZ> |
创建区域(发送者所在世界;控制台执行时为 world) |
random_teleport.zone.* |
/rtpzone delete <name> / /rtpzone info <name> |
删除 / 检查某个区域 | random_teleport.zone.* |
/rtpbiome list | exclude <biome> | include <biome> | reset |
管理被排除的生物群系 | random_teleport.biome.* |
/rtpreload [force] |
重载配置/区域/生物群系/语言;force 参数会重复执行迁移 |
random_teleport.reload |
/rtpstats |
显示插件统计信息 | random_teleport.stats |
别名:/rtp - randomtp, wild;/centre - center;/rtpzone - zone, tpzone;/rtpbiome - biome;/rtpreload - rtprl;/rtpstats - rtpinfo。
权限
| 权限 | 默认值 | 用途 |
|---|---|---|
random_teleport.rtp |
true | 使用 /rtp |
random_teleport.centre.* |
op | 管理区域中心 |
random_teleport.set_radius.* |
op | 设置半径和中心 |
random_teleport.zone.* |
op | 区域管理 |
random_teleport.biome.* |
op | 生物群系管理 |
random_teleport.reload |
op | 重载与迁移 |
random_teleport.stats |
op | /rtpstats |
random_teleport.cooldown.admin / premium / vip |
op / false / false | 0 / 5 / 15 秒冷却时间 |
| 默认冷却时间 | — | 30 秒 |
配置
| 键 | 默认值 | 用途 |
|---|---|---|
default-language / auto-detect-language |
EN / true |
新玩家的语言 / 客户端检测 |
cooldown.default |
30 |
默认冷却时间,秒 |
warmup.delay / warmup.display |
3 / title |
倒计时延迟 / title、actionbar、both |
teleportation.min-height / max-height |
60 / 0 |
高度限制(0 = 无上限) |
teleportation.sync-generation-budget-ms |
3000 |
Spigot 上的同步生成时间预算 |
pool.replenish.mode |
both |
后台补充模式 |
pool.disk-budget.max-gb |
20 |
磁盘预算上限 |
index.enabled / scan-existing |
true / true |
现有区块的索引 |
zone-defaults.pool.low / high |
4 / 12 |
补充阈值 |
zone-defaults.min-delivery-distance |
256 |
配送之间的最小间距 |
zone-defaults.protection.providers |
[] |
WORLDGUARD、WORLDGUARD6/7、GRIEFPREVENTION、TOWNY、RESIDENCE、LANDS |
zone-defaults.economy.cost / economy.enabled |
0 / false |
每个区域的成本 / Vault 钩子 |
区域存储在 zones 中;任何 zone-defaults 键都可以作为 zones.<name>.<path> 进行覆盖:
zones:
default:
center: { x: 0, z: 0 }
radius: { x: 10000, z: 10000 }
worlds: [world]
nether:
center: { x: 0, z: 0 }
radius: { x: 1000, z: 1000 }
worlds: [world_nether]
语言
从 lang_en.json 创建 plugins/RandomTeleport/languages/lang_XX.json,翻译其中的值,保持键名不变;然后重启服务器或使用 /rtpreload 命令。玩家可使用 /lang XX 切换语言;控制台可设置默认语言。若启用 auto-detect-language: true,则玩家在首次登录时将自动使用其客户端语言。
注意事项
- Spigot: 同步区块生成受计数、延迟和
sync-generation-budget-ms限制;在性能较弱的硬件上请降低预算值。 - Folia: 已支持;由于区域调度,空闲时池子填充速度可能较慢。
- Nether: 设置
worlds.world_nether.max-height: 125可防止标记点出现在顶部;若需要在低于全局高度 60 的位置放置标记点,请在此处设置min-height。 - 仅限海洋区域: 当启用
avoid-water: true时,池子可能保持为空;请缩小或移动该区域,或放宽safety-checks(安全检查)。
RandomTeleport
RandomTeleport is a random-teleportation plugin: multiple zones, biome filtering, a warmup with countdown, smart safety checks, a pre-generated point pool with a binary index, a disk budget, optional region protection and economy, and full multilingual support. No hard dependencies; works on Bukkit, Spigot, Paper, Purpur and Folia from 1.12.2 to 26.x (Java 8+).
Features
- Zones - rectangle or circle, per-world, per-zone overrides, world-border validation.
- Instant teleports - a pool of ready points + an index of existing chunks.
- Background refill -
on-demand,idleorboth, with TTL, spread and per-zone limits. - Smart search - parallel candidates, biome prefilter; async chunks on Paper/Folia, bounded sync generation on Spigot (no Watchdog).
- Warmup - title/actionbar, cancel on move/damage, ignored causes.
- After teleport - freeze and invulnerability until chunks are ready, preload queue, skip points near players.
- Protection - WorldGuard 6/7, GriefPrevention, Towny, Residence, Lands.
- Economy - optional Vault.
- Disk budget - free-space/weight/reserve limits, chunk registry.
/rtpstats- pools, index, disk, searches, queue, protection providers (active + installed).- Languages - EN/RU included, custom
lang_XX.json, auto-detect.
Requirements and installation
- Java 8+; Bukkit/Spigot/Paper/Purpur 1.12.2–26.x, Folia 1.19.4+.
- Optional: Vault + economy, WorldGuard, GriefPrevention, Towny, Residence, Lands.
Commands
Players
| Command | Description |
|---|---|
/rtp |
Teleport to the default zone |
/rtp <zone> |
Teleport to a specific zone |
/lang <code> / /lang list |
Change your language / list languages |
Administrators
| Command | Description | Permission |
|---|---|---|
/centre check [zone] / /centre clear [zone] |
Show / reset the zone center | random_teleport.centre.* |
/set radius <X> <Z> [zone] / /set radius check [zone] |
Set / show the radius | random_teleport.set_radius.* |
/set center <X> <Z> [zone] |
Set the center | random_teleport.set_radius.* |
/rtpzone list |
List zones | random_teleport.zone.* |
/rtpzone create <name> <X> <Z> <radiusX> <radiusZ> |
Create a zone (sender's world; console - world) |
random_teleport.zone.* |
/rtpzone delete <name> / /rtpzone info <name> |
Delete / inspect a zone | random_teleport.zone.* |
/rtpbiome list | exclude <biome> | include <biome> | reset |
Manage excluded biomes | random_teleport.biome.* |
/rtpreload [force] |
Reload config/zones/biomes/languages; force repeats migration |
random_teleport.reload |
/rtpstats |
Show plugin statistics | random_teleport.stats |
Aliases: /rtp - randomtp, wild; /centre - center; /rtpzone - zone, tpzone; /rtpbiome - biome; /rtpreload - rtprl; /rtpstats - rtpinfo.
Permissions
| Permission | Default | Purpose |
|---|---|---|
random_teleport.rtp |
true | Use /rtp |
random_teleport.centre.* |
op | Manage zone centers |
random_teleport.set_radius.* |
op | Radius and center |
random_teleport.zone.* |
op | Zone management |
random_teleport.biome.* |
op | Biome management |
random_teleport.reload |
op | Reload and migration |
random_teleport.stats |
op | /rtpstats |
random_teleport.cooldown.admin / premium / vip |
op / false / false | 0 / 5 / 15 s cooldown |
| Default cooldown | — | 30 s |
Configuration
| Key | Default | Purpose |
|---|---|---|
default-language / auto-detect-language |
EN / true |
Language of new players / client detection |
cooldown.default |
30 |
Default cooldown, seconds |
warmup.delay / warmup.display |
3 / title |
Countdown delay / title, actionbar, both |
teleportation.min-height / max-height |
60 / 0 |
Height limits (0 = no max) |
teleportation.sync-generation-budget-ms |
3000 |
Sync generation time budget on Spigot |
pool.replenish.mode |
both |
Background refill mode |
pool.disk-budget.max-gb |
20 |
Disk budget cap |
index.enabled / scan-existing |
true / true |
Index of existing chunks |
zone-defaults.pool.low / high |
4 / 12 |
Refill thresholds |
zone-defaults.min-delivery-distance |
256 |
Minimum spread between deliveries |
zone-defaults.protection.providers |
[] |
WORLDGUARD, WORLDGUARD6/7, GRIEFPREVENTION, TOWNY, RESIDENCE, LANDS |
zone-defaults.economy.cost / economy.enabled |
0 / false |
Per-zone cost / Vault hook |
Zones live in zones; any zone-defaults key can be overridden as zones.<name>.<path>:
zones:
default:
center: { x: 0, z: 0 }
radius: { x: 10000, z: 10000 }
worlds: [world]
nether:
center: { x: 0, z: 0 }
radius: { x: 1000, z: 1000 }
worlds: [world_nether]
Languages
Create plugins/RandomTeleport/languages/lang_XX.json from lang_en.json, translate values, keep keys unchanged; restart or /rtpreload. Players use /lang XX; console sets the default language. auto-detect-language: true uses the client language on first login.
Notes
- Spigot: synchronous chunk generation is bounded by count, delay and
sync-generation-budget-ms; lower the budget on weak hardware. - Folia: supported; the pool may fill slower in idle because of region scheduling.
- Nether:
worlds.world_nether.max-height: 125keeps points off the roof; setmin-heightthere if you need points below the global 60. - Ocean-only zone: the pool may stay empty with
avoid-water: true; shrink/move the zone or relaxsafety-checks.
下载 Random Teleport (RTP)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Random Teleport (RTP)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Random Teleport (RTP)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Random Teleport (RTP)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Random Teleport (RTP)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Random Teleport (RTP)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Random Teleport (RTP)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Random Teleport (RTP)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Random Teleport (RTP)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Random Teleport (RTP)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
已为所有命令添加 Tab 补全功能。
已添加对新语言的支持:
- ES — 西班牙语
- PT — 葡萄牙语(巴西)
- DE — 德语
- FR — 法语
- ZH — 简体中文
- 传送系统已重新设计,现在几乎可以瞬间完成。
- 新增了对区域保护(WorldGuard、GriefPrevention、Towny、Residence、Lands)以及 Vault 钱包作为可选依赖的支持
修复了大量问题
一项重大的插件更新,包含对代码和架构的全面重构。另一次修订即将推出,将显著提升传送速度。
适用于 1.21 的版本
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
使床在所有维度中爆炸的模组
插件
为 Armor Poser 模组添加兼容性
插件
SkyBlock、OneBlock、Boxed、SkyGrid、AcidIsland、CaveBlock、Poseidon、StrangerRealms——以及更多!这些只是由 BentoBox 支持的基于岛屿的游戏模式之一。来自原版 ASkyBlock 的作者。
评论 0
登录后参与评分
还没有评论,来抢沙发吧