PluginLift

让插件服也能有自己的垂直电梯 Enable vertical elevators for plugin servers

15 downloads
1 followers

PluginLift电梯插件

插件简介

PluginLift 是一款适用于 Paper 1.21.11 的电梯插件。它提供 2×2 轿厢、双格电梯门、楼层显示器、呼梯面板和集选式调度,并使用自定义模型呈现完整的电梯外观。

主要功能

  • 固定 2×2 内部空间的电梯轿厢。
  • 每层配备两格宽、两格高的电梯门和门顶楼层显示器。
  • 呼梯面板通过组件连接器与对应楼层站连接。
  • 上行与下行呼梯请求分别排队,电梯优先处理当前运行方向上的请求。
  • 轿厢内可打开楼层选择菜单。
  • 电梯门检测门口玩家,在关闭过程中遇到阻挡时保持开启或重新打开。
  • 使用实体承载层移动乘客,不修改玩家的速度、重力或飞行状态。
  • 支持四个朝向的楼层站、呼梯面板和电梯布局。
  • 自动保存楼层站、呼梯面板和已组装电梯。

插件物品

物品 用途
楼层站套件 在地面上放置楼层站、电梯门和楼层显示器。
呼梯面板 在地面上放置呼梯面板。
组件连接器 依次选择楼层站和呼梯面板并建立连接。
竖井同步器 将同一竖井内对齐的楼层站组装为一部电梯。
楼层设置器 设置楼层编号、楼层描述和到站提示音。

建造电梯

  1. 管理员执行 /pluginlift give all 获取全部插件物品。
  2. 使用楼层站套件在各楼层放置楼层站。所有楼层站必须位于相同的 X/Z 位置、保持相同朝向,并留出畅通的 2×2 竖井空间。
  3. 在每层放置呼梯面板。
  4. 手持组件连接器,依次右键楼层站和对应的呼梯面板。两者顺序可以互换,连接距离不得超过 16 格。
  5. 使用楼层设置器右键楼层站,并在聊天栏输入 楼层编号 | 楼层描述 | 提示音开/关
  6. 每个楼层编号必须唯一。设置完成后,使用竖井同步器右键任意楼层站组装电梯。
  7. 点击呼梯面板上半部分登记上行呼梯,点击下半部分登记下行呼梯。
  8. 进入轿厢后右键内部区域,打开楼层选择菜单并选择目的楼层。

最高楼层不能登记上行呼梯,最低楼层不能登记下行呼梯。

命令

命令 说明
/pluginlift help 显示插件命令帮助。
/pluginlift give <station|panel|connector|sync|config|all> [数量] 获取指定插件物品。
/pluginlift list 查看已组装的电梯。
/pluginlift resourcepack 重新发送资源包。
/pluginlift delete <ID> 删除指定电梯并保留楼层站。
/pluginlift respawn 重新生成插件显示实体。
/pluginlift reload 重新载入插件配置和数据。

Overview

PluginLift is an elevator plugin for Paper 1.21.11. It provides a 2×2 cabin, two-block-wide elevator doors, floor displays, hall-call panels, and collective call scheduling, presented with a complete set of custom models.

Main Features

  • Elevator cabins with a fixed 2×2 interior.
  • Two-block-wide, two-block-high elevator doors and an overhead floor display at every landing.
  • Hall-call panels connected to their floor stations with the component connector.
  • Separate up and down call queues, with requests in the current travel direction served first.
  • An in-cabin floor selection menu.
  • Doorway player detection that holds or reopens doors when the entrance is occupied.
  • An entity-based carrier floor that moves passengers without changing player velocity, gravity, or flight state.
  • Floor stations, hall-call panels, and elevator layouts that support all four horizontal directions.
  • Automatic storage of floor stations, hall-call panels, and assembled elevators.

Plugin Items

Item Purpose
Floor Station Kit Places a floor station, elevator doors, and floor display on the ground.
Hall-Call Panel Places a hall-call panel on the ground.
Component Connector Selects a floor station and hall-call panel to connect them.
Shaft Synchronizer Assembles aligned floor stations in the same shaft into one elevator.
Floor Configurator Sets the floor number, floor description, and arrival chime.

Building an Elevator

  1. Run /pluginlift give all as an administrator to obtain all plugin items.
  2. Use the Floor Station Kit to place a station at every floor. All stations must share the same X/Z position and facing, with a clear 2×2 shaft behind the doors.
  3. Place a Hall-Call Panel at every floor.
  4. Hold the Component Connector and right-click the floor station and its hall-call panel. Either selection order works, and the maximum connection distance is 16 blocks.
  5. Right-click each station with the Floor Configurator and enter floor number | floor description | chime on/off in chat. The accepted chime values are 开/关 or on/off.
  6. Every floor number must be unique. After configuration, right-click any station with the Shaft Synchronizer to assemble the elevator.
  7. Click the upper half of a hall-call panel to register an up call, or the lower half to register a down call.
  8. Enter the cabin and right-click its interior to open the floor selection menu and choose a destination.

The top floor cannot register an up call, and the bottom floor cannot register a down call.

Commands

Command Description
/pluginlift help Displays command help.
/pluginlift give <station|panel|connector|sync|config|all> [amount] Gives the selected plugin item.
/pluginlift list Lists assembled elevators.
/pluginlift resourcepack Sends the resource pack again.
/pluginlift delete <ID> Deletes an elevator while keeping its floor stations.
/pluginlift respawn Respawns the plugin's display entities.
/pluginlift reload Reloads the plugin configuration and stored data.

No gallery available for this project.