传送门
适用于 Paper 服务器的自定义传送门。使用任意方块搭建框架,点燃它,然后穿过传送门到达服务器上的任何世界:下界、末地、资源世界,或者由插件为你创建的世界。
原版传送门使用黑曜石作为框架,并前往原版设定的目的地。Portals 允许你选择框架材质、尺寸限制、点火物品以及目标地点。每种传送门类型对应一个小型 YAML 配置文件。
工作原理
你在配置文件中描述一种传送门类型:包括框架方块、内部填充物、点火物品和目标世界。玩家在游戏中的搭建框架后,使用你选择的物品进行点燃。配置文件的名称即为该传送门的 ID。
功能特性
- 支持任意框架材质:圆石、石砖、石英等,符合你的建筑需求
- 支持任意尺寸,并可设置最小和最大尺寸限制
- 支持任意点火物品:打火石、火药棒或自定义钥匙
- 支持任意目的地:下界、末地、资源世界,或由插件即时创建的世界(
World.Create: true)
- 在目的地自动构建返回传送门
- 实体和掉落物也会通过传送门,并支持可选的形态转换(例如,牛走进下界传送门后会变成僵尸猪灵之类的效果)
/portals reload 命令可在不重启服务器的情况下应用配置更改
- 提供图形界面浏览器,让玩家查看现有传送门列表
与其他插件的兼容性
Portals 从服务器读取世界列表,因此无论你是否使用其他世界管理插件,它都能正常运行。自 1.1.0 版本起,传送门可以为其指向的目标世界自动创建该世界(包含独立的种子和游戏规则),因此你无需专门的世界管理插件即可为传送门提供目的地。
此外,它与 WorldGuard、WorldEdit、Vault、BentoBox、空岛类插件以及自定义物品插件也能良好兼容。
运行要求
安装设置
- 将 jar 文件放入
plugins 文件夹并重启服务器。
- 编辑位于
plugins/Portals/Portals/ 目录下的传送门配置文件。
- 搭建框架并点燃它。
Portals
Custom portals for Paper servers. Build a frame out of whatever block you
want, light it, and step through to any world on your server: the nether, the
end, a resource world, or a dimension the plugin creates for you.
Vanilla portals take obsidian and go where vanilla sends them. Portals lets
you pick the frame material, the size limits, the ignition item, and the
destination. Each portal type is one small YAML file.
How it works
You describe a portal type in a config file: the frame block, the inside
material, the ignition item, the destination world. Players build the frame in
game and light it with the item you chose. The config file's name is the
portal's id.
What it does
- Any frame material: cobblestone, stone bricks, quartz, whatever fits the build
- Any size, with minimum and maximum limits you set
- Any ignition item: flint and steel, a fire charge, or a custom key
- Any destination: nether, end, resource worlds, or a world the plugin creates on the spot (
World.Create: true)
- Return portals built automatically at the destination
- Mobs and dropped items travel through too, with optional transformation (cows stepping into a nether portal becoming zombified piglins, that kind of thing)
/portals reload applies config changes without a restart
- A GUI browser so players can see which portals exist
Getting along with other plugins
Portals reads the world list from the server, so it works alongside whatever
manages your worlds, or nothing at all. Since 1.1.0 a portal can create the
world it points at, with its own seed and gamerules, so you don't need a
world manager just to have somewhere for the portal to go.
It also plays fine with WorldGuard, WorldEdit, Vault, BentoBox, skyblock
plugins, and custom item plugins.
Requirements
- Paper (or Spigot) 26.2 or newer
- Java 25 or newer
- ProtocolLib
Setup
- Drop the jar in your
plugins folder and restart the server.
- Edit the portal configs under
plugins/Portals/Portals/.
- Build a frame and light it.
评论 0
登录后参与评分
还没有评论,来抢沙发吧