V10lift
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.
There appears to be a performance issue when using the latest version of this mod with Bukkit version 1.2.5, RB3. When a lift is used, lag appears to increase linearly as the lift moves, and the lag ceases when the lift stops.
Also, when adding doors, the mod is no longer able to detect the floor you are on, resulting in not being able to add doors. Just wanted to notify you of this.
i want to select a huge 'lift' (rocket actually) which i want to move to the end, however the 'lift' is too big for me to right-click all the blocks of it.
can you add WorldEdit support? (in which you select a region, then you can build your lift cabin out of all the blocks of the region)
or is there another way to make big cabins?
@Etsija
i had the same problem… then i used version 0.4.3 instead of 0.4.4 and now it works ;-)
I'm sorry to say, but I think V10Lift is once again responsible of crashing our server. You see, the whole plugin was disabled for some weeks. Today, we updated it to 0.4.4 (Bukkit Beta Build R1.3 in use). Two guys started to build an elevator, and one of them was in the process of defining an input button with "/v10lift input...". The other guy pushed a button (trying to use the lift which was in the process of editing).
2012-05-05 19:25:56 [SEVERE] java.lang.NullPointerException 2012-05-05 19:25:56 [SEVERE] at net.minecraft.server.TileEntitySign.d(TileEntitySign.java:38) 2012-05-05 19:25:56 [SEVERE] at net.minecraft.server.PlayerInstance.sendTileEntity(PlayerInstance.java:150) 2012-05-05 19:25:56 [SEVERE] at net.minecraft.server.PlayerInstance.a(PlayerInstance.java:109) 2012-05-05 19:25:56 [SEVERE] at net.minecraft.server.PlayerManager.flush(PlayerManager.java:35) 2012-05-05 19:25:56 [SEVERE] at net.minecraft.server.ServerConfigurationManager.tick(ServerConfigurationManager.java:414) 2012-05-05 19:25:56 [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:552) 2012-05-05 19:25:56 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449) 2012-05-05 19:25:56 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) 2012-05-05 19:25:56 [SEVERE] Unexpected exception java.lang.NullPointerException at net.minecraft.server.TileEntitySign.d(TileEntitySign.java:38) at net.minecraft.server.PlayerInstance.sendTileEntity(PlayerInstance.java:150) at net.minecraft.server.PlayerInstance.a(PlayerInstance.java:109) at net.minecraft.server.PlayerManager.flush(PlayerManager.java:35) at net.minecraft.server.ServerConfigurationManager.tick(ServerConfigurationManager.java:414) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:552) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
Can you add support to set default values in the settings please? :)
Like if I want all my elevators to have speed 3 and realistic mode off by default when I create one.
Also, wouldn't it be better to save elevators in a flat file instead of a binary one for editing them manually? :)
Anyway, a great awesome supertastic superb plugin!
@xMasterPx_123 There is a permission node: v10lift.build - just tell your users that they can build the hoistway and the cabin, but you'll activate the lift.
WorldGuard is really complicated... but maybe some day you'll see support for it...
VERY nice plugin :D Thank you!
But i have one Problem. We are using WorldGuard on our server. It is possible that you add support for it?
Cause anyone can place elevators on protected areas. It would be very nice.
best regards
@Lolseeker Nice that you got it working. Have fun. :)
@V10lator
Ok thanks, didn't notice it was only for blocks. One little problem though, after a few uses the lift just stays open, even after calling the lift with a button or the sign. It's not defective, because I tried /v10lift repair.
It works again after a restart or if you wait a while.
EDIT: Wait, nvm it's because an item blocked it. It's in realistic mode. Thanks for this amazing plugin. Fits great in my skyscraper!
@Lolseeker I see... Doors are currently not supported. I just forgot to add a blacklist. Do the following:
Now the door should work.
@V10lator
I use iron doors, pm'd you my server name
@Lolseeker What material do you use for your doors?
EDIT: Also: Could you give me your server IP (by PM)?
How do the doors work? After I used /v10lift door and set a few doors, they just pop away (and become an item) when my lift passes through : /
@finamenon Sure. What was the IRC server/channel you where on? I'm currently idling at EsperNet int the channels #bukkit #bukkitdev and #minecraft
@V10lator
Someone on IRC managed to fix the issue pretty quickly. If you like we can discuss someone how to replicate the issue, and then I can send you his fix.
I'm receiving the same server crash problems as earlier posters. Looking at the bukkit commit page, I see no updates since like 18 days ago. Is this problem going to be solved by you or them any time soon? It is the only elevator plugin I like D:
It happens without fail when closing the editor.
wooot... when i saw you going to another world with it i wanted it om my server. its now on my server and working good... but how do you get it to change worlds?