Lift
This plugin is no longer maintained
You can instead take a look at LiftReloaded: https://www.spigotmc.org/resources/liftreloaded.97551
Description
A simple elevator plugin.
Primary features:
- Command free
- No configuration needed (but there if you want it!)
- Database free (Lifts are determined by block arrangements, nothing more)
- Multi floor elevators
- Multi passenger elevators, including mobs and dropped items
- Abstract elevator shaft shapes
- Redstone triggers
- Carpets can now be placed in any elevator floor. No more unsightly glass!
- All rails can now be put in shafts. Minecarts will now go up and down lifts and resume their previous speed upon arrival (this is largely untested, more feedback here is needed!)
Video note: the sign below the button is no longer needed! See the build instructions below for the new method.
More video tutorials - English, Deutsch, Português
How it works
No commands! No save file to worry about! It is easy to add, remove, or change floors. Just place or remove blocks! Lifts are made by scanning block arrangements are not saved or stored in memory after they are used. With the default configuration this is a fast process, less than 20 milliseconds.
Installation
Just drop the plugin in the plugin folder and play! No permissions to set up and the configuration is set up with defaults that will work for most servers. If you use a permission manager you might have to add add the permission "lift" and "lift.change" This is a bug in some managers
Here is the default configuration if you wish to play with the settings or language:
# Note: Smaller values result in less lag. Lift speed less than 0.4 may not work well for non spout servers. maxLiftArea: 16
maxHeight: 256
debug: true
autoPlace: false
preventEntry: false
preventLeave: true
checkFloor: false
liftMobs: true
floorBlocks:
- GLASS
- '*_STAINED_GLASS'
redstone: false
STRING_oneFloor: There is only one floor.
STRING_currentFloor: Current Floor
STRING_dest: §1Dest
STRING_cantEnter: Can't enter elevator in use
STRING_cantLeave: Can't leave elevator in use
baseBlockSpeeds:
IRON_BLOCK: 0.5
- maxLiftArea is the number of connected blocks the lift can be. Larger values will result in a longer start up time when using a lift. Super large values can even freeze your server for a moment.
- maxHeight limits how tall an elevator can be.
- debug prints out extra information that can help me track down errors
- autoPlace will automatically position entities over the center of the base blocks which can prevent them from hitting edges and getting stuck
- preventEntry blocks players from entering moving lift.
- preventLeave blocks players from leaving a moving lift.
- checkFloor prevents glass duping. With it false the plugin will NOT check to make sure all the floors have all the glass blocks filled it, but will have better performance for busy servers.
- redstone can start a lift by using a redstone signal to the block behind the lift button. This can result in some lag on servers with a lot of pulsing redstone signals.
- floorBlocks is a list of valid blocks for the flooring of floors. * is a wildcard. For example, '*_STAINED_GLASS' allows all blocks with '_STAINED_GLASS' as the block name.
- baseBlockSpeeds is a list of blocks you wish to use in the elevator base and how fast they make the lift. Multiple block types can be added. For example:
baseBlockSpeeds: IRON_BLOCK: 0.5 GOLD_BLOCK: 0.75 DIAMOND_BLOCK: 1.0
This example has three different blocks that can be used as a base, with faster lifts being more expensive. Make sure there are two spaces for proper yaml formatting!
Permission
There are two permission nodes. By default both are set to true allowing anyone to use lifts right away:
- "lift" allow players be passengers and use lifts. To not let players use the lift, set lift to false in your permission plugin of choice.
- "lift.change" allow players to change destination floors of any lift. To not allow players to change the floor signs, set lift.change to false in your permission plugin of choice.
I will not be adding permissions to individual lifts. It is not possible with how the code works.
Usage With Default Config
1) Create the bottom floor with iron blocks. An elevator can be as small as 1 block or as big as 15 blocks in any shape. Smaller areas will have less lag. Make sure the lift iron blocks don't touch any other iron in the building the plugin doesn't know the difference!
2) Next create the floor's control panel. On a wall place the following blocks. The signs and buttons must be "over" one of the iron base blocks.
- Required sign, leave blank or put the name of the floor on the first line.
- Button
- Air
- Iron floor block you just placed.
3) Create the elevator shaft. To create a new floor platform use glass blocks instead of iron. Like the first floor over one of the glass blocks create the floor interface.
- Required sign, leave blank or put the name of the floor on the first line.
- Button
- Air
- Glass floor
4) Make sure the shaft is clear of all obstructions except for floor glass, buttons and signs. Torches and vines are also allowed in the elevator shaft.
5) To use your elevator right click the sign above the button to select a destination floor. The sign will automatically add the correct information.
Important Notes
If you find a bug or a feature not working as advertised please report to the ticket page. Bug reports in the comments will (probably) be ignored.
There is a config to adjust max lift area, lift height, lift speed, and a few other options. The defaults are sane and most people wont need to change them.
FAQ
Q: Will you add build permissions?
A: No. Permissions are attached to players. An elevator is created by scanning a chunk for specific blocks in specific places. There is no easy way to stop a player from finishing an elevator without doing expensive, lag-causing calculations. To prevent a player from building an elevator you must prevent them from placing one of the elevator block types (iron block, sign, glass, or button). There are other plugins with this functionality.
Q: What are valid blocks to use inside the shaft?
A: Other than the glass blocks for the lift floors you play places torches, signs (ideal for sensors), buttons, vines, ladders, carpets, redstone, rails, and water.
Q: Will you add economy?
A: No. There are too many variations on how to do this and I want to keep the plugin focused and simple. There are other plugins you can use to add economy. One example is charging for button pressing:
Troubleshooting
For Lift versions < 50
You are getting errors with block X473 like:
1:34:32 [INFO] [Lift] [DEBUG] Starting elevator gen caused by: MXPLRS_Kirill v42 21:34:32 [INFO] ==Unknown Error== 21:34:32 [INFO] Yscan: 64 21:34:32 [INFO] Block: X473 21:34:32 [INFO] Is Valid Block: false 21:34:32 [INFO] Is Base Block: false 21:34:32 [INFO] [Lift] Player elevator generation returned a null object. Please report circumstances that generated this error.
The issue you are having is exceptionally likely to be due to Railcraft's tracking block (visible with the goggles as the tracking aura), you can disable it by setting block.hidden to 0 in Railcraft's config. The default ID of this block is 473.
a l aire super mai ne marche pas sur mon serveur après réouverture du serveur aucun dossier n est générer pour le plugin help mi
My server spam this error:
This is the best Plugin out there! I love it =) thx for making it.
However..
Ppl can die in it =)
when 2 ppl are in the same elevator at the same time.. or a player trolls another player and pushes the button when the friend is on the pad. it creates problem cos now the plugin wants to move both players down or up. and the one who is not in the pad just stays and the other gets stuck when he arrives and can't go anywhere before the other guy has arrived.
JunRall I hardly check the comments. The ticket area is much more reliable to be seen.
Jivaii, no chance
MRCartm0n, not possible.
Could you maybe add an floor under the player? So it not looks like he would fly..
Any chance for a single player version? I've got this for my server, and everyone loves it, but we wanted to know if we could get it for single player since it's so easy to set-up in game
Awesome plugin!
Do you want us to post bugs/requests here or in the Ticket area?
Thanks
Hey you need to update the download link to v9
Very nice Plugin, but how can I make it Redstonepowered technikfischer
If it tries to use a lift, an error will come out. Version is Bukkit1.1-R3 and Lift 8.
2012-02-07 23:21:35 [SEVERE] Could not pass event org.bukkit.event.block.BlockRedstoneEvent to Lift org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1026) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:453) at net.minecraft.server.BlockButton.interact(BlockButton.java:142) at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:292) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:602) at lishid.orebfuscator.hook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:75) at net.minecraft.server.Packet15Place.handle(SourceFile:39) at net.minecraft.server.NetworkManager.b(NetworkManager.java:226) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100) at lishid.orebfuscator.hook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:44) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.GeneratedMethodAccessor88.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1024) ... 14 more Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.entity.CraftPainting cannot be cast to org.bukkit.entity.LivingEntity at net.croxis.plugins.lift.LiftRedstoneListener.onBlockRedstoneChange(LiftRedstoneListener.java:81) ... 18 more
The lift seems to work fine going up, but every time I use it to go down I get stuck at the floor I selected to go to. I cannot move just jitter a whole lot. The only way to move is to leave the server and sign back on. After I log back on the glass blocks representing the floors are no longer there. And on the first floor (the floor with the iron blocks) tells me when I click the button, that I only have one floor, when I originally had 2 or 3 depending on which lift crashes the plugin (or whatnot).
There are no errors. I tried to uninstall and reinstall the plugins, but happens again. Version 7 worked for about 4 days before it happened.
Not sure if this is happening to anyone else, just thought you should know.
Thanks.
Lift has been working great on our server since it started a month ago. One of my favorite plugins for sure. Great work and big thanks! Although a while ago, named floors stopped working. I figured it would come back somehow - but it hasn't. Not sure whats going on. Any pointers/ideas?
This is the most elegant elevator implementation I've seen yet. Awesome job, guys!
I tried making an elevator that goes up only and never comes down, but it doesn't work.. The old bLift can do that..
The reason why i am not adding permissions is because there is no reasonable way to. Lifts are created dynamically why used and are activated by redstone events, not player events.
I know you said you aren't going to add permissions, but why? I only want craftsmen to be able to create them and any user to use them... I don't think I can use this plugin without permissions... Good plugin though!
This plugin works great. Awesome work. I love how smooth the elevator rides and how easy it is to teach other users to use the plugin. I have to say the way it is setup with no commands, all building, genius. More plugins should adapt to this method when possible. Again, great job from me and my users.
I have do all that the person in the video do and its dont work i am playning minecraft 1.1.0 plazzz help fast
Don't think hooks are needed. Just protect the button.
Optional hooks for spout are for features that bukkit does not have, such as movement smoothing.
Hmm... Maybe try hooking into lockette or LWC? That would be awesome :D