SpyNetherPortals
SpyNetherPortals 是一款用于 Paper 和 Purpur(1.21+)的维度链接与传送门路由插件。它作为 SpyCore 的扩展,用于在自定义世界和容器化世界之间链接下界与末地传送门,处理坐标转换,并实现跨维度通信。
功能
- 自动传送门路由:使用标准命名约定(
<world>、<world>_nether、<world>_the_end)和容器文件夹,链接主世界、下界和末地传送门。 - 8:1 坐标缩放:按照原版比例(水平方向 8:1)正确转换主世界与下界之间的坐标,确保返回传送门能正确对接。
- 按需唤醒世界:与 SpyCore 的休眠系统配合工作。如果目标下界或末地世界处于休眠或未加载状态,进入传送门时会安全地将其唤醒,然后再进行玩家传送。
- 链接维度聊天:虽然 SpyCore 默认隔离不同世界间的聊天和玩家列表(Tablist),但 SpyNetherPortals 会桥接链接维度中的玩家,使
survival和survival_nether中的玩家可以互相聊天并在 Tab 列表中看到彼此。 - 竞技场与对局隔离:防止在临时小游戏实例中未经授权创建传送门或进行维度跳跃。
要求与安装
- 要求:
- Paper 或 Purpur 1.21+
- Java 21+
- SpyCore 1.1.0 或更高版本
- 安装:
- 将
spycore-1.1.0.jar和spynetherportals-1.0.5.jar放入服务器的plugins/目录中。 - 重启服务器。
- 将
世界链接原理
默认情况下,SpyNetherPortals 通过后缀检测对应的维度:
<world>→ 主世界<world>_nether→ 下界<world>_the_end→ 末地
如果玩家在 world2 中进入下界传送门,插件会检查是否存在 world2_nether。如果目标世界处于休眠状态,SpyCore 会将其唤醒,计算缩放后的坐标,并生成或连接到现有的下界传送门。
相关插件
- SpyCore:多世界管理引擎和 VFS 容器系统。
- SpyInventories:多世界库存与玩家状态分离。
许可证
本项目采用 Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0) 许可。
SpyNetherPortals
SpyNetherPortals is a dimension-linking and portal routing plugin for Paper and Purpur (1.21+). Designed as an extension for SpyCore, it links Nether and End portals between custom worlds and containerized worlds, handles coordinate translation, and enables cross-dimension communication.
Features
- Automatic Portal Routing: Links Overworld, Nether, and End portals across custom worlds using standard naming conventions (
<world>,<world>_nether,<world>_the_end) and container folders. - 8:1 Coordinate Scaling: Correctly translates coordinates between the Overworld and Nether according to vanilla ratios (8:1 horizontal scale), ensuring return portals link up properly.
- On-Demand World Wakeup: Works with SpyCore's hibernation system. If a destination Nether or End world is sleeping or unloaded, entering a portal safely wakes it up before teleporting the player.
- Linked Dimension Chat: While SpyCore isolates chat and tablists between separate worlds by default, SpyNetherPortals bridges players across linked dimensions so players in
survivalandsurvival_nethercan talk to each other and see each other on tab. - Arena & Match Isolation: Prevents unauthorized portal creation and dimension hopping in temporary minigame instances.
Requirements & Installation
- Requirements:
- Paper or Purpur 1.21+
- Java 21+
- SpyCore 1.1.0 or newer
- Installation:
- Put both
spycore-1.1.0.jarandspynetherportals-1.0.5.jarinto your server'splugins/directory. - Restart the server.
- Put both
How It Links Worlds
By default, SpyNetherPortals detects corresponding dimensions using suffixes:
<world>→ Overworld<world>_nether→ Nether<world>_the_end→ The End
If a player steps into a Nether portal in world2, the plugin checks for world2_nether. If the target world is hibernating, SpyCore wakes it, calculates the scaled coordinates, and generates or connects to an existing Nether portal.
Sibling Plugins
- SpyCore: Multi-world management engine and VFS container system.
- SpyInventories: Multi-world inventory and player state separation.
License
This project is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0).
下载 SpyNetherPortals
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 SpyNetherPortals
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 SpyNetherPortals
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 SpyNetherPortals
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 SpyNetherPortals
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 SpyNetherPortals
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 SpyNetherPortals
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
[1.0.6] - 2026-09-05
修复
- 主世界到下界传送门失效:修复了关键的
NullPointerException,当在自定义世界中PlayerPortalEvent#getTo()返回null时,会导致进入传送门失败。 - 传送门生成:显式启用了传送门创建标志(
setCanCreatePortal(true)、setSearchRadius(128)、setCreationRadius(16))并安全地设置了目标位置。 - 容器维度路由:增强了维度解析器,能够通过别名和容器路径正确检测用于容器的世界的关联下界和末地世界。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
PacketEvents 是一款专为 Minecraft Java 版打造的协议库,旨在简化数据包的处理与传输。
插件
ExyliaPlugins 的库。
插件
通过对话框或铁砧界面帮助你的 Anthme
插件
自定义你的Minecraft头像!
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
为基于 Spigot/Paper/Folia 的服务器添加对 Vivecraft 的支持
评论 0
登录后参与评分
还没有评论,来抢沙发吧