BlanketRTP
BlanketRTP 是一款功能丰富的服务端 Fabric 模组,为你的世界提供了一个有趣、安全且高度可配置的随机传送(RTP)系统。无论你是想让玩家探索随机地点、寻找特定生物群系,还是从空中缓缓滑翔而下,BlanketRTP 都能提供一套精致且高效的解决方案。
依赖项
功能特性
- 标准与生物群系 RTP:使用
/rtp传送到随机安全位置,或使用/rtp biome <biome_id>定位到特定生物群系。 - 平滑滑翔机制:玩家不仅会被直接传送,还可以被传送到高空并自动开始滑翔,附带可自定义的粒子效果和视觉上装备的鞘翅。
- 专注于性能的“慢速加载”:通过在玩家到达之前缓慢预加载目的地区域,防止在传送到新区块时导致服务器卡顿(TPS 下降)。
- 分层冷却系统:利用权限为不同玩家等级创建不同的冷却时间(例如,VIP 玩家拥有更短的冷却时间)。
- 维度重定向:强制将使用
/rtp命令的玩家(如在末地或下界中)传送到另一个指定的世界。 - 广泛的配置选项:控制一切,从传送半径和冷却时间,到滑翔物品的 NBT 数据、粒子效果以及所有面向用户的消息。
- 管理员工具:使用
/rtp reload实时重新加载配置,并在必要时强制停止玩家的滑翔状态。
命令
主要命令是 /rtp。所有权限节点均可在配置文件中完全自定义。
| 命令 | 权限 | 描述 |
|---|---|---|
/rtp |
blanketrtp.rtp |
将玩家传送到随机的安全位置。 |
/rtp no_glide |
blanketrtp.rtp.noglide |
执行随机传送,但强制本次使用关闭滑翔机制。 |
/rtp biome <biome_id> |
blanketrtp.rtp.biome |
找到并传送到指定生物群系内的随机位置。 |
/rtp biome <biome_id> no_glide |
blanketrtp.rtp.biome |
传送到特定生物群系,并强制关闭滑翔。 |
/rtp reload |
blanketrtp.admin.reload |
从磁盘重新加载 blanketrtp.json 配置文件。 |
/rtp stopgliding <player> |
blanketrtp.admin.stopgliding |
强制停止指定玩家的 RTP 引发的滑翔。 |
配置
BlanketRTP 使用位于 config/blanketrtp/blanketrtp.json 的单一综合配置文件。它允许对几乎所有功能进行深度定制。
主 RTP 设置
rtpRadius:玩家可被传送到的距离世界中心(0,0)的最大距离(以方块为单位)。dimensionRedirects:一个强大的功能,用于跨维度控制 RTP。默认情况下,它配置为将任何在下界或末地使用/rtp的人发送到主世界。你可以删除这些条目以允许在这些维度内进行 RTP,或者添加你自己的自定义重定向。cooldowns:此列表允许你创建分层冷却系统。模组从上到下检查权限。你可以为不同等级定义层级(例如blanketrtp.cooldown.vip),并使用空权限 ("") 设置默认的后备方案。
滑翔系统 (glidingOptions)
此部分控制“从天而降”的机制。
| 设置项 | 描述 |
|---|---|
enabled |
全局开启或关闭滑翔机制的主开关。 |
teleportHeight |
玩家在开始滑翔前被传送到的地面以上高度(Y 轴级别)。 |
particlesEnabled |
切换玩家滑翔时跟随其身后的粒子轨迹。你可以自定义 particleType、amount 等。 |
glider |
控制玩家身上视觉装备的物品。你可以更改 gliderItemId(例如改为具有自定义纹理的鞘翅),甚至可以通过 gliderNbtData 指定其 NBT 数据,使其看起来附魔了或具有特定的自定义模型。 |
性能优化 (slowLoadOptions)
此部分对于防止服务器卡顿至关重要,特别是当玩家传送到未生成的区块时。
enabled:如果为true,模组将在传送玩家之前缓慢预加载目的地的区块。radius:围绕目的地加载的区块半径。半径为1表示加载 3x3 的区块区域。loadDelayMillis:队列中加载每个区块之间的暂停时间(以毫秒为单位)。较高的值意味着更慢但更平滑的传送准备过程,对服务器性能的影响较小。keepLoadedSeconds:玩家到达后,区块保持强制加载的时间长度,以确保着陆顺畅。
消息
- 发送给玩家的每条消息都是可配置的,从冷却通知到成功消息。它们都支持 MiniMessage 格式,允许使用渐变、自定义颜色等。
BlanketRTP
BlanketRTP is a feature-rich, server-side Fabric mod that provides a fun, safe, and highly configurable random teleportation (RTP) system for your world. Whether you want to let players explore random locations, hunt for specific biomes, or gently glide down from the sky, BlanketRTP offers a polished and performant solution.
Dependencies
Features
- Standard & Biome RTP: Teleport to a random safe location with
/rtpor target a specific biome with/rtp biome <biome_id>. - Smooth Gliding Mechanic: Instead of just appearing, players can be teleported high into the air and automatically start gliding, complete with customizable particle effects and a visually equipped Elytra.
- Performance-Focused "Slow Load": Prevents server lag (TPS drops) when teleporting to new chunks by pre-loading the destination area slowly before the player arrives.
- Tiered Cooldown System: Create different cooldowns for different player ranks using permissions (e.g., VIPs get a shorter cooldown).
- Dimension Redirection: Force players who use
/rtpin certain dimensions (like The End or The Nether) to be teleported to a different, designated world. - Extensive Configuration: Control everything from the teleport radius and cooldowns to the glider item's NBT, particle effects, and all user-facing messages.
- Admin Tools: Reload the configuration live with
/rtp reloadand forcibly stop a player's glide if needed.
Commands
The primary command is /rtp. All permission nodes are fully configurable in the config file.
| Command | Permission | Description |
|---|---|---|
/rtp |
blanketrtp.rtp |
Teleports the player to a random safe location. |
/rtp no_glide |
blanketrtp.rtp.noglide |
Performs a random teleport but forces the gliding mechanic to be off for this one use. |
/rtp biome <biome_id> |
blanketrtp.rtp.biome |
Finds and teleports the player to a random location within the specified biome. |
/rtp biome <biome_id> no_glide |
blanketrtp.rtp.biome |
Teleports to a specific biome with gliding forced off. |
/rtp reload |
blanketrtp.admin.reload |
Reloads the blanketrtp.json configuration file from disk. |
/rtp stopgliding <player> |
blanketrtp.admin.stopgliding |
Forcibly stops the RTP-induced glide for the specified player. |
Configuration
BlanketRTP uses a single, comprehensive configuration file located at config/blanketrtp/blanketrtp.json. It allows for deep customization of nearly every feature.
Main RTP Settings
rtpRadius: The maximum distance (in blocks) from the world's center (0,0) that a player can be teleported to.dimensionRedirects: A powerful feature to control RTP across dimensions. By default, it's configured to send anyone who uses/rtpin The Nether or The End to the Overworld. You can remove these entries to allow RTP within those dimensions or add your own custom redirects.cooldowns: This list allows you to create a tiered cooldown system. The mod checks permissions from top to bottom. You can define tiers for different ranks (e.g.,blanketrtp.cooldown.vip) and a default fallback with an empty permission ("").
Gliding System (glidingOptions)
This section controls the "drop from the sky" mechanic.
| Setting | Description |
|---|---|
enabled |
The master switch to turn the gliding mechanic on or off globally. |
teleportHeight |
The height (Y-level) above the ground that players are teleported to before they start gliding. |
particlesEnabled |
Toggles the trail of particles that follows a player while they are gliding. You can customize the particleType, amount, and more. |
glider |
Controls the item visually equipped on the player. You can change the gliderItemId (e.g., to a custom-textured Elytra) and even specify its NBT data with gliderNbtData to make it appear enchanted or have a specific custom model. |
Performance (slowLoadOptions)
This section is crucial for preventing lag on servers, especially when players teleport to ungenerated chunks.
enabled: Iftrue, the mod will slowly pre-load the chunks at the destination before teleporting the player.radius: The radius of chunks to load around the destination. A radius of1loads a 3x3 chunk area.loadDelayMillis: The pause (in milliseconds) between loading each chunk in the queue. A higher value means a slower, but smoother, teleport preparation that is less likely to impact server performance.keepLoadedSeconds: How long the chunks are kept force-loaded after the player arrives to ensure a smooth landing.
Messages
- Every message sent to the player is configurable, from cooldown notifications to success messages. They all support MiniMessage formatting, allowing for gradients, custom colors, and more.
下载 B-RTP
下载 B-RTP
下载 B-RTP
下载 B-RTP
下载 B-RTP
下载 B-RTP
下载 B-RTP
下载 B-RTP
下载 B-RTP
下载 B-RTP
- 修复了在 RTP 搜索期间玩家断开连接时不安全的区块票清理问题。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
AE2:一款流行的自动化与存储模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