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

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

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

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




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

    freman

    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

    Kane

  4. Offline

    Edward Hand

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

    Kane

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

    freman

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

    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

    Jobsti

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

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

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

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

    freman

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

    Darkwizard98

    Error and not loading.
    Code:
    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

    freman

    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

    Darkwizard98

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

    fisherp

    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

    freman

    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

    Weetis

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

    freman

    Updated
     
  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

    freman

    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

    freman

    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

    Fractura

    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
    org.bukkit.plugin.InvalidPluginException
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:80)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:129)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:94)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:59)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    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)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:75)
    ... 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

    freman

    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

    Plasma

    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

    freman

    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

    MeSako

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

    --Edit--
    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

    Pe6yc

    on the second line?
     
  27. Offline

    Ovaldo

    Could this work with pressure plates?
     
  28. Offline

    freman

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

    Ovaldo

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

    Pe6yc

    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

    McAron

Share This Page