概览
由于许多用户呼吁更新电梯插件,但该插件受版权保护且作者无法联系,我决定从头编写一个新的电梯插件。
使用方法
首先建造你的轿厢。如果你希望在轿厢内设置楼层选择指示牌(见视频),请在轿厢内的某处放置一块告示牌,并在第一行写上[V10lift]。然后使用命令/v10lift create——它会提示你右键点击轿厢的所有方块,请照做。
之后,使用命令v10lift create my new lift,其中my new lift将作为你电梯的名称。
现在你可以开始添加楼层了。为此,请在你想要添加的新楼层高度处站立,并使用v10lift floor add my new floor。如果你希望在不同世界中拥有不同的楼层,你还需要安装V10verlap(最低版本为v0.6)。
如果尚未完成,现在请建造井道。然后将某些方块定义为输入方块。输入方块是指当接收到红石信号时会召唤电梯前往特定楼层的方块。如果你想使用按钮来召唤电梯,请使用按钮背后的方块作为输入方块! 如果你站在电梯应该移动到的楼层,只需使用v10lift input add;否则请使用v10lift input add 楼层名称。
当你完成所有楼层和输入方块的设置后,使用v10lift edit来禁用编辑器。你可以随时通过v10lift edit 电梯名称重新启用它。
输出指示牌
可以通过在第一行放置写有[V10lift]、第二行写有你的电梯名称的告示牌,来显示电梯当前的运行状态。如果你希望告示牌仅在电梯停靠于特定楼层时显示,请在第三行也写上你的楼层名称。
离线输入
自 v0.4.10 版本起,你可以创建离线输入。其创建方式与正常输入相同,只是不需要传递楼层名称。当离线输入被激活时,电梯将进入离线模式,这意味着此时电梯不可用。
命令
V10lift create
创建新电梯(参见使用方法)。
V10lift delete
删除一个电梯。
V10lift abort
中止当前操作。
V10lift whois
查看某个电梯的名称。
V10lift edit
编辑电梯的楼层和输入方块。
V10lift floor add
添加一个新楼层。
V10lift floor del
移除一个楼层。
V10lift floor rename
重命名一个楼层。
V10lift input add
添加一个新的输入方块。
V10lift input del
移除一个输入方块。
V10lift build
编辑已存在电梯的方块结构。
V10lift rope add
添加一条新缆绳。
V10lift rope del
移除一条缆绳。
V10lift door
编辑门方块。
V10lift speed
设置电梯速度。
V10lift realistic
切换真实模式。
V10lift repair
修复一个电梯。
V10lift whitelist
向某个楼层的白名单中添加或移除玩家。如果白名单为空,则该功能处于禁用状态。
V10lift reset
清除所有队列并重新加载配置文件。遇到任何问题请使用此命令,它甚至能修复一些空指针异常!
V10lift help
获取帮助。
更新 V10lift
更新此插件。更多信息请查看此处。
权限节点
v10lift.build
允许建造新电梯。默认对所有玩家开放。
v10lift.repair
允许通过右键点击故障指示牌来修复电梯。默认仅对 OP(管理员)开放。
v10lift.repair.master
允许通过/v10lift repair 电梯名称命令修复电梯。默认仅对 OP(管理员)开放。
v10lift.admin
允许编辑/删除任意电梯,并无需加入白名单即可前往白名单楼层。默认仅对 OP(管理员)开放。
autoupdate.announce
拥有此权限节点的用户将收到新版本更新的通知。默认仅对 OP(管理员)开放。
autoupdate.update.v10lift
拥有此权限节点的用户可以使用 /update 命令更新此插件。默认仅对 OP(管理员)开放。
关于 autoupdate 节点的更多信息,请查看此处。
故障电梯
自v0.2.3 版本起,你可以配置电梯使其发生故障。为此,请将 DefectRate(故障率)设置为大于 0 的值。该数值代表每次移动时电梯发生故障的概率,也就是说,如果你将其设置为 100,电梯将立即因故障而无法再移动。
如何修复
如果你使用了输出指示牌,当电梯发生故障时,其中一个指示牌会显示异常信息。要修复它,拥有lift.repair 权限节点的用户需要在创造模式下,或者手中持有 5 个红石粉的情况下,右键点击该指示牌。所需的物品数量和类型也是可以配置的。
如果你不使用输出指示牌,或者希望维修员能够通过指令修复电梯,他们必须拥有权限节点 v10lift.repair.master。此外,他们的物品栏中还需要有 10 颗钻石。所需数量和物品类型也是可配置的。有关更多信息,请参阅 /v10lift repair。
真实模式
自 v0.3 版本起,你可以为每个电梯 切换真实模式。如果启用了该模式,电梯在楼层停靠后会在关闭门之前等待一小段时间。此外,只要门口仍有实体存在,电梯就不会关门。
自 v0.4.13 版本起,如果在真实模式下,门会在几秒钟后自动关闭。秒数是可以配置的(DoorCloseTime)。
开发者信息
本模组提供了 API。你可以通过插件实例调用 getAPI() 获取它。更多信息请查看 JavaDocs 或包含在 jar 文件中的源代码。
视频
Overview
As many users cry for an update of the elevators plugin but it's copyrighted and the author isn't reachable I decided to write a new elevator plugin from scratch.
How to
First build your lift cabin. If you want to have a floor choosing sign in the cabin (see videos) put a sign with [V10lift] on the first line somewhere in your cabin. Then use the command /v10lift create - It will tell you to rightclick all the blocks of your cabin, so do that.
After that use the command v10lift create my new lift where my new lift will be the name of your lift.
Now you can start adding floors. To do that use v10lift floor add my new floor while you're standing at the height of the new floor. If you want to have different floors at different worlds you need to have V10verlap (min. v0.6), too.
If not already done build the hoistway now. Then define blocks as input blocks. Input blocks are blocks which will call your lift to a specific floor when they receive redstone input. If you want to use a button to call the lift use the block behind the button as input block! If you stand at the floor you want the elevator to move to simply use v10lift input add else use v10lift input add floor name.
When you finished all floors and inputs for your lift use v10lift edit to disable the editor. You can re-enable it at any time with v10lift edit lift name.
Output signs
It is possible to show what you'r lift is doing by placing a sign with [V10lift] on the first line and your lift name on the second. If you want to have a sign which only shows if the lift is at a specific floor put your floor name on the third, too.
Offline inputs
Since v0.4.10 you can create offline inputs. Do that the same way you would create a normal input, expect that you don't have to pass a floor name. While a offline input is powered you lift is in offline mode, which means it is unusable.
Commands
V10lift create
To create a new lift (see how to).
V10lift delete
To delete a elevator.
V10lift abort
To abort your current action.
V10lift whois
To see name of a lift.
V10lift edit
To edit lift floors and input blocks.
V10lift floor add
To add a new floor.
V10lift floor del
To remove a floor.
V10lift floor rename
To rename a floor.
V10lift input add
To add a new input block.
V10lift input del
To remove a input block.
V10lift build
To edit the blocks of an already existing lift.
V10lift rope add
To add a new rope.
V10lift rope del
To remove a rope.
V10lift door
To edit door blocks.
V10lift speed
To set the lift speed.
V10lift realistic
To toggle realistic mode.
V10lift repair
To repair a lift.
V10lift whitelist
To add or remove players to/from the the whitelist of a floor. If the whitelist is empty it is disabled.
V10lift reset
To clear all queues and reload the config file. Use this whenever you have a problem, it can even fix some null pointer exceptions!
V10lift help
To get some help.
Update V10lift
To update this plugin. Have a look here for more information.
Permissions
v10lift.build
To be able to build new lifts. Defaults to all.
v10lift.repair
To repair a lift with a right click at the defective sign. Defaults to op.
v10lift.repair.master
To repair a lift with /v10lift repair lift name Defaults to op.
v10lift.admin
To be able to edit/delete every lift and move to whitelisted floors without beeing on the whitelist. Defaults to op.
autoupdate.announce
Users with this node will be notified about new updates. Defaults to op.
autoupdate.update.v10lift
Users with this node will be able to use /update this plugin. Defaults to op.
for more information about the autoupdate nodes have a look here.
Defective lifts
Since v0.2.3 you can configure your lifts to get defective. To do that set the DefectRate higher than 0. The rate is the chance of the lift to get defective at every move, that means if you set it to 100 your lift won't move anymore cause it gets defective instantly.
How to repair
If you use output signs one of this signs will show something abnormal whenever the lift is defective. To repair it a user with the permissions node lift.repair has to right click on that sign either in creative mode or with 5 pieces of redstone in his hand. The amount and the item is configurable, too.
If you don't use output signs or want your repairers to be able to repair the lifts by command they have to have the permissions node v10lift.repair.master - Also they have to have 10 diamonds in their inventory. The amount and the item is configurable, too. See /v10lift repair for more information.
Realistic mode
Since v0.3 you can toggle the realistic mode for every lift. If the mode is enabled the lift will wait a short time before closing the doors at a floor. Also it doesn't close the door as long as an entity is at the door way.
Since v0.4.13 The door closes automatically after some seconds if in realistic mode. The amount of seconds is configurable (DoorCloseTime).
For devs
There's an API. You can get it with getAPI() at the plugins instance. For more information have a look at the JavaDocs or at the sources, which are included in the jar file.
Videos
下载 V10lift
下载 V10lift
下载 V10lift
下载 V10lift
下载 V10lift
下载 V10lift
下载 V10lift
下载 V10lift
下载 V10lift
下载 V10lift
- 将 AutoUpdate 更新至 v1.3。
- 移除了 API 中的已弃用函数,并添加了 public boolean openDoor(String lift) 和 public boolean closeDoor(String lift)。
- 在真实模式中添加自动关门功能。此更新解决了 工单 #41。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
使床在所有维度中爆炸的模组
插件
为 Armor Poser 模组添加兼容性
插件
SkyBlock、OneBlock、Boxed、SkyGrid、AcidIsland、CaveBlock、Poseidon、StrangerRealms——以及更多!这些只是由 BentoBox 支持的基于岛屿的游戏模式之一。来自原版 ASkyBlock 的作者。
插件
一个高度兼容、功能完善且稳定的 TPA 模组
插件
AbAcc AbAcc 是一款适用于 Minecraft 服务器的管理插件,可简化玩家作弊检测与举报管理工作。工作人员可以发起并管理对可疑玩家的检查流程,并在检查完成后将其释放。
评论 0
登录后参与评分
还没有评论,来抢沙发吧