
生存服务器的随机传送与 RTP 区域,无卡顿
DonutRTP 是一款免费、开源的随机传送插件,支持 Paper、Folia、Purpur、Spigot 和 Bukkit,适用于 Minecraft 1.20.1 至 26.3。
/rtp 会打开一个小菜单:选择主世界、下界、末地或你添加的任何世界,原地站立几秒钟,然后安全地传送到野外某处。RTP 区域在出生点无需指令即可生效。玩家走上垫子,倒计时结束时站在上面的人将一起传送。
2.0 "The Zone Update" 是一次全面重写:
- 在游戏内创建的区域组;
- 任意数量的目的地;
- 异步区块加载,提前找到落点;
- 领地与区域避让及落地保护;
- 保存的冷却时间,支持等级阶梯、Vault 费用、PlaceholderAPI 以及开发者 API。
每次发布都在所有支持的 Paper 和 Folia 版本上使用真实客户端进行测试。




- 每个目的地一个物品,数量不限,可放置在 1 到 6 行的菜单中的任何槽位。
- 每个物品显示你的冷却时间(“4 分 12 秒后可用”)、费用,或在权限不足时显示锁定图标。菜单打开期间每秒更新一次。
/rtp nether跳过菜单。Tab 补全仅列出你可用的目的地。- 图标可以是任何物品、HeadDatabase 头颅(
hdb-1234),或是来自纹理、UUID 或名称的玩家头颅。


- 选择一个目的地。预热倒计时会在动作栏、标题或两者上显示。
- 离开方块或受到伤害会取消传送。原地跳跃绝不会取消。
- 你将落在实心地面、开阔空气且远离领地的地方。你将获得5 秒无坠落伤害和3 秒完全无敌。
- 声音和粒子效果标记落地。控制台命令也可运行,用于设置套装或新手任务。
OP 以及拥有 donutrtp.warmup.bypass 权限的玩家跳过预热。/rtp player <name> [destination] 允许工作人员向他人发送传送,无预热、无冷却、无费用。


- 区域组:垫子上所有人的倒计时同步。倒计时结束时,仍在区域内的人将一起传送,彼此相距几格。
- 最少玩家数:倒计时等待足够多的玩家,并显示还需要多少人。
- 单人区域:当你走入时,你自己的倒计时开始,就像 1.x 版本一样。
- 倒计时显示在Boss 栏、标题和动作栏上。每个区域的这些显示均可单独关闭。
- 按区域设置的冷却时间和权限。处于冷却中的玩家会被告知剩余时间,并在冷却结束后加入。
- 通过 PlaceholderAPI 实现全息图和记分板计时器:
%donutrtp_zone_spawn_countdown%、%donutrtp_zone_spawn_players%。

站在一个角输入 /rtpadmin pos1,站在另一个角输入 /rtpadmin pos2,然后输入 /rtpadmin zone create spawn overworld。就这么简单。使用 WorldGuard?/rtpadmin zone create spawn overworld region spawn_pad 将使用区域代替。所有设置都可通过 /rtpadmin zone set 在游戏中更改,无需重启服务器。


- 永远不会落入水、岩浆、火、岩浆块、粉末雪、蛛网、浆果丛或仙人掌中。
- 永远不会紧挨着岩浆,或位于会导致岩浆倾泻而下的位置下方。
- 永远不会进入树中、虚空里,或下界屋顶上方。
- 永远不会进入 WorldGuard 区域或 GriefPrevention 领地内部。
- 始终在世界边界内,并保留一定余量。
- 按目的地设置的生物群系规则。默认情况下,主世界禁止海洋和河流。


加载与其他一切无关的远端区块是任何随机传送中最耗时的部分。
- 在 Paper 和 Folia 上,DonutRTP 异步加载区块。等待玩家的区块优先加载,且每个已加载区块被完全使用后才加载下一个。
- 提前为每个目的地找到几个安全点,因此大多数传送在预热结束的瞬间启动。
- 在 Folia 上,每个方块、玩家和区块仅由其所属区域接触。
- 在 Spigot 上,每刻最多加载一个区块。
- 当搜索未找到任何结果时,控制台会说明原因:无安全地面、被禁止的生物群系、领地冲突或服务器繁忙。


随意添加任意数量的目的地:资源世界、面向老玩家的“远方之地”选项,或仅限 VIP 的世界。每个目的地都拥有其独立的:
- 世界及其方形或圆形形状;
- 中心(即世界出生点)、最小和最大距离以及高度限制;
- 生物群系允许与禁止列表;
- 权限、冷却时间、费用及菜单项。


