Elevators
Elevators v 2.0
Hey guys, I continued the simple Elevator plugin. Pls note and respect that the originally author is Cybran.
Thank you for making this tutorial 'FleckenBukkit'
Creation:
- Stay on a 2x2 wood area
- Write: /elev create
- Write: /elev call [Name]
- Place a button 2 blocks high near the elevator ground fiel.
- Go upstairs. /elev call [Name]
- Place a button 2 blocks high near the exit.
- Press the button (upstairs)
- Wait until the elevator come up!
Features
- Creating elevators with an individual size (square or rectangle shape).
- Floor-management: define your own floors with their own names, being able to call an elevator on every floor by – per example – pressing a button.
- Movement-triggers: control the elevator with redstone circuits or buttons or any other redstone-powered block!
- Elevator movement-controls: have different buttons for moving the elevator up and down, skip floors by pressing a control button several times.
- Command-queuing: the elevator will move to the different floors one after the other if it gets more than one command at the same time.
- Build on the elevator whatever you want (nearly )
- Use redstone outputs to link the elevator to iron doors or more complex circuits.
- Connect the elevator to your minecart system!
- Use the elevator as something else, like a lava door.
- Build automtically opening/closing glass doors around or on your elevator!
- Protect your elevator with a password or user restriction.
- Permissions support (PEX, Permissions 3.0, bPermissions)
How to install
- Put the .jar in your plugin folder.
- Restart your Server.
- Configure the config.yml file.
- Restart your Server.
- And ready.
- Enjoy the plugin! :)
Commants
Basics
- help|? - shows the commands.
- permission|permissions - shows your current permission level.
- create - creates a new elevator at your current position.
- remove - removes an existing elevator from your current position.
- call|floor <Floorname> - creates a new floor with the given Floorname.
- up - creates a new UpBlock, right-click to select block after command.
- down - creates a new DownBlock, right-click to select block after command.
- go|direct [<Floorname>] - creates a new link to the given floor or the nearest. Toggled by redstone input. Right-click a block.
- redstoneout [<Floorname>] - creates a redstoneoutput, right-click to select the output block after. Has to be a lever.
- glassdoor [<Floorname>] - Type command and place glass blocks. A door will be created to the given floor or the nearest. Use /elev finish to finish * * and disable glass block listener.
- glassremove [<Floorname>] - Removes all glass blocks linked to the given floor or from the cabin when no floor is specified.
- finish - Finishes an action (like glassdoor placement).
- info - creates debugging info file. CONSOLE ONLY.
- lock - locks the cabin blocks to stop updating before every movement.
Advanced
- help|? - shows the commands.
- permission|permissions - shows your current permission level.
- create [password <Password>] [users <Username1> <Username2> <UsernameN>]- creates a new elevator at your current position, optional with * * * password or user whitelist.
- remove - removes an existing elevator from your current position.
- call|floor <Floorname> [password <Password>] [users <Username1> <Username2> <UsernameN>] - creates a new floor with the given Floorname, * optional with password or user whitelist.
- up - creates a new UpBlock, right-click to select block after command.
- down - creates a new DownBlock, right-click to select block after command.
- go|direct [<Floorname>] - creates a new link to the given floor or the nearest. Toggled by redstone input. Right-click a block.
- redstoneout [<Floorname>] - creates a redstoneoutput, right-click to select the output block after. Has to be a lever.
- glassdoor [<Floorname>] [direction <DirectionIdentifier>] - Type command and place glass blocks. A door will be created to the given floor or the * * * * nearest. Use /elev finish to finish and disable glass block listener. You can use a DirectionIdentifier (left,right,up,down,splitH,splitV) to set the * * * * * * opening direction manually.
- glassremove [<Floorname>] - Removes all glass blocks linked to the given floor or from the cabin when no floor is specified.
- finish - Finishes an action (like glassdoor placement).
- info - creates debugging info file. CONSOLE ONLY.
- pw|password [<Floorname>] [password <Password>] - Overrides password protection for the given floor or the whole elevator.
- user [<Floorname>] [users <Username1> <Username2> <UsernameN>] - Overrides user whitelist for the given floor or the whole elevator.
- give [<Username>] - changes the owner of the elevator. Once changed, a reset is not possible.
- lock - locks the cabin blocks to stop updating before every movement.
Permission notes
- elevators.builder - basic permission level, user can set up elevators.
- elevators.advancedbuilder - advanced permission level, user can protect elevators with password / user list.
- elevators.operator - ignores owner, passwords and user restrictions, can modify everything.
- Compatible with PEX, bPermissions and Permissions 3.0!
Update to 1.1-R1 !!!
No errors! :)
@Lockolu
i mean, if u want a roof in ur elevator, u need place the signs like the elevator on my pictures for make it work, thats it.
Also another bug, sometimes the elevator left me trapped and he go up with out me
@WingedSpear
I don't have much time atm, so I can't read the whole text (I'll do it later), but what do you mean with all this signs??
@Lockolu
Hey man nevermind, theres already a roof! xD, look, just add the Up and Down buttons inside the elevator, then put 2 signs above both buttons, and the roof is gonna be part of the elevator =)
like this: -roof- -sign- -sign- -button- -floor-
here some pictures: http://i.imgur.com/mem53.png =Here is my elevator, the signs behind the roof are needed for make the roof go down/up with the entire elevator http://i.imgur.com/PjikB.png =Now here the elevator its in another floor with the same button and roof http://i.imgur.com/vNkc9.png =Here is the same floor as the first picture with out the elevator
now the elevator its perfect =), just remove the huge error for OP's (i has to turn off my OP cuz thats too annoying), one feature for skip floors and if u can, add a feature with music box, like the elevator stop at one lvl and the music box say ''Ding!'' =D
And ya, i speak spanish, so ''Llamar Ascensor'' mean ''Call Elevator''
When comes the custom doors?? Glassdoor sucks at my server :D Need irondoor or something else ;)
@WingedSpear
Will add in the next release! :)
one bug, i made a 6 floors elevator, if i go up to the 2nd floor, the door of the 2nd and 3rd floor its open, =/, plz fix it
Edit: fixed, have to delete the entire elevator and redo it
I suggest u to add one roof to the elevator, with that it gonna be very realistic =)
@GOAE
The "same" to you:
If you have any problems with it; keep it. It's your. I don't want to share it with you.
I'm fixing this error atm, but I have to choose one player who get an error message (if there's one)!
- IP for testing: mcbuild.minecraft.to:25565
Decompiling and examining the source code, it appears the NetworkManager errors are sent to Operators only (Assumed but not verified by the function name "this.plugin.OpWarning"). By the looks of it, it's most likely the "secret project" from the real plugin developer, appears to be a way to synchronize with the client to make the elevators move one pixel at a time, as opposed to one block at a time; it sends packets to start and stop elevator movement. The message indicates that support is being disabled, which I assumed it means it set a flag to no longer try to send data to the client, but instead it just spams it ever time, clearly not fully implemented. Although skimming over the packet code, I don't see any clear reason it is erroring, or any clear way it would know what version the client plugin has. Hope that clears up some of the mystery surrounding it.
@cocoson
I'll do, ok!
not saying delete the project or create a new one if you want some advice i say keep this.
fix it add new stuff to it
give props to the creator
make it your own add stuff u think will help
turn the creators project around and improve it to be something better
@cocoson
I'll delete this project to create a new one... which works!
Added :) ;) :)
dude how could you not give credit to the real plugin developer thats messed up.
@bob645
that plugin v10lift sucks the plugin developer made it to complicated to set up a simple elevator
@bob645
@seanskroht
If you have any problems with it; keep it. It's your. I don't want to share it with you.
I know that there're still errors. The problem is I can't find this errors, because it runs without any errors at my server.
- IP for testing: mcbuild.minecraft.to:25565
@NeoScooch
You have to run it in CB #1597 atm.
@bob645
I think you're being too kind to Lockolu. I smell something very dodgy here. He's taken someone else's plugin and put his name to it and has not actually made any changes whatsoever, despite what is written in the "change log" here.
I'll give you an example:
For the non existent "Version 1.2" that was supposedly compatible with CraftBukkit #1549 he has written:
Version 1.2 (CB #1549)
Yet if you go to the original authors forum here it has the same details for version 1.4.3 (for Craftbukkit 740) which was the version our server was using up until now:
Original thread: http://forums.bukkit.org/threads/inactive-mech-elevators-v1-4-3-740.2584/page-30#post-773030
Version 1.4.3 (RB #740)
Download<<
The original author was Cybran who hasn't been on since July 2, 2011. I find it distasteful that Lockolu has claimed this as his own plugin by stating: "Hey guys, I made a simple Elevator plugin." when in actual fact it has been stolen from Cybran and has not been given any credits at all in the description of this plugin.
Lockolu I won't be supporting this plugin until you acknowledge that it's someone else's work and you stop deceiving everyone into thinking you've made fixes to this plugin when you haven't.
Just FYI. This is most likely a kang from the inactive Elevators project by Cybran. I did a checksum test of contents of both JAR files and there are no changes to any files other than the author name and a couple class files removed. I only bring this up because I was mislead into thinking that this was a continuation of the actual project. I don't mean to discount the work Lockolu is attempting to do (albeit an impossible task without the source code) But just hope I can steer folks who are looking for a real solution to a working active project http://dev.bukkit.org/server-mods/v10lift/ that was stated because the original author of Elevators has been MIA since June last year.
@Lockolu
I can't see how it is possible that you're not getting any "NetworkManager" errors in your server.log.
I have tested this plugin on a freshly created server running CraftBukkit 1597 with only this plugin and PermissionsBukkit plugin installed.
Whenever en elevator is called or used then the following errors appear in server.log:
2012-01-14 10:04:10 [SEVERE] java.lang.ClassCastException: java.util.HashSet cannot be cast to java.util.Map
2012-01-14 10:04:10 [SEVERE] at de.NTcomputer.Elevators.Packet240Elevators.<init>(Packet240Elevators.java:42)
2012-01-14 10:04:10 [SEVERE] at de.NTcomputer.Elevators.NetworkManagerEx.InitPacket(NetworkManagerEx.java:124)
2012-01-14 10:04:10 [SEVERE] at de.NTcomputer.Elevators.NetworkManagerEx.SendClientInit(NetworkManagerEx.java:94)
2012-01-14 10:04:10 [SEVERE] at de.NTcomputer.Elevators.ElevatorsMoveTask.startrun(ElevatorsMoveTask.java:101)
2012-01-14 10:04:10 [SEVERE] at de.NTcomputer.Elevators.Elevators.MoveElevatorCon(Elevators.java:550)
2012-01-14 10:04:10 [SEVERE] at de.NTcomputer.Elevators.ElevatorsBlockListener.onBlockRedstoneChange(ElevatorsBlockListener.java:37)
2012-01-14 10:04:10 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader$38.execute(JavaPluginLoader.java:525)
2012-01-14 10:04:10 [SEVERE] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
2012-01-14 10:04:10 [SEVERE] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
2012-01-14 10:04:10 [SEVERE] at net.minecraft.server.BlockButton.interact(BlockButton.java:142)
2012-01-14 10:04:10 [SEVERE] at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:275)
2012-01-14 10:04:10 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:593)
2012-01-14 10:04:10 [SEVERE] at net.minecraft.server.Packet15Place.a(SourceFile:39)
2012-01-14 10:04:10 [SEVERE] at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
2012-01-14 10:04:10 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93)
2012-01-14 10:04:10 [SEVERE] at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
2012-01-14 10:04:10 [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
2012-01-14 10:04:10 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
2012-01-14 10:04:10 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
2012-01-14 10:04:10 [WARNING] Elevators - NetworkManager - Instance error. Client Mod support is being disabled. Plugin and server network versions are incompatible!
2012-01-14 10:04:12 [SEVERE] java.lang.ClassCastException: java.util.HashSet cannot be cast to java.util.Map
2012-01-14 10:04:12 [SEVERE] at de.NTcomputer.Elevators.Packet240Elevators.<init>(Packet240Elevators.java:42)
2012-01-14 10:04:12 [SEVERE] at de.NTcomputer.Elevators.NetworkManagerEx.InitPacket(NetworkManagerEx.java:124)
2012-01-14 10:04:12 [SEVERE] at de.NTcomputer.Elevators.NetworkManagerEx.SendClientStop(NetworkManagerEx.java:102)
2012-01-14 10:04:12 [SEVERE] at de.NTcomputer.Elevators.ElevatorsMoveTask.run(ElevatorsMoveTask.java:78)
2012-01-14 10:04:12 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
2012-01-14 10:04:12 [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:493)
2012-01-14 10:04:12 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
2012-01-14 10:04:12 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
2012-01-14 10:04:12 [WARNING] Elevators - NetworkManager - Instance error. Client Mod support is being disabled. Plugin and server network versions are incompatible!
I find it extremely impossible to believe that you're not getting these errors at all. Yes, this plugin does indeed work, but it should be able to work without these errors popping up.
Please investigate this issue.
I don't see where I can sumbit a ticket, so I will just post a comment. I started using this plugin yesterday on my server. At first I didn't notice any error messages in the console. I have come to find out that Minecraft have backed up their database within the last 24hrs and I am not sure if any other changes were made on their end. Today I noticed error messages in the console, however, the plugin itself still seems to work without problems. Here are the error messages:
http://pastebin.com/nHih5Sj3
It lists all my plugins being used, I was the only member on the server at the time. If you need any further information, please let me know. Thank you.
@DCB1995
@Poet68
@uhuphi
I don't know what's your problem. I try it at my server (IP: 'mcbuild.minecraft.to') and it works without any errors.