Inactive [MECH] SignLift v1.22 - Elevators with signs [1.2.5 R1.0] (Permissions)

Discussion in 'Inactive/Unsupported Plugins' started by freman, Jan 30, 2011.

     
  1. Offline

    freman

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    SignLift - Elevators with signs:
    Version: v1.22

    Based on CraftBook's elevator system, SignLift works very much the same way - with two small improvements:
    1. Before transporting you it checks to make sure that you won't warp into a wall
    2. Prevents accidental block placement on transport
    Create signs on top of each other with [Lift up]/[Lift down]/[Lift] on the second line to use.

    Create signs on top of each other with {Lift up}/{Lift down}/{Lift} on the second line to create a private lift

    Example:
    Create a sign on ground level with the second line set to [Lift Down]
    Dig down under that sign (place a block in the top of the hole)
    Create a sign with the second line set to [Lift Up]

    Right click the sign to use



    Features:
    • Customizable strings
    • Safety checks to prevent into wall "lifting"
    • Brick placement prevention
    • First line can be the floor name
    • Hide signs on the back of blocks and use buttons!
    • Private lifts
    • Permissions
    Download SignLift


    Configuration (config.yml)

    Code:
    string:
        lift: LIFT
            - String users will use when placing lifts that go neither up nore down
     
        down:
            lift: LIFT DOWN
            - String users will use when placing lifts that go down
     
            default: Going Down
            - What is messaged to the user when going down
     
            format: Going to %s
            - Message format for going down to a named floor (%s gets replaced with name)
     
        normal:
            open: '['
            - Open for normal lifts
            close: ']'
            - Close for normal lifts
        private:
            open: '{'
            - Open for private lifts
            close: '}'
            - Close for private lifts
        up:
            lift: LIFT UP
            - String users will use when placing lifts that go up
     
            default: Going Up
            - What is messaged to the user when going up
     
            format: Going to %s
            - Message format for going up to a named floor (%s gets replaced with name)
     
        message:
            destroy:
                denied: You don't have permission to destroy that sign lift
                - Message to display when someone attempts to destroy a lift they don't have permission to
            lift:
                denied: You don't have permission to use this lift
                - Message to display when someone attempts to use a lift they don't have permission to
            create:
                denied: You don't have permission to create that sign lift
                - Message to display when someone attempts to create a lift they don't have permission to
     
    check:
        destination:
            paranoid: true
            - true: Uses original algorithm, gaurenteed not transport you into a block
            - false: Uses new one, may end up being partially in a block (never wholely)
    


    Permissions (PermissionsBukkit)

    Code:
    signlift.*:
    - Gives access to all SignLift privileges
    signlift.create.*:
    - Gives access to all SignLift create privileges
    signlift.create.normal:
    - Permits the creation of a normal sign lifts for anyone to use
    signlift.create.private.own:
    - Permits the creation of private sign lifts with the PRIVATE tag
    signlift.create.private.others:
    - Permits the creation of private sign lifts for other users
    signlift.use.normal:
    - Permits the use of any normal sign lift
    signlift.use.private.own:
    - Permits the use of any private sign lift made for this user
    signlift.use.private.others:
    - Permits the use of other users private lifts
    
    If no permissions manager is installed then the default's are that every player can do everything with exception to signlift.use.private.others which only ops can use.


    Changelog:
    Version 1.22
    • Changed the whitespace checks
    • Fixed the parameters error.
    Version 1.21
    • Added more whitespace checks to pervent crashing on empty signs


    Version 1.2
    • Updated for 1.2.3 R0.2
    • Added a whitespace check to pervent crashing on empty signs
    Version 1.1
    • Fixed block placing bug introduced in 1.0
    Version 1.0
    • Private signs are now done by encapsulating the "LIFT UP", "LIFT DOWN" and "LIFT" in {} instead of []
    • Saves owner to disk
    • Delete your configuration file
    Version 0.9
    • Permissions
    • Basic block protection
    • Might be a good idea to delete your config, it won't break but you'll have old unused values
    Version 0.8
    • Introduction of private lifts
    • Updated deprecated code
    Version 0.7
    • Updated build for latest bukkit - Will not work on older builds.
    • Re-factored the entire codebase, buttons will now respond to left clicks as well as right clicks.
    Version 0.6

    • Updated build for latest bukkit - might work on older builds but not too old...
    • Changed the sign seek code on the button will only look for wall signs on the opposite side of the block directly behind the button.
    Version 0.5

    • Made it so you can hide signs on the back of blocks and use buttons
    Version 0.4

    • Add configuration file
    • Make strings used customizable
    • Make it possible to switch to a less paranoid block detection algorithm
    • Cleaned up accidental block place prevention code.
    Version 0.3

    • Added ladders to the list of safe things
    • Fixed rounding issues
    Version 0.2

    • Bug fixes...
    Version 0.1

    • Releasing my awesome plugin




    Support:
    Alcohol makes coding in Java more fun, Caffeine makes it possible to do after a day of coding in other languages at work - both of these habits are expensive - Want to help me feed my addictions and make more, better plugins faster? Consider hitting the button below.
    [IMG]

    This post has been edited 12 times. It was last edited by freman May 1, 2012.
  2.  
  3. Offline

    Th4natos

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  4. Offline

    freman

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  5. Offline

    MinehubGaming

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Does this work for builds 186+?
  6. Offline

    freman

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Probably, feel free to try it and let me know :D
  7. Offline

    Kane

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    is there a way to just use the same style as craftbook so we can transfer over our db?
  8. Offline

    freman

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    the lifts I built have no db, simply right click on any sign with [lift up]/[lift down] and a matching lift at the other end and presto.

    So you shouldn't have to do anything at all to get them working.
  9. Offline

    Kane

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    works flawless thanks!
  10. Offline

    powback

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    a video tutorial would be nice..
  11. Offline

    freman

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Th4natos was kind enough to supply a screenshot and a video in his post here I just haven't gotten around to doing anything with it.
  12. Offline

    Jobsti

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Oh yeah oh yeah ohhh yeaaaah.... THANKS. testing ;)
  13. Offline

    Nate204

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Anyone else got some better instructions?
    I feel confused.
  14. Offline

    Jobsti

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Yeah, works with #238!
    And I don't have to edit my old Lifts from hey0 Craftbook, the still work! I'm so Happy!!
    But the Lifts are not so "smooth" like the old CB's.

    See my old Video, from my early old World:
    http://www.youtube.com/watch?v=dkvKrxUcIL4

    Only make a Sign, Lines:
    1. Name of this Location (optional)
    2. [Lift Up] or [Lift Down]
    3. Name of the "Lift-Location" (optional)

    The Second sign has to be directly/parallel above the other sign.
  15. Offline

    Nate204

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I get this every time I use the signs. They work, but I still get this message~ Odd huh?
  16. Offline

    freman

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    That looks like an issue with the Guardian plugin
  17. Offline

    Kane

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @freman have you given this a try for the latest?
  18. Offline

    freman

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Nope, I generally don't have the time to sit down and test each release - feel free to try it and see if it works, none of my plugins *should* fail catastrophically beyond a debug trace in console so your world *should* be safe if they fail.

    This plugin is however extremely simple, unless there's an update that changes how right click is handled or how signs are read then it shouldn't have an issue.

    Feel free to try it and tell me if it breaks
  19. Offline

    Kane

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Yeah it works I thought it was broken but it must have been me :)
  20. Offline

    Uniltiranyu

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    My lift down signs seem to be broken :(
  21. Offline

    freman

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Try making sure that there's at ample air space around the in front of the sign you want to go to.
    IE:

    {W}{_}{_}{_}
    {W}{S}{_}{_}
    {W}{_}{_}{_}

    {W} - being what ever wall you have
    {S}- being the sign
    {_} - white space/air

    The original plugin this is based off would warp you into solid objects if you wern't careful - this plugin is a good deal more paranoid (to a fault) and won't warp you if it thinks you won't end up in the right place.

    I might re-write that check so that instead of being paranoid it warps you to directly in front of the sign as opposed to just down from your current position.
  22. Offline

    Zero9195

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Ah this Idea is much better than mine >.< I coded my Elevator different with another triggering than signs. If you want to take a look at my source, just ask. I have a protection in it so you don't end up in a wall, too. ;)
  23. Offline

    freman

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Updated.

    There is a slim change if you turn off paranoid destination checking that you might end up partially in a wall (not actually IN the wall but you can walk into it) - but it should make lifting in close quarters easier.
  24. Online

    PatrickFreed

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Could you please make the elevator activatable (new word) with redstone?
  25. Offline

    freman

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Why would you need that? you must be standing in front of the sign to activate it and there is no moving parts...
  26. Offline

    Kane

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    @freman keep up the good work and I think Redstone idea is to make it so you can create a button instead of a big ugly sign lol
  27. Offline

    freman

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Have you tried wiring buttons lately? especially if you're looking for an up/down setup... you couldn't have two buttons on top of each other
    --- merged: Feb 17, 2011 6:37 AM ---
    I have an idea for a change..

    Put the sign on the back of the block the button is on.
    --- merged: Feb 17, 2011 11:57 AM ---
    There you go, you can now conceal signs with buttons - youtube video comming
    --- merged: Feb 17, 2011 12:55 PM ---
    Youtube video is up
  28. Offline

    Kane

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Very cool! Thanks
  29. Offline

    Jobsti

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Thanks for the update, it works! CB#336

    Request:
    Support for umlauts, I've got a german server ;)
    Support for colors.
    Support for colons.

    I want to do this in the future:
    up:
    default: 'Aufwärts'
    lift: '[LIFT UP]'
    format: '&6Etage: &f%s'

    Possible?
  30. Offline

    freman

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I admit I haven't tried any of that, but I can't see why you couldn't put that in the config... Have you tried putting it in the config?
    You might need to try &[ code ] or the simoleon (§) for colors.
  31. Offline

    Jobsti

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I only used &, äöü and :, Error is the console, some different "plugin exceptions...not allowd character..."
    And I tried it with ' ' and without (standard) ' ', but not tested § yet.

Share This Page