Immersive Portals Paperized (IPP)
一款为 PaperMC 高度优化的服务端传送门渲染与传送引擎。灵感源自 Immersive Portals 模组。我基于 NetherView 和 BetterPortals 的代码,移植到了现代版本。
插件
一个 Minecraft 插件,允许透过下界传送门看到另一侧的内容,实时显示对岸景象,并支持自定义传送门的创建。无需任何客户端修改即可实现。
⚠️ 需要 PACKETEVENTS!
⚠️ 目前处于 Alpha 测试阶段,请勿期望这是一个稳定的插件!
⚠️ 由于大量使用 PaperAPI 功能,不保证支持 Spigot!
如果遇到任何 Bug,请在 GitHub 上提交 Issue!
GithubIssues (用于 Bug 报告、其他问题及反馈)
当前功能:
- 透视下界传送门
- 实时传送门渲染
- 自定义传送门创建
- 跨服务器传送门支持
- 传送门效果与预设
- 经济系统集成(Vault)
- 选择权杖
- 兼容 Folia
- GUI 管理菜单
- TPS 感知渲染
- 传送门管理 GUI
- 防复制保护
- 多世界支持
- 维度融合
- 光源方块系统(1.18+)
- 实体追踪与复制(生物、物品及其他实体可通过传送门可见)
- 国际化(25+ 种语言)
未来功能:
- 实体/玩家穿透(直接穿过传送门表面进行传送,无需原版传送门方块)
- 提高插件稳定性
- 性能优化
- 通过 Modrinth 自动检查更新
使用方法
构建自定义传送门:获取权杖(/bp wand),选择你的起点角落并运行 /bp setOrigin,选择终点角落并运行 /bp setDestination,然后执行 /bp linkPortals(若是跨服务器传送门则使用 /bp linkExternalPortals)。
命令:
所有命令均位于 /immersiveportalspaperized 下,也可简写为 /p 或 /bp。
- /bp reload 重载插件及配置文件
- /bp reconnect 如果连接断开,重新连接到代理服务器
- /bp wand 给予你传送门选择权杖
- /bp setOrigin 将当前权杖选定的位置设为起点
- /bp setDestination 将当前权杖选定的位置设为终点
- /bp linkPortals 将你选定的起点和终点链接在一起
- /bp linkExternalPortals 将你的起点与另一台服务器上的终点链接
- /bp createfromcoords 直接从坐标创建传送门,无需玩家或权杖参与
- /bp remove 移除 20 格范围内最近的传送门
- /bp removebyname 移除所有指定名称的传送门
- /bp setPortalName 设置 20 格范围内最近自定义传送门的名称
- /bp getportalname 告知你 20 格范围内最近传送门的名称
- /bp setprice 设置最近自定义传送门的价格
- /bp setpreset 设置最近自定义传送门的效果预设
- /bp getallowNonPlayerTeleportation 告知你是否允许非玩家(物品/生物)通过该传送门传送
- /bp setAllowNonPlayerTeleportation 设置是否允许非玩家(物品/生物)通过该传送门传送
- /bp setseethroughportal 设置你是否个人可以透过传送门观看
- /bp toggleseethroughportal 切换你是否个人可以透过传送门观看
- /bp menu 打开传送门管理 GUI
别名:
- /p 和 /bp 可代替 /immersiveportalspaperized 使用
权限:
- immersiveportalspaperized.createfromcoords 允许从坐标创建传送门
- immersiveportalspaperized.getname 允许获取传送门名称
- immersiveportalspaperized.link 允许链接传送门
- immersiveportalspaperized.linkexternal 允许创建跨服务器传送门
- immersiveportalspaperized.remove 允许移除传送门
- immersiveportalspaperized.remove.others 允许移除不属于你的传送门
- immersiveportalspaperized.reload 允许重载插件配置
- immersiveportalspaperized.reconnect 允许重新连接到代理服务器
- immersiveportalspaperized.select 允许使用选择权杖和管理菜单
- immersiveportalspaperized.setname 允许重命名传送门并设置其价格/预设
- immersiveportalspaperized.setname.others 允许重命名不属于你的传送门
- immersiveportalspaperized.getallowNonPlayerTeleportation 允许检查物品/生物能否通过传送门传送
- immersiveportalspaperized.setAllowNonPlayerTeleportation 允许切换传送门的物品/生物传送功能
- immersiveportalspaperized.wand 允许使用传送门选择权杖
- immersiveportalspaperized.user 允许使用传送门 (默认:true)
- immersiveportalspaperized.see 允许透过传送门观看 (默认:true)
默认情况下,所有人都可以行走并通过传送门(.user/.see)。所有涉及创建、编辑或删除传送门的操作默认仅限 OP(管理员)。
依赖项:
- PacketEvents(必需,用于基于数据包的传送门渲染)
- Vault(可选,用于经济功能)
- Multiverse-Core(可选,用于世界管理)
- My_Worlds(可选,用于世界管理)
配置:
插件配置文件将在首次启动时生成于 plugins/ImmersivePortalsPaperized/config.yml。
插件支持通过 /bp reload 热重载配置。
有关详细的配置选项,包括世界连接、传送门效果预设、代理设置及性能调优,请参阅生成的 config.yml 中的注释。
玩得开心 :)
Immersive Portals Paperized (IPP)
A highly-optimized, server-side portal rendering and teleportation engine for PaperMC. Inspired by the Immersive Portals mod. I made a port for modern versions based of the code from NetherView and BetterPortals.
Plugin
A Minecraft plugin that allows nether portals to be seen through, it displays whats on the other side in real-time, and supports custom portal creation. Everything without any client modifications.
⚠️ REQUIRES PACKETEVENTS!
⚠️ Currently in Alpha, don't expect a stable plugin!
⚠️ Spigot support is not guaranteed as it uses extensive PaperAPI features!
Please open a Issue on github if you encounter any Bugs!
GithubIssues (for Bug-Reports, other Issues and Feedback)
Current Features:
- See-through nether portals
- Real-time portal rendering
- Custom portal creation
- Cross-server portal support
- Portal effects and presets
- Economy integration (Vault)
- Selection wand
- Folia compatible
- GUI admin menu
- TPS-aware rendering
- Portal admin GUI
- Anti-dupe protection
- Multi-world support
- Dimension blending
- Light block system (1.18+)
- Entity tracking and replication (mobs, items, and other entities are visible through portals)
- Internationalization (25+ languages)
Future Features:
- Entity/Player Pass through (walking through a portal's surface to teleport, without needing a vanilla portal block)
- Making the Plugin more stable
- Performance optimizations
- Automatic update checks via Modrinth
How to use
To build a custom portal: grab the wand (/bp wand), select your origin corners and run /bp setOrigin, select your destination corners and run /bp setDestination, then /bp linkPortals (or /bp linkExternalPortals for a cross-server portal).
Commands:
All commands are under /immersiveportalspaperized, which can also be shortened to /p or /bp.
- /bp reload Reloads the plugin and the config file
- /bp reconnect Reconnects to the proxy if the connection dropped
- /bp wand Gives you the portal selection wand
- /bp setOrigin Sets your current wand selection as the origin position
- /bp setDestination Sets your current wand selection as the destination position
- /bp linkPortals Links your origin and destination selections together
- /bp linkExternalPortals Links your origin selection with a destination selection on another server
- /bp createfromcoords Creates a portal directly from coordinates, without needing a player or wand
- /bp remove Removes the nearest portal within 20 blocks
- /bp removebyname Removes all portals with the given name
- /bp setPortalName Sets the name of the nearest custom portal within 20 blocks
- /bp getportalname Tells you the name of the nearest portal within 20 blocks
- /bp setprice Sets the price of the nearest custom portal
- /bp setpreset Sets the effect preset of the nearest custom portal
- /bp getallowNonPlayerTeleportation Tells you whether the nearest portal allows non-player (item/mob) teleportation
- /bp setAllowNonPlayerTeleportation Sets whether the nearest portal allows non-player (item/mob) teleportation
- /bp setseethroughportal Sets whether you personally can see through portals
- /bp toggleseethroughportal Toggles whether you personally can see through portals
- /bp menu Opens the Portal Admin GUI
Alias:
- /p and /bp Can be used instead of /immersiveportalspaperized
Permissions:
- immersiveportalspaperized.createfromcoords Allows creating portals from coordinates
- immersiveportalspaperized.getname Allows getting portal names
- immersiveportalspaperized.link Allows linking portals
- immersiveportalspaperized.linkexternal Allows creating cross-server portals
- immersiveportalspaperized.remove Allows removing portals
- immersiveportalspaperized.remove.others Allows removing portals you don't own
- immersiveportalspaperized.reload Allows reloading the plugin configuration
- immersiveportalspaperized.reconnect Allows reconnecting to the proxy
- immersiveportalspaperized.select Allows using the selection wand and the admin menu
- immersiveportalspaperized.setname Allows renaming portals and setting their price/preset
- immersiveportalspaperized.setname.others Allows renaming portals you don't own
- immersiveportalspaperized.getallowNonPlayerTeleportation Allows checking if items/mobs can teleport through a portal
- immersiveportalspaperized.setAllowNonPlayerTeleportation Allows toggling item/mob teleportation for a portal
- immersiveportalspaperized.wand Allows using the portal selection wand
- immersiveportalspaperized.user Allows using portals (default: true)
- immersiveportalspaperized.see Allows seeing through portals (default: true)
By default, everyone can walk through and see through portals (.user/.see). Everything related to creating, editing or removing portals defaults to OP.
Dependencies:
- PacketEvents (required, used for packet-based portal rendering)
- Vault (optional, for economy features)
- Multiverse-Core (optional, for world management)
- My_Worlds (optional, for world management)
Configuration:
The plugin configuration file will be generated on first startup at plugins/ImmersivePortalsPaperized/config.yml.
The plugin supports hot-reloading via /bp reload.
For detailed configuration options, including world connections, portal effect presets, proxy settings, and performance tuning, refer to the comments in the generated config.yml.
Have fun :)
评论 0
登录后参与评分
还没有评论,来抢沙发吧