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.
@V10lator
hmm... I dont know...
@Trojaner_ Is this the whole error? Cause if it is it don't looks like V10lift is causing it.
I have now an other problem: If i press the Input button, i get this error: 16:07:18 [SEVERE] Unexpected exception java.lang.NullPointerException at net.minecraft.server.TileEntitySign.k(TileEntitySign.java:38) at net.minecraft.server.PlayerInstance.sendTileEntity(PlayerInstance.jav a:181) at net.minecraft.server.PlayerInstance.a(PlayerInstance.java:159) at net.minecraft.server.PlayerManager.flush(PlayerManager.java:34) at net.minecraft.server.ServerConfigurationManager.tick(ServerConfigurat ionManager.java:388) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:538) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
Here is the Ticket: - removed because i fixed it by deleting the lifts.sav (Thanks to v10later)
@Trojaner_ Okay, this is strange.
Could you please open a ticket? Tell me there if you're able to reproduce that bug and if so: how. Also tell me the which version of v10lift you use (I assume 0.2-beta2?) and if you upgraded or installed it the first time. Also attach your lifts.sav and your server.log file.
Thanks.
@V10lator Here is the full error code: http://pastebin.com/00t359My
@ffaen123 Please give me the full stacktrace (there's more after Caused by: java.lang.NullPointerException)
@ffaen123 Im getting the same error @Bukkit #1846 (Last recommended build)
Got a problem, any help?
http://pastebin.com/wre71PDY
@SporeInc That way you would loose the ability to use the block with any kind of redstone source, so no.
@SporeInc What about defining aliases for yourself? Hint: bukkit.yml
Also, could you put in command shortenings? Maybe like "/vlift" or "/lift"
(It becomes a bit tedious to type "/v10lift" over and over again)
Hey, could you, by any chance, make the input blocks able to be buttons? That way, you could put two buttons on one block that do different things.
With 0.2-beta1 this is what I get.
2012-02-08 22:09:32 [SEVERE] Error occurred while enabling V10lift v0.2-beta1 (Is it up to date?): de/V10lator/V10verlap/V10verlap_API java.lang.NoClassDefFoundError: de/V10lator/V10verlap/V10verlap_API at de.V10lator.V10lift.V10lift.onEnable(V10lift.java:53) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:231) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:1057) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:379) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:191) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:174) at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:357) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:344) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:175) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465) Caused by: java.lang.ClassNotFoundException: de.V10lator.V10verlap.V10verlap_API at java.net.URLClassLoader$1.run(URLClassLoader.java:217) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29) at java.lang.ClassLoader.loadClass(ClassLoader.java:321) at java.lang.ClassLoader.loadClass(ClassLoader.java:266) ... 11 more
When I try to use any commands it says "v10lift help" but if I do that command it does the same thing. And I was also wondering if you were going to add buttons to control the elevator up and down a floor. Thanks!
Maybe could you add an option to customize the [v10lift] tag on the sign? Users may not be able to remember to use [v10lift] instead of [lift] or [elev]. If you could add an option in the config maybe like "SignTag: v10lift" that we can change.
@DarkFusioN007 Same as DaveTheAngryJew: Corrupted savefile. Please stop your server with /stop next time (or did it crash?). Anyway, delete the file (plugins/V10lift/lifts.sav).
06:10 PM [SEVERE] java.lang.NullPointerException
06:10 PM [SEVERE] at de.V10lator.V10lift.V10lift.onEnable(V10lift.java:64)
06:10 PM [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:231)
06:10 PM [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:1057)
06:10 PM [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:379)
06:10 PM [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:191)
06:10 PM [SEVERE] at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:174)
06:10 PM [SEVERE] at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:357)
06:10 PM [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:344)
06:10 PM [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:175)
06:10 PM [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408)
06:10 PM [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
get this error ^^ help? thx
@dev7kasper Yes.
@DaveTheAngryJew No, deleting the savefile (plugins/V10lift/lifts.sav).
So the solution is......re-download?