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

    Buckethead

    how do u create personal/private lifts
     
  3. Offline

    freman

    Yes the ability to disable private entirely, and to use the {} to mark private instead of [] are coming as soon as my personal life gives me the free time to do something with it.

    You should probably avoid doing that for now as it's going to change soon.
     
    Kane likes this.
  4. Offline

    Buckethead

    ok?
     
  5. Offline

    freman

    In my next update making a lift private will be done by {lift up} and {lift down} instead of adding [private] to the last line.
     
  6. Offline

    Raz0r.

    Urm, i have now started running permissions, but the lift functions won't work. I've configured the config.yml to my liking (the structures there, edited the [LIFT] etc.). But it won't send us to the second floor when right clicking the buttons. What may be my problem?
     
  7. Offline

    laguser

    Private lift is not working correctly.. I have given my group this permission signlift.use.private.others but they still cannot use my the private lift
     
  8. Offline

    Buckethead

    that id for othrers private lift take the .others part out
     
  9. Offline

    freman

    The others privilege is there to give moderators and administrators the ability to use other peoples lifts - giving any person or group this permission means they can use ANY private lift not just yours.

    There is no way to implement *shared* private lifts with this plugin

    * sigh * This is why I didn't want to implement privileges.

    It doesn't matter what you're doing now because when I release the next version you are probably going to have to throw out your configs and permissions anyway.
     
  10. Offline

    Trollkemada

    @freeman I just found a bug :S

    This is it: The restore-block thing when click a sign, can be used to repair tools :S

    Steps to reproduce:
    1- Break some tool.
    2- Keep your hand with nothing where there was the tool
    3- click an elevator
    4- There you have your tool fixed D:

    I hope you can fix that.
     
  11. Offline

    Darq

    @freman It seems permissions don't work correclty when you use PermessionsEX. Groups can only use the signs when I give them the signlift.* node. Meh, no big deal, I don't care about them being able to use private lifts.

    Do you think it'd be possible for you to give me a link to download 0.7, though?
     
  12. Offline

    freman

    Not a bug I can fix at no time do I access what is in your hand beyond checking to see if it currently contains a brick so that the blockPlace event can be cancelled

    Quite possibly... I only tested with the 'recommended' permissions setup.

    http://dl.dropbox.com/u/46756/Bukkit/SignLift/SignLift.0.7.b.jar

    I think I will make it possible to turn both private lifts and permissions off
     
  13. Offline

    Darq

    @freman Thank you Sir! However that link is 404'ing
     
  14. Offline

    freman

    Darq likes this.
  15. Offline

    Trollkemada

    Okey, thanks, plz let me know when you figure out something
     
  16. Offline

    Darq

    @Trollkemada He most likely won't figure anything out, because it's not a bug that's involved with SignLift directly. It could be another plugin of yours.
     
  17. Offline

    Trollkemada

    @Darq@frman Sorry, i just tested with Signlife 0.9, and there's no bug. You're right, guys, i'll try to figure out which plugins is it.
     
  18. Offline

    freman

    Updated to work around privates
    Sorry but you will need to delete your configuration file
    You will also need to smash and place every single private sign you have with the new style.
     
  19. Offline

    Chosen

    I have this problem with v1.0 - Lift work but console spam
    (in 0.9 is ok)

    //sry for english

    Code:
    2011-09-04 04:01:11 [SEVERE] au.net.fremnet.bukkit.SignLift.NotASignLiftException
    2011-09-04 04:01:11 [SEVERE]     at au.net.fremnet.bukkit.SignLift.LiftSign.<init>(LiftSign.java:135)
    2011-09-04 04:01:11 [SEVERE]     at au.net.fremnet.bukkit.SignLift.LiftSign.<init>(LiftSign.java:112)
    2011-09-04 04:01:11 [SEVERE]     at au.net.fremnet.bukkit.SignLift.SignLiftBlockListener.onBlockBreak(SignLiftBlockListener.java:42)
    2011-09-04 04:01:11 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader$37.execute(JavaPluginLoader.java:497)
    2011-09-04 04:01:11 [SEVERE]     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    2011-09-04 04:01:11 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
    2011-09-04 04:01:11 [SEVERE]     at net.minecraft.server.ItemInWorldManager.c(ItemInWorldManager.java:157)
    2011-09-04 04:01:11 [SEVERE]     at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:121)
    2011-09-04 04:01:11 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:481)
    2011-09-04 04:01:11 [SEVERE]     at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:140)
    2011-09-04 04:01:11 [SEVERE]     at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
    2011-09-04 04:01:11 [SEVERE]     at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    2011-09-04 04:01:11 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
    2011-09-04 04:01:11 [SEVERE]     at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:478)
    2011-09-04 04:01:11 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    2011-09-04 04:01:11 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:465)
    2011-09-04 04:01:11 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    2011-09-04 04:01:11 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-09-04 04:01:13 [SEVERE] au.net.fremnet.bukkit.SignLift.NotASignLiftException
    2011-09-04 04:01:13 [SEVERE]     at au.net.fremnet.bukkit.SignLift.LiftSign.<init>(LiftSign.java:135)
    2011-09-04 04:01:13 [SEVERE]     at au.net.fremnet.bukkit.SignLift.LiftSign.<init>(LiftSign.java:112)
    2011-09-04 04:01:13 [SEVERE]     at au.net.fremnet.bukkit.SignLift.SignLiftBlockListener.onBlockBreak(SignLiftBlockListener.java:42)
    2011-09-04 04:01:13 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader$37.execute(JavaPluginLoader.java:497)
    2011-09-04 04:01:13 [SEVERE]     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    2011-09-04 04:01:13 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
    2011-09-04 04:01:13 [SEVERE]     at net.minecraft.server.ItemInWorldManager.c(ItemInWorldManager.java:157)
    2011-09-04 04:01:13 [SEVERE]     at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:121)
    2011-09-04 04:01:13 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:481)
    2011-09-04 04:01:13 [SEVERE]     at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:140)
    2011-09-04 04:01:13 [SEVERE]     at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
    2011-09-04 04:01:13 [SEVERE]     at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    2011-09-04 04:01:13 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
    2011-09-04 04:01:13 [SEVERE]     at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:478)
    2011-09-04 04:01:13 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    2011-09-04 04:01:13 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:465)
    2011-09-04 04:01:13 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    2011-09-04 04:01:13 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  20. Offline

    freman

    My apologies - I must have missed a try {} catch in the new code - it will work fine, just noisy. I'll fix it tonight.
     
  21. Offline

    Buckethead

    lots of eerros. this happens everytime i make and destroy a sign. i can use the signs and they are in proper format. actually now this is happening at random intervals. plz help!
     

    Attached Files:

  22. Offline

    Expatcat

    As soon as I put the plugin in and reload the server, I get spammed with errors, such as:
    Code:
    08:41:41 [SEVERE] au.net.fremnet.bukkit.SignLift.NotASignLiftException
    08:41:41 [SEVERE]     at au.net.fremnet.bukkit.SignLift.LiftSign.<init>(LiftSign.java:117)
    08:41:41 [SEVERE]     at au.net.fremnet.bukkit.SignLift.LiftSign.<init>(LiftSign.java:112)
    08:41:41 [SEVERE]     at au.net.fremnet.bukkit.SignLift.SignLiftBlockListener.onBlockBreak(SignLiftBlockListener.java:42)
    08:41:41 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader$37.execute(JavaPluginLoader.java:497)
    08:41:41 [SEVERE]     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    08:41:41 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
    08:41:41 [SEVERE]     at net.minecraft.server.ItemInWorldManager.c(ItemInWorldManager.java:157)
    08:41:41 [SEVERE]     at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:121)
    08:41:41 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:481)
    08:41:41 [SEVERE]     at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
    08:41:41 [SEVERE]     at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    08:41:41 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
    08:41:41 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    08:41:41 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
    08:41:41 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
    08:41:41 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    My plugins are listed in my signature. What's going wrong?
     
  23. Offline

    freman

    It's just a bug, didn't get to look at it last night, tonight hopefully, shouldn't take much to fix.
     
  24. Offline

    Stephen304

    I get the same error as other proplr whenever I break any block (dirt, torches etc.) and also none of my lifts work anymore. Nothing happens when I right click them. No errors either.
     
  25. Offline

    Buckethead

    u mean like i said?
     
  26. Offline

    freman

    Fixed, if your signs still aren't lifting make sure you delete/fix your config

    Up/Down no longer need the [] around them

    lift: [LIFT UP]
    becomes
    lift: LIFT UP
     
  27. Offline

    jazzman170

    Hello, i started using this mod and now whenever i destroy any block in the game i get an error in console. Nothing seems to be effected but i always squash any and all spam i find. I removed this signs plugin and checked to be sure, so im 100% positive im only getting this spam from this plugin ^^ so what does it mean? this in server:

    HERE IS WHERE I LOGGED IN (shortly after)
    02:57:06 [INFO] [Spout] Successfully authenticated jazzman170's Spoutcraft clien
    t. Running client version: 102

    AND HERE IS SPAM FROM DESTROYING ANY BLOCK (i chose a sand block in this case )

    02:57:16 [SEVERE] au.net.fremnet.bukkit.SignLift.NotASignLiftException
    02:57:16 [SEVERE] at au.net.fremnet.bukkit.SignLift.LiftSign.<init>(LiftSi
    gn.java:117)
    02:57:16 [SEVERE] at au.net.fremnet.bukkit.SignLift.LiftSign.<init>(LiftSi
    gn.java:112)
    02:57:16 [SEVERE] at au.net.fremnet.bukkit.SignLift.SignLiftBlockListener.
    onBlockBreak(SignLiftBlockListener.java:42)
    02:57:16 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader$37.execute(Ja
    vaPluginLoader.java:497)
    02:57:16 [SEVERE] at org.bukkit.plugin.RegisteredListener.callEvent(Regist
    eredListener.java:58)
    02:57:16 [SEVERE] at org.bukkit.plugin.SimplePluginManager.callEvent(Simpl
    ePluginManager.java:338)
    02:57:16 [SEVERE] at net.minecraft.server.ItemInWorldManager.c(ItemInWorld
    Manager.java:157)
    02:57:16 [SEVERE] at net.minecraft.server.ItemInWorldManager.a(ItemInWorld
    Manager.java:121)
    02:57:16 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:481)
    02:57:16 [SEVERE] at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetSe
    rverHandler.java:140)
    02:57:16 [SEVERE] at net.minecraft.server.Packet14BlockDig.a(SourceFile:42
    )
    02:57:16 [SEVERE] at net.minecraft.server.NetworkManager.b(NetworkManager.
    java:226)
    02:57:16 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:89)
    02:57:16 [SEVERE] at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetSe
    rverHandler.java:478)
    02:57:16 [SEVERE] at net.minecraft.server.NetworkListenThread.a(SourceFile
    :105)
    02:57:16 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServe
    r.java:454)
    02:57:16 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:363)
    02:57:16 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:422)
    >
     
  28. Offline

    freman

    It means you need to update, see the post before your post...
     
  29. Offline

    jazzman170

    lol wow sorry, it was 4am here and i wouldnt have normally missed that post :p
     
  30. Offline

    freman

    That's ok, it's testing at 4 am that cause bugs like this to get missed
     
  31. Offline

    Rintiny2k

    any chance we can remove the default "going up/down" message, everytime I start the server it resets the "default:" setting if blank or removed.
     

Share This Page