- 冷却时间会被保存并在重启后保留。
- 可为每个目的地设置单独的冷却时间,或统一使用一个冷却时间。
- 为不同排名缩短冷却时间:通过
ranks: { vip: 120, mvp: 60 },拥有donutrtp.cooldown.vip权限的玩家等待两分钟,而拥有donutrtp.cooldown.mvp权限的玩家等待一分钟。取玩家拥有的最低值生效。 - 通过 Vault 处理费用,仅在玩家成功落地时扣除,若传送失败则退还。
- 支持绕过冷却时间、费用和准备时间的权限。


以下所有集成均为可选:
| 插件 | DonutRTP 的功能 |
|---|---|
| WorldGuard | 区域保护;不会在区域内落地 |
| GriefPrevention | 绝不会在已声明的领地内落地 |
| Vault (或 VaultUnlocked) | 目的地费用 |
| PlaceholderAPI | %donutrtp_cooldown%, %donutrtp_cooldown_<destination>%, %donutrtp_zone%, %donutrtp_zone_<name>_countdown%, %donutrtp_zone_<name>_players% |
| HeadDatabase | 菜单图标 |
对于开发者:
RtpPreTeleportEvent可取消,并可更改玩家的落地位置。RtpTeleportEvent在落地后触发。- 两者均会说明是哪个目的地以及是什么触发了传送:命令、菜单、管理员或区域。


替换 jar 文件并重启。DonutRTP 会在首次启动时自动升级您的 1.x 配置:
- 您的设置将保留:包括准备时间、冷却时间、世界、半径、最小高度、音效和菜单项。
- 您的区域将保留:WorldGuard 区域将变为以其区域名命名的区域,每个长方体区域将保留其名称和权限。
- 旧配置文件将保留为
config-1.x.yml和messages-1.x.yml。


| 服务器端 | Minecraft | Java |
|---|---|---|
| Paper、Purpur 及其他 Paper 分支 | 1.20.1 – 1.20.4 | 17 |
| Paper、Purpur 及其他 Paper 分支 | 1.20.5 – 1.21.11 | 21 |
| Paper、Purpur 及其他 Paper 分支 | 26.1 – 26.3 | 25 |
| Folia | 1.20.4 – 26.3 | 17 – 25 |
| Spigot、Bukkit | 1.20.1 – 26.3 | 取决于你的服务器 |
一个 JAR 包适用于所有上述服务器。每个版本都会在 Paper 1.20.1、1.20.4、1.20.6、1.21.1、1.21.4、1.21.8、1.21.11、26.1.2、26.2 和 26.3,以及 Folia 1.20.4、1.21.4、1.21.11 和 26.3 上启动 1.x 的安装环境。在每个环境中,机器人会运行多达 23 项检查:升级、菜单、预热取消、下界与末地、排名冷却时间、双人组队区域、Vault 与管理员命令,以及在 Paper 服务器上额外测试 WorldGuard 和 GriefPrevention。控制台必须保持无错误输出。

| 命令 | 权限 | |
|---|---|---|
/rtp |
donutrtp.use(所有人) |
打开菜单 |
/rtp <目的地> |
donutrtp.use 以及该目的地的对应权限 |
立即传送 |
/rtp player <玩家> [目的地] |
donutrtp.admin |
将某人传送走(无等待时间、冷却或费用) |
/rtpadmin reload |
donutrtp.admin |
重新加载配置、消息和区域 |
| /rtpadmin info | donutrtp.admin | 平台、钩子、目的地、就绪点和区域 |
| /rtpadmin pos1, /rtpadmin pos2 | donutrtp.zone.admin | 区域的角落,即你站立的位置 |
| /rtpadmin zone create <name> <destination> [region <id>] | donutrtp.zone.admin | 创建一个区域 |
| /rtpadmin zone set <name> <key> <value> | donutrtp.zone.admin | 修改区域 |
| /rtpadmin zone delete\|info\|list | donutrtp.zone.admin | |
donutrtp.zone.use 允许玩家使用区域(所有人)。donutrtp.cooldown.bypass 和 donutrtp.cost.bypass 适用于管理员。donutrtp.warmup.bypass 默认不分配给任何人。/donutrtp 的功能等同于 /rtpadmin。

