MightyRTP
警告:在诸如 CaveBlock 或洞穴生成世界等存在问题的世界中谨慎使用此插件,因为它们可能导致服务器崩溃。强烈建议在配置文件中将这些世界加入黑名单。
提示:为了获得更流畅的传送体验,建议使用 Chunky 或类似的区块预加载工具,在您配置的传送距离范围内预先加载区块。
功能特性
-
智能地表检测:通过智能地形扫描自动发现安全、随机的位置,而非依赖任意的 Y 轴坐标
-
高级安全系统:全面的安全检查,支持可配置的严格程度(1-5 级)
-
性能优化:异步传送搜索可防止服务器卡顿和 TPS 下降
-
世界管理:灵活的世界限制与黑名单机制
-
冷却系统:可配置的使用次数限制及权限绕过功能
-
丰富的消息提示:自定义标题、副标题和聊天消息,支持 MiniMessage 格式
-
易于配置:提供广泛的配置选项以调整插件的所有方面
-
玩家管理:可在进行适当权限检查后传送其他玩家
-
用户体验:智能 Tab 补全和直观的指令结构
-
稳定运行:彻底解决因区块加载操作导致的服务器崩溃问题
-
更新检查器:自动通知更新并提供手动检查指令
-
配置迁移:自动迁移配置文件,确保在更新时保留您的设置
-
自定义 RTP 中心点:为每个世界设置自定义中心点,用于计算 RTP 半径
-
自定义传送地点:预设传送位置,以控制 RTP 的目标目的地
-
兼容 Multiverse-CommandDestination:可作为传送门目的地 (cmd:mightyrtp) 用于从 Multiverse 传送门发起 RTP;包含控制台命令支持和 [world] 参数支持。
快速开始
安装
-
从 Releases 页面下载最新的 JAR 文件
-
将其放入服务器的 plugins 文件夹中
-
重启服务器
-
使用生成的配置文件进行插件配置
基本用法
-
/rtp - 传送到随机安全位置
-
/rtp [player] - 传送其他玩家(需要权限)
-
/rtp [player] [world] - 将其他玩家传送到指定世界(需要权限)
-
/rtp-reload - 重载插件配置(需要权限)
-
/rtp-update - 检查插件更新(需要权限)
-
/rtp-center - 为当前世界设置 RTP 中心点(需要权限)
-
/rtp-set - 在你所在的位置添加自定义传送点(需要权限,仅在 teleport-distance: CUSTOM 时有效)
指令
/rtp
-
描述:传送到随机安全位置
-
权限:mightyrtp.rtp
-
用法:/rtp
/rtp [player]
-
描述:传送其他玩家
-
权限:mightyrtp.rtp.other
-
用法:/rtp <player>
/rtp [player] [world]
/rtp-reload
-
描述:重载配置
-
权限:mightyrtp.reload
-
用法:/rtp-reload
/rtp-update
-
描述:检查插件更新
-
权限:mightyrtp.update
-
用法:/rtp-update
/rtp-center
/rtp-set
权限
mightyrtp.rtp
-
描述:允许玩家使用 /rtp 指令
-
默认值:true
mightyrtp.rtp.other
-
描述:允许玩家对其他玩家使用 /rtp 指令
-
默认值:op
mightyrtp.rtp.world
-
描述:允许玩家在使用 /rtp 指令时指定世界
-
默认值:op
mightyrtp.bypass
mightyrtp.reload
mightyrtp.update
mightyrtp.admin
-
描述:允许玩家设置 RTP 中心点和自定义传送点
-
默认值:op
高级功能
自定义 RTP 中心点
为每个世界设置用于 RTP 半径计算的自定义中心点:
- 站在期望的中心位置
- 运行
/rtp-center
- 该世界中的所有 RTP 传送都将以此位置为中心点
- 中心点存储在
centers.yml 中,并在重启后持久保存
自定义传送地点
使用预设的传送位置替代随机生成:
- 在
config.yml 中设置 teleport-distance: CUSTOM
- 站在期望的传送位置,并为每个地点运行
/rtp-set
- 使用
/rtp 的玩家将被传送到列表中的随机地点
- 地点按世界分别存储在
spots.yml 中
- 通过将
teleport-distance 设置为数字(例如 5000)并重新加载来切换回正常模式
注意:必须分别为每个世界设置地点。更改模式后记得重新加载配置。
故障排除
常见问题
插件无法找到安全位置:
传送期间服务器卡顿:
区块加载错误:
-
验证服务器是否有足够的内存 (RAM)
-
检查是否启用了世界生成
-
确保拥有正确的服务器权限
性能建议
-
普通世界:默认设置即可正常使用
-
复杂地形:将 max-attempts 增加到 75–100
-
洞穴世界:将 safety.strictness 设置为 4–5,以放宽放置限制;但强烈建议屏蔽此类世界。
-
高流量服务器:保持 max-attempts 适中(50–75),以平衡成功率与性能
支持
如果你需要帮助或有建议,请在 GitHub 仓库中提交 issue,或加入链接的 Discord 服务器并前往 #plugin-help 频道
MightyRTP
WARNING: Be careful using this plugin in problematic worlds like CaveBlock or cave-generated worlds, as they can cause server crashes. It is strongly recommended to blacklist these worlds in the configuration.
TIP: For smoother teleportation, consider preloading chunks within your configured teleport distance using Chunky or similar chunk preloading tools.
Features
-
Smart Surface Detection: Automatically discovers safe, random locations using intelligent terrain scanning instead of arbitrary Y levels
-
Advanced Safety System: Comprehensive safety checks with configurable strictness levels (1-5 scale)
-
Performance Optimized: Asynchronous teleport searching prevents server lag and TPS drops
-
World Management: Flexible world restrictions and blacklisting
-
Cooldown System: Configurable usage limits with bypass permissions
-
Rich Messaging: Customizable titles, subtitles, and chat messages with MiniMessage support
-
Easy Configuration: Extensive configuration options for all aspects of the plugin
-
Player Management: Teleport other players with proper permission checks
-
User Experience: Smart tab completion and intuitive command structure
-
Stable Performance: No more server crashes from chunk loading operations
-
Update Checker: Automatic update notifications with manual check command
-
Config Migration: Automatic config migration preserves your settings when updating
-
Custom RTP Centers: Set custom center points per world for RTP radius calculations
-
Custom Teleport Spots: Pre-set teleport locations for controlled RTP destinations
-
Multiverse-CommandDestination compatible: Use as a portal destination (cmd:mightyrtp) for RTP from Multiverse portals; console command and [world] support included.
Quick Start
Installation
-
Download the latest JAR file from releases
-
Place it in your server's plugins folder
-
Restart your server
-
Configure the plugin using the generated config files
Basic Usage
-
/rtp - Teleport to a random safe location
-
/rtp [player] - Teleport another player (requires permission)
-
/rtp [player] [world] - Teleport another player to specified world (requires permission)
-
/rtp-reload - Reload plugin configuration (requires permission)
-
/rtp-update - Check for plugin updates (requires permission)
-
/rtp-center - Set RTP center point for current world (requires permission)
-
/rtp-set - Add custom teleport spot at your location (requires permission, only works when teleport-distance: CUSTOM)
Commands
/rtp
/rtp [player]
/rtp [player] [world]
-
Description: Teleport another player or yourself to specified world
-
Permission: mightyrtp.rtp.other + mightyrtp.rtp.world
-
Usage: /rtp <player> <world>
/rtp-reload
/rtp-update
/rtp-center
-
Description: Set the RTP center point for the current world (defaults to 0,0)
-
Permission: mightyrtp.admin
-
Usage: /rtp-center (stand where you want the center to be)
/rtp-set
-
Description: Add a custom teleport spot at your current location (only works when teleport-distance: CUSTOM in config)
-
Permission: mightyrtp.admin
-
Usage: /rtp-set (stand where you want the teleport spot to be)
Permissions
mightyrtp.rtp
mightyrtp.rtp.other
mightyrtp.rtp.world
mightyrtp.bypass
mightyrtp.reload
mightyrtp.update
mightyrtp.admin
Advanced Features
Custom RTP Centers
Set custom center points for RTP radius calculations per world:
- Stand at the desired center location
- Run
/rtp-center
- All RTP teleports in that world will use this location as the center point
- Centers are stored in
centers.yml and persist across restarts
Custom Teleport Spots
Use pre-set teleport locations instead of random generation:
- Set
teleport-distance: CUSTOM in config.yml
- Stand at desired teleport locations and run
/rtp-set for each spot
- Players using
/rtp will be teleported to random spots from your list
- Spots are stored in
spots.yml per world
- Switch back to normal mode by setting
teleport-distance to a number (e.g., 5000) and reloading
Note: You must set spots for each world separately. Remember to reload config after changing modes.
Troubleshooting
Common Issues
Plugin fails to find safe locations:
-
Increase max-attempts in config
-
Verify world generation is working properly
-
Consider adjusting safety.strictness (lower = more strict, higher = more lenient)
Server lag during teleportation:
-
Ensure async-teleport-search: true is enabled
-
Reduce max-attempts if needed
-
Check server performance settings
Chunk loading errors:
-
Verify server has sufficient RAM
-
Check if world generation is enabled
-
Ensure proper server permissions
Performance Tips
-
Normal worlds: Default settings work well
-
Complex terrain: Increase max-attempts to 75-100
-
Cave worlds: Set safety.strictness to 4-5 for more lenient placement, BUT HIGHLY RECOMMENDED TO BLOCK THESE WORLDS.
-
High-traffic servers: Keep max-attempts moderate (50-75) to balance success rate and performance
Support
If you need help or have suggestions, please open an issue on the GitHub repository or join the linked Discord and navigate to # plugin-help
评论 0
登录后参与评分
还没有评论,来抢沙发吧