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.
excuse me? I'm sorry, but I don't understand... :/
I think... you must see this issue on server... you can see what I mean, and.... you know... fix this
@AviciiPL Are the offline input blocks directly connected? If so try to get at least one block in between. So if it's right now like that:
.
#
change it to something like this:
.#x#x#
(# = input block, x = some other (non redstone related) block).
@V10lator
I don't think so.... I use only lever. I create an offline input, and place only lever on it..
For my request 2: seriously not really 3 seconds.... can be eg. 1,5 sec, 2 sec..... or 1min (no. that's a joke xD)
@AviciiPL For your bug: That sounds weird as the elevators aren't connected in any way. Maybe your use a complicated redstone circuit that bugs?
For your first request: No. I can't make everybody happy and if I change this for you the next guy jumps up and says "Change it to XYZ instead...".
Second request: Well, maybe...
Hmmm... Works fine
Information: About Offline Mode: it's have a bug: eg. I want to shut down elevator 2.. prevously I must shut down elevators: first MUST shut down elevator 3, next I must shut down elevator 1, and now I can shut down elevator 2. Next eg. I want to shut down elevator 1, and 2... I can't shut down elevator 3.... input buttons to call doesn't working, but sign in elevator has working (expect this.... elevators works fine :)). This bug you can see on my MineCraft server (because I use your plugins: V10Verlap and V10Lift)
Request 1: Can you change word on signs (when elevators go up) change from "up" to "/\" and (when elevators go down) change from "down" to "\/" (arrows looks better ). And can you add a flashing text "/\" (when elevator go up), and "\/" (when elevators go down)? (mooore realistic)
Request 2: To Realistic Mode: Can you edit: When I click sign (in elevator, left mouse) elevator wait 3 second to close door... When elevator doors are closed, the elevator wait next 3 secs and go up/down? (moooooore realistic)
Thanks for your time to read this post. Have a nice day :)
@AviciiPL For your issue: Please open a ticket and give me the stacktrace when the server crashes. Also tell me not only the version of CB, but also the versions of V10lift and V10verlap you are using.
For your idea: No, that will not be implemented. Don't get me wrong, I like your idea, but that would not only need a large rewrite of the codes, but also reduce performance a lot.
Hi...
I have a problem.... I use V10Lift and V10Verlap...
When elevator is between worlds, the elevator is going 1 block up and 1 block down, 1 block up and 1 block down.... Stopping this is not available (when I use /v10lift restart... server have CRASH)... Can you gelp me? Or fix this?
Thanks... Greetings AviciiPL
P.S. I use CB 1.2.5 R4.0
P.S.2.: I have a suggestion about V10Lift: Can you add a Elevator CounterWeight? Add CounterWeight, and then elevators in minecraft looks like more realistic :D
I'm sorry for my bad english :(
@crazygonuts I lost my crystal ball yesterday, so I can't tell you.
Will it be fixed by 1.3?
@V10lator: I just PMd you concerning your unofficial fixes in Bukkit build. Since they do not seem to fix the problem (V10lift still crashes our server, and badly I'd say -> last night the server went back about 30 minutes in the crash), maybe Bukkit team is right after all. A better way to fix the problem needs to be found.
Meanwhile - is there ANYTHING we could do to simplify our lifts and still keep them running and not crashing our server? Maybe leaving something out from the lifts for now? The problem seems to be related to the signs at the different floors which show where the lift currently is, am I right?
Your plugin is currently the only one we really can and want to use for the elevator purpose. I'd really really hate to be forced to look elsewhere, as all options are worse than yours I think.
Well ain't it sad. V10lator says "crashing the server with this plugin is due to a bug in Bukkit code". Bukkit doesn't seem to recognize the bug.
As it is, we are stuck in a limbo. Can't use the plugin until someone does SOMETHING. This has continued now for 3 months.
Oh well, maybe we do another Bukkit& plugin update and see where we are.
How can you make it so there just 2 buttons in the elevator which you can push which makes it go up and down the floors? instead of specifying what floor?
@crazygonuts The lifts are seperated. Your function would cause massive code rewrites and eventually cause lag. So no: Atm this is not planned.
But nothing stops a 3rd party dev to use the API for that (even if that would probably be slower than rewriting internals - needed would be getQueue and/or getY/getWorld as well as setQueue and/or addToQueue).
Can you make It so that one input button can be used for 2 lifts, but which ever one is closer to that floor will be sent to that floor?
Your API page is missing. Any chance of getting it back up and running again? I was interested in seeing how difficult it'd be to integrate WorldEdit selections with it :)
@Mark897 The rope (you can use almost every block, but fence blocks look the most realistic) is the rope the lift hangs at:
This is optional, so if you don't want it simply don't use it. ;)
Hi, what does the rope do?
This plugin is awesome! i used this and created a "lift" to move the platforms from the launch tubes to the arena in my hunger games map. and in almost all off my maps! keep up the good work!