[MECH] Elevators [BukkitDev]

Discussion in 'Archived: Plugin Releases' started by Cybran, Jan 27, 2011.

  1. Offline

    Cybran

    [​IMG]

    The plugin will be continued at dev.bukkit.org!
    Want to help? Sign up as an alpha- or beta-tester!


    What this plugin does:

    It creates vertical moving elevators, which can be controlled by redstone-powered blocks.

    Features (open)

    • 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!

    How to install (open)

    • The server mod:
      Just copy the Elevators.jar into your plugins/ folder. That's it. You can modify the config later (See section Tutorials>Configuration).
    • ???

    FAQ (open)

    • Q: I'm completely new to this plugin! What shall I do?
      A: First, install the mod (see How to install), then you can read the basic tutorials in the tutorial section below.
    • Q: I'm sick of using buttons all the time to control the elevator! I want to include my redstone circuits!
      A: You don't have to use buttons! You can right-click any type of redstone-powered block! The buttons are just the easiest way.
    • Q: I want to build several buttons or other blocks for the SAME floor! How to do it?
      A: Have a look at the "direct" command. It links other blocks to an already existing floor.
    • Q: I try to build a lava door, but the lava is transported with the elevator! How can I let displace the lava by the elevator?
      A: At first, build the elevator like it should be later. Then, use the command /elev lock. Now your elevator will not grab any blocks or fluids placed later on it.
    • Q: Is there a size limitation for the elevator's shape?
      A: Yes. Normally, there is a maximum for the area of 25 blocks. But: you can change this limitation in the config.

    Command usage & Permissions (open)

    [...] = optional parameter. ...|... = select ONE of the values, they all mean the same. <...> = put your own values here.

    /elevators|elevator|elev <command from the list below>

    The basic commands:
    • 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.
    The more advanced ones:
    • 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 nodes:
    • 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.

    Tutorials (open)

    Basic setup:
    • Prepare a shaft – size can be between 1x1 up to 5x5. There has to be air in the whole shaft(means also no ladders and no torches directly on the wall).
    • Build a plain of any block type in your shaft as the elevator’s ground. (I would recommend to use a block type that is not placed anywhere in the shaft again with the same shape.)
    • Stand on the ground while typing /elevator create
    • A new floor and a new “CallBlock” (to call the elevator later) are created simultaneously by first typing /elevator call <Floorname> and then right-clicking on a (already existing!!) button. The elevator will halt 2 stones below this block
    • You have to create Up- and DownBlocks (to control the elevator) on every floor OR (better) inside the elevator. Type /elevator up or /elevator down , then right-click on a button (again the buttons have to be created BEFORE).
    • Create as many floors as you want. Besides: the control-blocks can be up to 2 blocks away from the elevator
    • Now you are ready to use the elevator!
    • If you want to remove floors or control-blocks, simply destroy the blocks.
    • If you want to remove the whole elevator, stand nearby and type /elevator remove.
    Configuration:
    • After the first server startup with the plugin v1.3+, a new file named Configuration.txt is created in plugins\Elevators\
    • Feel free to modify the values in there. But keep to the given format.
    • restart the server (or use /reload command) to apply the changes.
    Enhanced redstone:
    • If you want, you can extend your calling mechanism, per example by using stone plates connected to redstone wire.
    • To make your elevator moving to a specific floor, type /elevator direct <Floorname> and right-click any redstone wire or button or stone plate...
    • You can also use /elev direct WITHOUT the floorname. This will lead to the next floor in range.
    • If you want, you can add a redstone output to the elevator. Build a LEVER near to the elevator, then type /elev redstoneout and right-click the lever. Connect the lever to your circuit with redstone wire.
    Glass doors for your elevator:
    • Type /elev glassdoor [<Floorname>] [direction <DirectionIdentifier>] to start.
    • You can use a DirectionIdentifier (left,right,up,down,splitH,splitV) to set the opening direction manually. left and right are seen from outside the elevator. splitH and splitV will let the door split horizontally or vertically from the center.
    • Now build glass blocks around the elevator or on the elevator. Use any shape you want.
    • Type /elev finish to stop adding blocks as doors.
    • Call the elevator again to the floor where you built the door. Your created door opens.
    • The door is now activated and will open and close automatically. Have fun!
    Elevator protection (advanced builders):
    • every created elevator has an owner. Only the owner can modify the elevator. To change the owner, type "/elev give <newownername>". To enable modification for every player, type "/elev give". This will remove any owner protection.
    • use the optional parameters to create an elevator/floor with protection, p.e. "/elev floor testing floor password ultimatepassword users NTcomputer Notch" would create a new floor named "testing floor" with the password "ultimatepassword", only available for the users NTcomputer and Notch.
    • modify your protection settings with the commands /elev user and /elev password, p.e.: "/elev user testing floor users Admin" will override the previous settings to only allow user Admin the usage.
    • remove protection settings? Very easy: use /elev password or /elev user without any parameters or floorname only to reset the protection.
    • so far the whitelist, but I want to create a blacklist. How to? Like this: "/elev user testing floor users * -griefer" (no, there isn't any space between the minus and the player - damn line break). * means everybody can use it, the "-" before a name indicates you hate this player and don't want to let him destroy your secret room on the testing floor ;)
    • I have set up the protection, but I'm never asked for a password?! This can have several reasons: 1.) You are an operator. 2.) You have the permission elevators.operator 3.) You are the owner of the elevator. Just let somebody else try, he WILL get a prompt. 4.) You are standing near the elevator while another player tries to use it. He/she won't be blocked.

    Known issues (open)

    • It is difficult to move yourself or turn around while moving with an elevator.
    • Don't use doors on an elevator! They will "clone" items.
    • Pressure plates don't work as Up- /DownBlocks directly. Build at least two redstone to them, type the command and right-click the end of the wire.
    • Avoid using up/down in circuits. This will force any selected redstone-block to remain in off-state. (You can use "direct", though!)

    Future Ideas (open)

    • name elevators - v1.4.4
    • signs with current floor - v1.4.5
    • allow any block type for doors - v1.4.5
    • iConomy support - coming in v1.5

    Changelog (server mod) (open)

    • Version 1.4.3 (RB #740)
      >>Download<<
      -implementation of the secret project (not useable yet)
      -fixed the chest duplication bug
      -fixed the powered/detector rail dropping bug
      -enabled plugin usage for subfolder-worlds
      -fixed some other exceptions
    • Version 1.4.2 (RB #670)
      >>Download<<
      -elevators are now stored in the world folders (-> allow backups)
      -items will drop when moved away from a wall
      -added forbidden blocks to config
      -added command abbreviations to config
      -added glassdoor directions
      -added "lock" for cabin blocks
      -prevent block changes while elevator moves
      -added more config options and messages
    • Version 1.4.1 (RB #602)
      >>Download<<
      -cabin blocks are now searched when initiating movement
      ->WorldEdit & Co for cabin blocks supported!
      -Entities are now moved along, even if they are positioned a greater distance above the ground blocks
      -merged direct and extend commands
      -enabled relative glass doors (=doors in the cabin)
      -glass doors are now "grouped" automatically for a more real opening order
      -redstone outputs floor parameter added.
      -ground blocks pending between grass and dirt are not blocking the elevator anymore
      -wheat, cactus and sugar cane item duplication bug fixed
    • Version 1.4 (RB #556)
      -Permissions support added
      -elevator and floor protection added
      ->many new commands and command parameters
      -command to remove glass doors from a specific floor
      -owner system added
      -individual elevator size support
      -fixed some bugs (can't remember which)
    • Version 1.3.1:
      >>Download<<
      -removed TSLPC
      -added go|direct command
      -improved elevator search
      -improved elevator position search (prevention of loosing the ceiling ;-))
      -storing entity positions when initiating moving - hopefully fixes fall-through bugs
      -added info console command to create debugging info files
      -binds glass doors to a command
      -fixed button and redstone bugs
      -improved storage cleanup
    • Version 1.3:
      -added automatically closing glass doors.
      -added configuration.
      -fixed a fault timing.
      -changed the command handler to onCommand in main file.
    • Version 1.2.3:
      -fixed a block checking bug.
      -redstone on the elevator is now working.
    • Version 1.2.2:
      -chests and dispensers are now working.
      -furnaces are now working.
      -adjacent mine tracks are now working.
      -item orientation bugfix.
    • Version 1.2.1:
      -color of wool is now stored.
      -Signs are now working inside the elevator.
      -orientation of levers, buttons, torches etc. is now stored (can still be glitchy, cause multiplayer servers always have problems with that)
      -fixed many bugs for the blocks built on the elevator
      -elevator blocks can be safely removed by iStick, Superpickaxe and others now
      -improved the movement system for liquids (enables lava doors and more!)
      -improved the movement system for all entities (creatures and minecarts will also be transported now)
      -elevator movement is now much smoother
      -improved floor search for up- and down-blocks when the elevator got stuck
      -changed the entire storage system
    • Version 1.2:
      - enabled building on the elevator.
      - created redstone outputs
      - fixed server crashes
      - made compatible to CraftBukkit 289+
      - improved handling of breaked blocks
      - made plugin thread-secure
      -fixed path problems on mac + linux
      - and maybe some others...
    • Version 1.1:
      - made the creation a bit easier.
      - fixed some bugs
      - increased the maximum size to 5x5
    • Version 1.0:
      - Release
     
  2. Offline

    KrazyK9

    i know how to use the elevs cuz it worked befor but them all my plugins stoped working so i redowloaded them all and elevs isn't working.

    Can i get help on this?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 7, 2016
  3. Offline

    sintri

    most mods made for 556 will not work past 561+
     
  4. Offline

    Dreadreaver

    OMG looking eagerly forward to 1.4.1! PLZ hurry with release xD
    What do you mean? Is Elev broken on 556+?

    If so: Cybran plz fix Elev for 556+ as I plan to update sometime soon to 600+ xD
     
  5. Offline

    sintri

    It's nonfunctional for 556+, prior to today, many things don't work, however since 600+ is listed as the recommended now for several other reasons, more people are now updating for it, course still about 1/2 the plugins I use still aren't functional. Also reason enough to always have backup means of transportation, almost like in real life just in case your elevators stop functioning.
     
  6. Offline

    Fekillix

    This plug-in is great!!! I have two elevators on my server. They both work perfectly!

    The main elevator got 3 floors, oddly the glassdoors on the 3rd floor dosn`t work when you use the call button, they only open if you take the elevator up.
     
  7. Offline

    Edfaes

    Awesome!
     
  8. Offline

    svict4

    EPIC plugin :D

    Next, you should make possible to return the lift to a level, or have it return 2-3 blocks up at least, after each use. I do have people with flying mods etc. whom just fly straight up the lift shaft! and because the lift is at that level the glass door is open :/ OR alternately you could make the glassdoor close EVEN when the lift is there - make it delay or something. :cool:

    Just a suggestion is all :)
     
  9. Offline

    Reterg

    Make an elevator cabin with a ceiling. It doesn't just have to be a floor. ;)
     
  10. Offline

    Cybran

    Ok guys, I know there are many things goin' crazy since the newest RB. Please be just patient for another while, I will update the plugin VERY soon.

    Edit: They made major changes to the event systems, totally messing up my right-click functions. The transfers could take longer than I expected.

    Thanks :)
    I can add a parameter where you can set a auto-closing time (p.e. "/elev glassdoor close 20", to close it after 20 seconds.)

    With v1.4.1 the glass door section as well as the block scanning routine is changed completely. Hopefully, this issues will be gone.

    Please have a look at the description (see "features", and "commands" section "Permission nodes") before you ask unnecessary questions.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 7, 2016
  11. Offline

    Dreadreaver

    looking forward to 1.4.1 as this is my favorite plugin xD
    plz hurry ^^ =)
     
  12. Offline

    Kevin Forte

    Will 1.4.1 be for 600+?

    Also, please make it so Redstone Repeaters stay on elevators too :) Thanks :D
     
  13. Offline

    Dreadreaver

    @Kevin Forte
    That should answer your question, right?
     
  14. Offline

    Kevin Forte

    Right. xD
     
  15. Offline

    Flenix

    Any chance you could create some sort of database for elevators to be saved to, so we can then extend the call blocks infintly? I want to use elevators to raise some Missiles out of the ground on my SMP map (which are loaded with TNT, controlled by movecraft and will soon be attacking the enemy..) and I want a control room which has buttons for each of the elevators. Since the current limit is 2 blocks, thats not really possible...
    Also any chance of adding to the config file some custom elevator shapes/sizes? Stargate did it for their portal gates, then we can make round elevators for example :p
     
  16. Offline

    KrazyK9

    Um...
    Do you not see what i posted:

    All it says is "WARNING: Elevators - command analyzation exception."
     
  17. Offline

    rockincolton

    Hi, I was building a elevator and made a few accidents, so I then Deleted the Elevators folder and .jar in the plugins folder and reinstalled a tottaly new .jar , The elevator was still there. How can i delete a elevator? Thx
     
  18. Offline

    confuzzler

    There's a command to do that... At least read the commands next time...
    It's '/elev remove' when you stand on the elevator steps.
     
  19. Offline

    Cybran

    I don't know why this is connected to databases :confused:, but when I finished the feature to give elevators a name, you will be able to link ANY block in ANY distance to ANY elevator :D, by setting a parameter for the elevator name.

    Yes, I saw it, I wrote there are many incompatibilities with the newest RB, I know where this is placed in my code, and there is absolutely NO reason why this could occur, so without any info, I also can't fix it.

    When the server was offline while you deleted the folder and replaced the jar, the elevators ARE deleted. There is no other place where files are saved yet.

    [​IMG]

    Major changes:
    • searching cabin blocks when initiating movement
    • glass doors in the cabin
    • moving players, even when they are a greater distance above
    • RB #602 support!!
    See the changelog for detailed information.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 7, 2016
  20. Offline

    Dreadreaver

    niiiiiiice!

    btw does this still work on cb556? cuz i dont really wanna update to 600 before dynmap is updated ... but if I have to because of this .. i dont know what ill do ;(

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 7, 2016
  21. Offline

    Cybran

    I don't think. The event implementation changed, the necessary events aren't existing in 556. If you keep v1.4 or update to 602 - your choice ;)
     
  22. Offline

    iarspider

    Did you implement "named elevators" in this vesrion?
     
  23. Offline

    Cybran

    No. It is in the future ideas list.
     
  24. Offline

    Flenix

    I thought you'd need a database, but if there is some way of linking Elevator 1 to elevator control block 1 and so on without one then thats great :D Any idea roughly when this will be available?
     
  25. Offline

    rockincolton

    ohhhh... I deleted it while the server was up, then restarted it. Thanks!
     
  26. Offline

    blaize9

    Can someone post the verson for 356?
     
  27. Offline

    Cybran

    I included download links in the changelog where you can download older versions. Only from 1.3.1 up, sorry, I haven't thought about saving the version history before.
     
  28. Offline

    Reterg

    Had to change some of my elevator shafts. The current version (1.4.1) doesn't like the elevator cabin touching the roof of the shaft.
     
  29. Offline

    Hant

    we need a update fpr CB612 ...
    Nothing change, if we call the elevator :-(
     
  30. Offline

    Dreadreaver

    for me its working fine on cb612 .. oO
     
  31. Offline

    Piggysan

    Latest Version
     

Share This Page