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

    Icemat99

    Please please please can you make a for the gate thing when you press the sign the gate will either open or close
    :) But anyway thanks for this one
     
  3. Offline

    Pe6yc

    Icamat, Craftbook is for ya.
     
  4. Offline

    Canadadiablo

    Not sure if anyone has asked yet.

    But is it possible or can you make it so that Buttons require passwords or can be locked? This would require permissions unfortunatly or just LWC compatibility.
     
  5. Offline

    freman

    Try turning off paranoid mode in the options...

    You're welcome
     
  6. Offline

    freman

    Somehow I missed this question...

    I've considered making them private, if a sign has a name on it only that name can use it - but what's to stop someone digging straight down or building straight up...
     
  7. Offline

    Kane

    Not sure if your willing update yet. There was some good critical fixes in the newest bukkit.


    02:13:17 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-593-g90614b9-b588jnks (MC: 1.3)


    Code:
    02:13:17 [SEVERE] BLOCK_RIGHTCLICKED loading SignLift v0.6 (Is it up to date?)
    java.lang.NoSuchFieldError: BLOCK_RIGHTCLICKED
            at au.net.fremnet.bukkit.SignLift.SignLift.onEnable(SignLift.java:97)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:117)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:511)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:216)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:92)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:70)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:202)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:189)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:129)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:244)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    02:13:17 [INFO] Done (0.062s)! For help, type "help" or "?"
     
  8. Offline

    freman

    Waiting for a recommended build release.
     
  9. Offline

    Kane

    booo!!!
     
  10. Offline

    clawdz18

    i just can not get this to work... while in game and use "/plugins" "signLift" shows up.. and i also copied the video and it still just isnt working for me

    (i am on latest build of 29/03/11"
     
  11. Offline

    freman

    Sorry, only the most recent "Recommended Build" is supported. I have almost finished porting to the newer builds, but I'm not ready to release.
     
  12. Offline

    Kane

    /me hugs

    Hello, Just to let you know recommended is now 602 of this post :)

    http://ci.bukkit.org/job/dev-CraftBukkit/
     
  13. Offline

    freman

    I got the email. I'll go home, have some dinner, pour myself a bourbon and upgrade my plugins...

    In totally unrelated news, my good earbuds have given up the ghost, so now I'm sad :'(

    Update is out.

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

    Kane

    @freman I have not tested 612 but assume it should work as long you did not build against craftbukkit lol
     
  15. Offline

    TheShadow777

    have it permission support?
     
  16. Offline

    freman

    No
     
  17. Offline

    TheShadow777

    hm when a player makes a lift sign comes "you dont have the permission" ^^
     
  18. Offline

    freman

    Have you got some sort of region protection? What bukkit build are you on?
     
  19. Offline

    killerbeez

    @TheShadow777
    Are you using Worldguard? That would do it.
     
  20. Offline

    renxwar

    Permissions support when you get the chance?
     
  21. Offline

    freman

    1) I admit to being out of date, but last time I checked there was no uniformed permissions system for bukkit.
    2) It's all good and well to ask for 'permissions support' but how would you envisage permissions working?

    On my server there really aren't permissions, the few people I have are trusted with practically everything (short of give/i), if you feel the need for permissions perhaps you should explain how you think they should work.
     
  22. Offline

    killerbeez

    Code:
    2011-04-08 06:30:30 [SEVERE] Could not pass event PLAYER_INTERACT to SignLift
    java.lang.NullPointerException
        at org.bukkit.craftbukkit.block.CraftBlock.getFace(CraftBlock.java:203)
        at au.net.fremnet.bukkit.SignLift.SignLiftPlayerListener.onPlayerInteract(SignLiftPlayerListener.java:46)
        at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.java:217)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:162)
        at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:64)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:356)
        at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    
    bukkit 617, 0.7
     
  23. Offline

    freman

    Don't know what that is but I can confirm it working in 670
     
  24. Offline

    Incendia

    Does this prevent anyone but the owner of the sign/button from destroying it?
     
  25. Offline

    freman

    Nope.
     
  26. Offline

    Nathan Bowes

    Great plugin, you should add a feature which lets you teleport to a specified floor, so for example, I had 10 floor I could make it teleport from floor 1 to 10.

    Worked out a concept to do this.
    Great plug in, thank you!
     
  27. Using Bukkit #689 (the 1.5_02 one) and Right Clickin Powered or Detectorrails gives me this error:
    Code:
    2011-04-21 16:10:13 [SEVERE] Could not pass event PLAYER_INTERACT to SignLift
    java.lang.NullPointerException
        at org.bukkit.craftbukkit.block.CraftBlock.getState(CraftBlock.java:312)
        at au.net.fremnet.bukkit.SignLift.LiftSign.<init>(LiftSign.java:43)
        at au.net.fremnet.bukkit.SignLift.SignLiftPlayerListener.onPlayerInteract(SignLiftPlayerListener.java:57)
        at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.java:252)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:162)
        at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:207)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:504)
        at net.minecraft.server.Packet15Place.a(SourceFile:57)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:73)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Good news, works with bukkit #695!

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

    Ladsch

    Please change Rightclick to Leftclick cause the Rightclick have the text edit-function for the sign.
    Thanks. :)
     
  29. Offline

    Sweet_Mafia

    Bukkit version #733 is currently the latest recommended version that supports 1.5_01! Please -update- your plugin to support this version asap with the time you need.
     
  30. Offline

    freman

    Funnily enough I don't need to be told to update (or test) my plugins, I just need to find the time and the willpower to do it, I already planned to do it this coming long weekend - people getting impatient, amazingly enough, won't make it happen any faster.
     
  31. Offline

    MrConfig

    What's the permission node to create a lift sign? I myself have '*' as permission and can create lift signs no problem while regular users don't and they get a 'You don't have permission to create a lift sign' when trying to create a new sign. Thanks and great simple plugin!
     

Share This Page