它会卡顿吗? 在 Paper 和 Folia 上,区块的加载在主线程之外进行,且准备位置会提前完成。生成新地形仍然需要消耗 CPU 资源,正如所有 RTP 插件一样。预生成你的世界可以让每次传送的成本变得极低。
可以添加自定义世界吗? 可以。在 config.yml 的 destinations: 下添加一个包含世界名称的目标,然后执行 /rtpadmin reload。
区域需要 WorldGuard 吗? 不需要。区域是你在游戏中选定的方框。WorldGuard 区域也可以使用。
我的 1.x 设置会损坏吗? 不会。它会在首次启动时自动升级,旧文件会被保留。
支持 Folia 吗? 是的,包括组区域在内的所有部分都支持。
提示“未找到安全点”? 控制台会说明原因。通常是因为该区域大部分是海洋,或者被领地(claims)覆盖。增大半径会有所帮助。







Discord: discord.gg/SAmd9fhNhr · 源代码: GitHub (Apache 2.0) · 支持该项目: nightbeam.dev/support

Random teleport and RTP zones for survival servers, without the lag
DonutRTP is a free, open-source random teleport plugin for Paper, Folia, Purpur, Spigot and Bukkit, from Minecraft 1.20.1 to 26.3.
/rtp opens a small menu: pick the Overworld, the Nether, the End or any world you add, stand still for a few
seconds, and land somewhere safe in the wild. RTP zones at spawn do it without a command. Players walk onto the
pad, and everyone standing there when the countdown ends lands together.
2.0 "The Zone Update" is a full rewrite:
- group zones, made in game;
- any number of destinations;
- asynchronous chunk loading, with spots found ahead of time;
- claim and region avoidance and landing protection;
- saved cooldowns with rank tiers, Vault costs, PlaceholderAPI and a developer API.
Each release is tested on every supported Paper and Folia version with real clients.




- One item per destination, as many as you like, in any slot of a one to six row menu.
- Each item shows your cooldown ("Available in 4m 12s"), the cost, or a lock when you lack the permission. It updates every second while the menu is open.
/rtp netherskips the menu. Tab completion lists only the destinations you may use.- Icons can be any item, a HeadDatabase head (
hdb-1234), or a player head from a texture, a UUID or a name.


- Pick a destination. The warmup counts down on the action bar, a title, or both.
- Walking off your block or taking damage cancels it. Jumping in place never does.
- You land on solid ground, in open air, away from claims. You take no fall damage for five seconds and no damage at all for three.
- A sound and particles mark the landing. Console commands can run too, for kits or starter quests.
Ops and anyone with donutrtp.warmup.bypass skip the warmup. /rtp player <name> [destination] lets staff send
someone with no warmup, cooldown or cost.


- Group zones: one countdown for everyone on the pad. When it ends, everyone still inside lands together, a few blocks apart.
- Minimum players: the countdown waits for enough players and says how many more it needs.
- Solo zones: your own countdown starts when you walk in, like 1.x.
- The countdown shows on the boss bar, title and action bar. Each can be turned off per zone.
- Per-zone cooldown and permission. Players on cooldown are told how long is left, and join when it runs out.
- Hologram and scoreboard timers through PlaceholderAPI:
%donutrtp_zone_spawn_countdown%,%donutrtp_zone_spawn_players%.

Stand on one corner and type /rtpadmin pos1, stand on the other and type /rtpadmin pos2, then
/rtpadmin zone create spawn overworld. That's it. Using WorldGuard? /rtpadmin zone create spawn overworld region spawn_pad uses a region instead. Every setting changes in game with /rtpadmin zone set, without a restart.


- Never into water, lava, fire, magma, powder snow, cobwebs, berry bushes or cactus.
- Never beside lava, or under lava that would pour down.
- Never into a tree, the void, or on top of the Nether roof.
- Never inside a WorldGuard region or a GriefPrevention claim.
- Always inside the world border, with a margin.
- Biome rules per destination. Oceans and rivers are denied in the Overworld by default.


Loading a chunk far from everything else is the expensive part of any random teleport.
- On Paper and Folia, DonutRTP loads chunks asynchronously. Chunks for a waiting player load first, and each loaded chunk is fully used before another one is loaded.
- A few safe spots per destination are found ahead of time, so most teleports start the moment the warmup ends.
- On Folia, every block, player and chunk is touched only from the region that owns it.
- On Spigot, at most one chunk loads per tick.
- When a search finds nothing, the console says why: no safe ground, denied biomes, claims, or a busy server.


Add as many destinations as you like: a resource world, a "far lands" option for veterans, a VIP-only world. Each one has its own:
- world and square or circle shape;
- centre (or the world spawn), minimum and maximum distance, and heights;
- biome allow and deny lists;
- permission, cooldown, cost and menu item.


