TrueRTP
TrueRTP 是一款专为希望实现简单、可控的随机传送(RTP)系统的服务器而设计的 Paper 插件。它为玩家提供了一个公开的 /rtp 命令,可将玩家传送到地面上方的安全位置;同时赋予服务器管理员对传送距离、传送中心点、传送前等待时间以及命令冷却时间的完全控制权。
功能介绍
玩家可以使用 /rtp 指令将自身传送到主世界(Overworld)的随机位置。插件会根据设定的中心点以及最小和最大距离范围,在可配置的距离内选择坐标。这使得该插件特别适用于希望玩家远离出生点分散探索,而不是聚集在单一区域的生存服务器。
目标地点的选择是安全的。TrueRTP 会在选定的坐标处寻找最高的有效地面方块,并将玩家传送到其上方,而不是将其放置在地底或危险的地形中。它会拒绝熔岩、水、岩浆块、仙人掌、营火等不安全表面。
主要特性
公开 RTP 命令
所有玩家均可使用 /rtp 发起随机传送。
安全传送
该插件仅将玩家传送至地表以上、拥有安全站立空间的有效位置。
可配置的距离范围
操作员可以定义:
- 距离 RTP 中心的最小距离
- 距离 RTP 中心的最大距离
- 用于随机传送计算的中心点
这使得 RTP 的位置可以出现在所选中心周围环形区域内的任何地方。
可配置的冷却时间与延迟
操作员可以控制:
- 使用指令之间的冷却时间
- 玩家在传送发生前必须等待的时间
移动取消
如果玩家在等待传送时移动,RTP 将立即取消。即使传送被取消,冷却时间仍然生效。
管理员控制
服务器管理员可以通过以下命令在游戏中更改 RTP 设置:
/rtp max <方块数>
/rtp min <方块数>
/rtp center <x> <z>
/rtp cooldown <秒数>
/rtp time <秒数>
这些设置也保存在配置文件中。
配置
TrueRTP 包含一个用于管理 RTP 行为的配置文件。主要选项如下:
minimum-distance
maximum-distance
center.x
center.z
cooldown-seconds
time-seconds
这使得服务器管理员能够在不修改代码的情况下配置插件。
TrueRTP
TrueRTP is a Paper random teleport plugin built for servers that want a simple, controlled RTP system. It gives players a public /rtp command that teleports them to a safe location above ground, while giving server operators full control over how far teleports can go, where the teleport center is, how long players must wait before teleporting, and how long they must wait before using the command again.
What It Does
Players can use /rtp to teleport to a random location in the overworld. The plugin selects coordinates within a configurable range based on a center point and a minimum and maximum distance. This makes it useful for survival servers that want players to spread out away from spawn instead of staying clustered in one area.
The destination is chosen safely. TrueRTP finds the highest valid ground block at the selected coordinates and teleports the player above it, rather than placing them underground or inside unsafe terrain. Unsafe surfaces such as lava, water, magma blocks, cactus, campfires, and similar hazards are rejected.
Main Features
Public RTP Command
All players can use /rtp to start a random teleport.
Safe Teleporting
The plugin only teleports players to valid above-ground locations with safe standing space.
Configurable Distance Range
Operators can define:
- The minimum distance from the RTP center
- The maximum distance from the RTP center
- The center point used for random teleport calculations
This allows RTP locations to be anywhere inside a ring-shaped area around the chosen center.
Configurable Cooldown and Delay
Operators can control:
- The cooldown between command uses
- The time a player must wait before the teleport happens
Movement Cancel
If a player moves while waiting for the teleport, the RTP is cancelled immediately. The cooldown still applies even if the teleport is cancelled.
Operator Controls
Server operators can change RTP settings in-game with:
/rtp max <blocks>
/rtp min <blocks>
/rtp center <x> <z>
/rtp cooldown <seconds>
/rtp time <seconds>
These settings are also stored in the config file.
Configuration
TrueRTP includes a config file for managing RTP behavior. The main options are:
minimum-distance
maximum-distance
center.x
center.z
cooldown-seconds
time-seconds
This allows server owners to configure the plugin without editing code.
评论 0
登录后参与评分
还没有评论,来抢沙发吧