InstantNetherPortals
移除下界传送门的 4 秒等待时间。传送支持双向(从主世界到下界,以及返回),如果你希望在即时与原版之间有所调整,延迟时间可配置。
轻量级,无依赖。在玩家踏入传送门前,目标区块会被预先加载,因此到达时不会出现卡顿。
功能特性
- 双向通过下界传送门实现即时传送
- 可配置的延迟范围:0 刻(即时)至 80 刻(原版)
- 当玩家靠近传送门时,目标区块会预先加载并锁定 60 秒
- 支持按玩家和群组设置权限,兼容 LuckPerms
- 提供带 Tab 补全的切换命令,无需重启即可重载配置
- 语言支持:en, de, ru, es, fr, ja, zh
- 构建版本:Paper 26.x 和 Paper 1.21.x
配置
language: en
enabled: true
# 0 = 即时, 20 = 1 秒, 80 = 原版 (生存模式下为 4 秒)
teleport-delay: 0
chunk-preload:
enabled: true
radius: 10
权限
| 权限 | 描述 | 默认值 |
|---|---|---|
instantnetherportals.use |
使用传送门即时传送 | op |
instantnetherportals.admin |
使用 /instantportal 命令 |
op |
LuckPerms 示例:
/lp group default permission set instantnetherportals.use true
/lp user Steve permission set instantnetherportals.admin true
命令
| 命令 | 描述 |
|---|---|
/instantportal |
开启或关闭即时传送 |
/instantportal on |
启用 |
/instantportal off |
禁用 |
/instantportal status |
显示当前状态和延迟时间 |
/instantportal reload |
重载 config.yml 和语言文件 |
别名:/inp
要求
| 服务器端 | Paper 26.1 至 26.3 需使用 26.x 文件,Paper 1.21 至 1.21.11 需使用 1.21.x 文件(Purpur 和 Pufferfish 作为 Paper 分支也应能正常工作) |
| Java | Paper 26.x 需要 Java 25+,Paper 1.21.x 需要 Java 21+ |
下载与你的服务器匹配的文件并将其放入 plugins/ 文件夹中。InstantNetherPortals 需要 Paper 服务端。在 Spigot 和 Bukkit 上,插件会以基本异步模式加载并预加载区块,但传送门仍保留原版的延迟时间。不支持 Folia。
工作原理
游戏通过玩家实体上的 PortalProcessor 对象来追踪传送门等待时间。插件每刻通过反射读取该对象,并将 portalTime 提升至 waitTime - delay,从而使游戏在恰好经过 delay 个刻后触发传送。当 delay = 0 时,大约需要 1 到 2 刻,即 50 到 100 毫秒。
当玩家靠近传送门时,插件会在目标坐标处预先加载一个 17x17 的区块区域(从主世界到下界为 x8,从下界到主世界为 /8),并使用 World.addPluginChunkTicket 将其锁定 60 秒。如果没有此操作,服务器将在玩家到达的瞬间生成这些区块,这正是导致通常卡顿的原因。
InstantNetherPortals
Removes the 4 second wait in Nether portals. Teleportation works in both directions (Overworld to Nether and back), and the delay is configurable if you want something between instant and vanilla.
Lightweight, no dependencies. Destination chunks are loaded before the player steps through, so there is no freeze on arrival.
Features
- Instant teleportation through Nether portals in both directions
- Configurable delay from 0 ticks (instant) up to 80 ticks (vanilla)
- Destination chunks are pre-loaded and pinned for 60 seconds while a player is near a portal
- Per-player and per-group permissions, compatible with LuckPerms
- Toggle command with tab completion, config reload without a restart
- Languages: en, de, ru, es, fr, ja, zh
- Builds for Paper 26.x and Paper 1.21.x
Configuration
language: en
enabled: true
# 0 = instant, 20 = 1 second, 80 = vanilla (4 seconds in survival)
teleport-delay: 0
chunk-preload:
enabled: true
radius: 10
Permissions
| Permission | Description | Default |
|---|---|---|
instantnetherportals.use |
Instant portal teleportation | op |
instantnetherportals.admin |
Use /instantportal |
op |
LuckPerms examples:
/lp group default permission set instantnetherportals.use true
/lp user Steve permission set instantnetherportals.admin true
Commands
| Command | Description |
|---|---|
/instantportal |
Toggle on or off |
/instantportal on |
Enable |
/instantportal off |
Disable |
/instantportal status |
Show current state and delay |
/instantportal reload |
Reload config.yml and the language file |
Alias: /inp
Requirements
| Server | Paper 26.1 to 26.3 with the 26.x file, Paper 1.21 to 1.21.11 with the 1.21.x file (Purpur and Pufferfish should work as Paper forks) |
| Java | 25+ for Paper 26.x, 21+ for Paper 1.21.x |
Download the file that matches your server and drop it into the plugins/ folder. Instant portals need Paper. On Spigot and Bukkit the plugin loads and pre-loads chunks in basic async mode, but portals keep the vanilla delay. Folia is not supported.
How it works
The game tracks the portal wait time in a PortalProcessor object on the player entity. Every tick the plugin reads that object through reflection and raises portalTime to waitTime - delay, so the game fires the teleport after exactly delay more ticks. At delay = 0 that takes 1 to 2 ticks, roughly 50 to 100 ms.
While a player is near a portal, the plugin pre-loads a 17x17 chunk area at the destination coordinates (x8 for Overworld to Nether, /8 for Nether to Overworld) and pins it with World.addPluginChunkTicket for 60 seconds. Without this, the server generates those chunks the moment the player arrives, which is what causes the usual freeze.
下载 Instant Nether Portals
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Instant Nether Portals
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Instant Nether Portals
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Instant Nether Portals
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Instant Nether Portals
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Instant Nether Portals
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
使床在所有维度中爆炸的模组
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
评论 0
登录后参与评分
还没有评论,来抢沙发吧