- Cooldowns are saved and survive restarts.
- One cooldown for every destination, or one each.
- Shorter cooldowns for ranks: with
ranks: { vip: 120, mvp: 60 }, players withdonutrtp.cooldown.vipwait two minutes anddonutrtp.cooldown.mvpone. The lowest a player has wins. - Costs through Vault, taken only once the player has landed, and refunded if the teleport fails.
- Bypass permissions for cooldowns, costs and the warmup.


All of these are optional:
| Plugin | What DonutRTP does with it |
|---|---|
| WorldGuard | Zones from regions; never lands in a region |
| GriefPrevention | Never lands in a claim |
| Vault (or VaultUnlocked) | Destination costs |
| PlaceholderAPI | %donutrtp_cooldown%, %donutrtp_cooldown_<destination>%, %donutrtp_zone%, %donutrtp_zone_<name>_countdown%, %donutrtp_zone_<name>_players% |
| HeadDatabase | Menu icons |
For developers:
RtpPreTeleportEventis cancellable and can change where a player lands.RtpTeleportEventfires after landing.- Both say which destination and what started the teleport: command, menu, admin or zone.


Replace the jar and restart. DonutRTP upgrades your 1.x setup on the first start:
- Your settings carry over: warmup, cooldown, worlds, radius, minimum height, sounds and menu items.
- Your zones carry over: the WorldGuard zone becomes a zone named after its region, and each cuboid zone keeps its name and permission.
- The old files are kept as
config-1.x.ymlandmessages-1.x.yml.


| Server | Minecraft | Java |
|---|---|---|
| Paper, Purpur and other Paper forks | 1.20.1 – 1.20.4 | 17 |
| Paper, Purpur and other Paper forks | 1.20.5 – 1.21.11 | 21 |
| Paper, Purpur and other Paper forks | 26.1 – 26.3 | 25 |
| Folia | 1.20.4 – 26.3 | 17 – 25 |
| Spigot, Bukkit | 1.20.1 – 26.3 | as your server |
One jar for all of them. Each release boots a 1.x install on Paper 1.20.1, 1.20.4, 1.20.6, 1.21.1, 1.21.4, 1.21.8, 1.21.11, 26.1.2, 26.2 and 26.3 and Folia 1.20.4, 1.21.4, 1.21.11 and 26.3. On each one, bots run up to 23 checks: the upgrade, the menu, warmup cancels, the Nether and the End, rank cooldowns, a two-player group zone, Vault and the admin commands, plus WorldGuard and GriefPrevention on Paper. The console must stay free of errors.

| Command | Permission | |
|---|---|---|
/rtp |
donutrtp.use (everyone) |
The menu |
/rtp <destination> |
donutrtp.use and the destination's permission |
Teleport straight away |
/rtp player <player> [destination] |
donutrtp.admin |
Send someone (no warmup, cooldown or cost) |
/rtpadmin reload |
donutrtp.admin |
Reload config, messages and zones |
/rtpadmin info |
donutrtp.admin |
Platform, hooks, destinations, ready spots and zones |
/rtpadmin pos1, /rtpadmin pos2 |
donutrtp.zone.admin |
A zone's corners, where you stand |
/rtpadmin zone create <name> <destination> [region <id>] |
donutrtp.zone.admin |
Make a zone |
/rtpadmin zone set <name> <key> <value> |
donutrtp.zone.admin |
Change a zone |
/rtpadmin zone delete|info|list |
donutrtp.zone.admin |
donutrtp.zone.use lets players use zones (everyone). donutrtp.cooldown.bypass and donutrtp.cost.bypass are
for ops. donutrtp.warmup.bypass is given to nobody by default. /donutrtp works as /rtpadmin.

Does it lag? On Paper and Folia, chunks load off the main thread, and ready spots are prepared ahead of time. Generating new terrain still costs CPU, as it does for every RTP plugin. Pre-generating your world makes every teleport cheap.
Can I add my own worlds? Yes. Add a destination under destinations: in config.yml with the world's name, then
/rtpadmin reload.
Do I need WorldGuard for zones? No. Zones are boxes you select in game. WorldGuard regions work too.
Will my 1.x setup break? No. It is upgraded on the first start and the old files are kept.
Folia? Yes, every part of it, including group zones.
"No safe spot was found"? The console says why. Usually the area is mostly ocean, or claims cover it. A larger radius helps.







