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


    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

    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

    • 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)
    Show Spoiler

        lift: LIFT
            - String users will use when placing lifts that go neither up nore 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)
            open: '['
            - Open for normal lifts
            close: ']'
            - Close for normal lifts
            open: '{'
            - Open for private lifts
            close: '}'
            - Close for private lifts
            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)
                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
                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
                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
            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)
    Show Spoiler

    - Gives access to all SignLift privileges
    - Gives access to all SignLift create privileges
    - Permits the creation of a normal sign lifts for anyone to use
    - Permits the creation of private sign lifts with the PRIVATE tag
    - Permits the creation of private sign lifts for other users
    - Permits the use of any normal sign lift
    - Permits the use of any private sign lift made for this user
    - 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.

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

    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

    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.
  2. Offline


    I'll look at that tomorrow - not sure there's much I can do about that without switching out of the built in config management, might have to check with the bukkit devs.
  3. Offline


  4. Offline

    Edward Hand

    My fault. They work in perfect harmony now [​IMG]
  5. Offline


    Thanks good sir. I love both plugins and would hate to pick and choose hehe :)
  6. Offline


    hehe, best kind of bugs, the ones that aren't mine :D
    --- merged: Feb 18, 2011 12:55 PM ---

    I've managed to get it to accept your "Special Characters" (not my words hehe)

    What you need to do is save the file as utf-8, the way I achieved this was to
    1. open up config.yml in notepad++
    2. remove all the special characters from the file,
    3. save the file
    4. go to the Encoding menu
    5. select Encode in UTF-8 without BOM
    6. re-add any special characters, including any color codes using §
    7. save
    (on second thought I probably could have used Encoding/Convert to UTF-8 without BOM, then saved)

    This file should be properly read by the plugin.
  7. Offline


    Your original file was ANSI. Ok I'm testing.

    Your post is too detailed
    "save as UTF8 -BOM" had been sufficient ;)

    It works (Colors and ÄÖÜ), much thanks!

    : isn't working, console Error: "mapping values are not allowed here!......"
  8. Offline


    with : you might need to wrap ' and ' around your string
  9. Offline


    Error and not loading.
    2011-02-19 21:04:55 [WARNING] Using the stupidly long constructor com.bukkit.freman.SignLift.SignLift(PluginLoader, Server, PluginDescriptionFile, File, File, ClassLoader) is no longer recommended. Go nag the plugin author of SignLift to remove it! (Nothing is broken, we just like to keep code clean.)
  10. Offline


    That's only a warning - shouldn't stop it from loading... I'll look into it (this place needs a dev news feed or rss feed or something)
  11. Offline


    its not just your plugin none of my plugin's work.
  12. Offline


    Can you please check your plugin against some of the newer builds? The server I play on has checked his arrangement on a few and none of them let this your plugin work
  13. Offline


    I was using it on Saturdays build... I haven't tried a build since Sunday - had other things to do. I will look at it tonight hopefully
  14. Offline


    Awesome, this plugin is really good for creative or economy servers.
  15. Offline


  16. Offline

    Soul Reaper

    very easy elevator system, I like it :)

    Can you add Groupmanager/Permission support so users are limited to which signs they can access? Maybe different sign labels can be used by different groups or something.
  17. Offline


    I don't think so, no.
    If I added any form of permissions it would be to restrict who can create sign lifts, and who can use them (globally)
    It would not be very practical to restrict who could and couldn't use sign lifts outside of the person that created the sign (which I could do quite easily by appending their name to the last line)
  18. Offline

    Soul Reaper

    If you restrict to user how about doing something similar to MyHome and letting them decide who else gets to use it? or allow admin to set up an allowed name list?
  19. Offline


    this isn't MyHome, it has no database, no text file of co-ordinates - and I have no intention of making it so.
  20. Offline

    Soul Reaper

    alright :/
  21. Offline


    First of all, I really like the plugin :) doing its job quite well.
    But I have to say you need to update it again :/
    (Using Craftbukkit Build #480 (01.03.2011 10:52:23))
    Error message (open)
    2011-03-01 14:11:31 [SEVERE] Could not load plugins\SignLift.jar in plugins: null
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(
    at net.minecraft.server.MinecraftServer.e(
    at net.minecraft.server.MinecraftServer.a(
    at net.minecraft.server.MinecraftServer.d(
    Caused by: java.lang.NoSuchMethodException: com.bukkit.freman.SignLift.SignLift.<init>()
    at java.lang.Class.getConstructor0(Unknown Source)
    at java.lang.Class.getConstructor(Unknown Source)
    ... 8 more

    Edit: The error might be that onplayer-commands changed somehow, I haven't looked in any *.jars yet but I read that on other plugin sites.
  22. Offline


    Nope, plugin has no call for on player commands - this error is saying "java.lang.NoSuchMethodException" so either my plugin is calling something that doesn't exist... or bukkit is calling something in my plugin that doesn't exist - either way I'll look on the weekend
  23. Offline


    The Plugin is super awesome, so good for using in scafolding, for when your building.

    Btw, can you link me to the plugin that gives you the map on your screen? (mini-map)

    Thanks :)
  24. Offline


    Seems to be working fine here, build 495 - try re-downloading perhaps you got a corrupt jar?
    --- merged: Mar 5, 2011 6:49 AM ---
    It's in my sig...
  25. Offline


    I just downloaded this plugin.. and I can't get it to work..
    Any other plugin I download from here have been working flawlessly, But this one dosnt do anything at all..

    Never mind, I got it to work.. I had to use Capital letters in the command on the sign, like this: [LIFT UP]

    When I typed [Lift up] or [Lift Up] it did not work..
  26. Offline


    on the second line?
  27. Offline


    Could this work with pressure plates?
  28. Offline


    Thought about that... There's the problem of landing on the plate at the other sign after being lifted
  29. Offline


    Ah true... I didn't think of that, unless it was made for going to the very bottom/top floors?
  30. Offline


    I've got a problem...
    Lifts dont work properly.
    I dont know how to describe it..
    they only work at certain positions on the block you stand...approximately at edges
  31. Offline


Share This Page