Discord: discord.gg/SAmd9fhNhr · Source: GitHub (Apache 2.0) · Support the project: nightbeam.dev/support
下载 Donut RTP & RTP Zone
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Donut RTP & RTP Zone
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Donut RTP & RTP Zone
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Donut RTP & RTP Zone
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Donut RTP & RTP Zone
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Donut RTP & RTP Zone
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Donut RTP & RTP Zone
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Donut RTP & RTP Zone
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Donut RTP & RTP Zone
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Donut RTP & RTP Zone
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
DonutRTP 2.0.1
修复
- 当
cancel-on-move: true时,进入 RTP 区域后立刻被取消。 倒计时会记住你进入区域 之前 所站立的方块,因此你在垫子上的下一步会被视为离开该方块并立即取消。现在它会记住你进入时的方块位置,倒计时将持续到你真正离开该方块为止。跳跃仍然永远不会导致取消。使用cancel-on-move: false(默认值)的区域不受影响。
无需更改配置。通过替换 jar 文件进行更新。
DonutRTP 2.0.0: The Zone Update
对 DonutRTP 进行全面重写。一个 JAR 文件即可在 Paper、Folia、Purpur、Spigot 和 Bukkit 上运行,支持 Minecraft 1.20.1 至 26.3,并且你的 1.x 设置会在首次启动时自动升级。
新增功能
群组 RTP 区域
- GROUP 区域:垫子上所有人共享一个倒计时。倒计时结束后,所有仍在区域内的人将一起落地,彼此相距几个方块(
spread)。 - 最少玩家数:倒计时会等待达到
min-players设定的数量,区域界面会显示还需要多少名玩家。 - INDIVIDUAL 区域:行为仍与 1.x 版本相同:当你走进区域时,你自己的倒计时开始。
- 任意数量的区域,可在游戏内创建。使用
/rtpadmin pos1和/rtpadmin pos2标记两个角,然后运行/rtpadmin zone create <name> <destination>。你也可以使用 WorldGuard 区域代替(... region <id>)。 - 每项设置都可通过
/rtpadmin zone set <name> <key> <value>进行修改,无需重启。 - 标题栏、动作栏和 Boss 栏显示倒计时,每个区域均可单独切换显示位置。
- 按区域设置的冷却时间和权限。处于冷却中的玩家会被告知剩余时间,并在冷却结束后加入区域。
- 跳跃永远不会被视为离开区域。
目的地
- 任意数量的目的地,不仅限于主世界、下界和末地。每个目的地都有独立的配置:
- 世界、方形或圆形形状、中心点(或世界出生点)、最小和最大距离以及高度;
- 生物群系允许和禁止列表(默认情况下,主世界中禁止海洋和河流);
- 权限、冷却时间、Vault 费用和菜单项。
- 始终尊重世界边界,并保留一定余量。
/rtp <destination>可直接传送而无需打开菜单,并支持 Tab 补全。/rtp player <player> [destination]允许管理员直接将某人传送过去,无预热、冷却或费用。
菜单
- 每个物品都会显示玩家的冷却时间(“4 分 12 秒后可用”)、费用,以及在缺乏权限时显示锁定图标。
- 打开期间每秒更新一次。
- 图标可以是任何物品、HeadDatabase 头部(
hdb-1234),或是来自纹理、UUID 或名称的玩家头部。
安全性
- 落地保护:落地后 5 秒内不受摔落伤害,3 秒内完全不受伤害(均可配置)。
- 避免领地与区域:绝不会落在 WorldGuard 区域或 GriefPrevention 领地内部。
- 永不落在不安全的地方:如水、岩浆、火、岩浆块、粉雪、蜘蛛网、浆果丛、仙人掌、下界屋顶、虚空或树木上。
- 永不落在岩浆旁,或位于一旦区块开始计时就会倾倒下来的岩浆下方。
冷却时间、费用与等级
- 冷却时间保存至磁盘,重启后依然存在。
- 冷却时间可全局共享或按目的地独立设置。
- 不同等级更短的冷却时间:
cooldown.ranks: { vip: 120 }赋予拥有donutrtp.cooldown.vip权限的玩家两分钟的冷却时间。玩家拥有的最短冷却时间生效。 - 通过 Vault 收取费用,仅在玩家成功落地后扣除,若传送失败则退款。
- 绕过权限:
donutrtp.cooldown.bypass、donutrtp.cost.bypass和donutrtp.warmup.bypass。
预热
- 受到伤害会取消预热(可关闭此功能)。
- 被其他机制传送走也算作移动。
- 倒计时可以显示在动作栏、标题栏或两者同时显示,并可选播放滴答声。
集成
- PlaceholderAPI:
%donutrtp_cooldown%和%donutrtp_cooldown_seconds%;%donutrtp_cooldown_<destination>%;%donutrtp_zone%;%donutrtp_zone_<name>_countdown%和%donutrtp_zone_<name>_players%,用于全息图和计分板。
- 开发者 API:
RtpPreTeleportEvent可取消并可更改玩家落地位置;RtpTeleportEvent在落地后触发;- 两者均携带目的地信息以及来源(命令、菜单、管理员或区域)。
- 落地命令:每次传送后控制台执行命令,包含
{player}、{world}、{x}、{y}、{z}和{destination}占位符。
管理员
/rtpadmin info显示平台信息、钩子状态、每个目的地的就绪位置数量以及区域列表。- 拼写错误不会导致配置丢失。如果
config.yml或zones.yml不是有效的 YAML 格式,/rtpadmin reload会指出错误位置并保留之前的设置。当无法读取zones.yml时,它永远不会被覆盖。 - 当玩家搜索未找到结果时,控制台会说明原因,每个目的地最多每五分钟输出一次:
- 没有安全落脚点;
- 生物群系被禁止;
- 存在领地与区域冲突;
- 或在繁忙服务器上区块仍在生成中。
修复问题
/rtp导致的卡顿尖峰。1.x 版本在主线程上为每次传送依次加载多达 60 个区块。2.0 版本在 Paper 和 Folia 上异步加载它们,充分利用已加载的区块,并预先为每个目的地准备若干落脚点。Spigot 每刻最多加载一个区块。- Java 17 上的 1.20.1 至 1.20.4 服务器无法加载 1.5.x:因为 1.5.x 是为 Java 21 构建的。2.0 版本改为基于 Java 17 构建。
- Spigot 上的预热错误:动作栏使用了仅适用于 Paper 的 API。现在 Spigot 使用其自身的聊天 API。
- Folia:区域状态在未加保护的情况下在线程间共享。现在每个玩家、方块和区块仅由其所属线程处理。
变更事项
- 管理员命令移至
/rtpadmin;/donutrtp仍作为别名存在,因此/donutrtp reload依然有效。区域命令采用新格式:/rtpadmin zone create|set|delete|info|list。 - 区域数据存储在
zones.yml中。消息使用{placeholders}占位符(1.x 的%placeholders%仍兼容)。 - 新增权限:
donutrtp.zone.use(全员可用)和donutrtp.zone.admin(OP 可用);donutrtp.cost.bypass(OP 可用)和donutrtp.warmup.bypass(无人可用)。
从 1.x 升级
- 替换 jar 文件并启动服务器。保留
plugins/DonutRTP/目录。 - DonutRTP 会在首次启动时自动升级你的配置文件,并在日志中记录操作内容:
config.yml将转换为 2.0 版本布局:预热时间、冷却时间、尝试次数、音效、世界、半径、最小高度和菜单项目均会保留。- 1.x 版本的 WorldGuard 区域将转换为一个以该区域名称命名的新区域。每个 1.x 版本的长方体区域将转换为一个拥有独立名称和权限的新区域。原本处于关闭状态的区域仍保持关闭。
messages.yml将被 2.0 版本的默认消息替换,同时保留你自定义的前缀。- 旧版文件会被备份为
config-1.x.yml和messages-1.x.yml。
- 新增的默认设置将在现有配置基础上生效:
- 最小距离设为 300 格(上限为你所设半径的四分之一);
- 在主世界中禁止使用海洋和河流生物群系;
- 启用落地保护;
- 每个目的地提供三个就绪位置。
测试情况
- 包含 22 个单元测试。
- 机器人矩阵在 Paper 1.20.1、1.20.4、1.20.6、1.21.1、1.21.4、1.21.8、1.21.11、26.1.2、26.2 和 26.3,以及 Folia 1.20.4、1.21.4、1.21.11 和 26.3 上启动 1.x 版本安装环境进行测试。在每个服务器上运行多达 23 项检查,涵盖升级过程、菜单功能、群组区域以及 Vault 费用等功能,并在 Paper 环境下启用 WorldGuard 和 GriefPrevention 插件。最后扫描控制台日志以查找错误信息。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
使床在所有维度中爆炸的模组
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
评论 0
登录后参与评分
还没有评论,来抢沙发吧