[SEC/FIX/MECH] Locker v1.6.0 - Lock your blocks [1.3.2-R1.0]

Discussion in 'Inactive/Unsupported Plugins' started by vildaberper, Mar 23, 2011.

  1. Offline

    vildaberper

    Locker - Lock your blocks
    Version: 1.6.0 - Download
    Source: Github

    Tired of getting your stuff snatched by other players?
    Tired of hiding your chests to prevent that?
    Then this plugin if for you.
    There is simply no way to view a locked chest if it is locked (If the player isnt allowed to).
    The player isnt even able to place a chest beside a locked chest (If the player isnt owner) to make it a doublechest.
    If a player unlocks a block with a password, it will be unlocked for that player until he logs out.

    Locker is exremely fail-proof. If you locked a block it will be safe. No exceptions.
    It keeps track of every locked block, making it impossible to have an invalid locked block in the database.
    If you suspect that any blocks are invalid, against all odds, there is "/locker validate".
    Examples:
    A player cannot destroy the block under a door if he/she doesnt own the door.
    A player cannot place a chest beside a locked chest if he/she doesnt own the chest.
    An explosion cannot destroy a locked block.
    A block is unlocked if it gets destroyed by its owner.
    A chest is locked if its placed beside another locked chest that the player owns.
    A door cannot be opened by redstone and a dispenser cannot be dispensed by redstone(if its not the owner placing it).
    A door cannot be locked on gravel or sand.

    Remember that a door and a doublechest count as two blocks!

    Features:


    Colors:
    Show Spoiler

    Replace # with & !


    [​IMG]

    Commands:
    Permissions:
    Changelog:

     
    Traya1991, KuroSnow and kahlilnc like this.
  2. Offline

    vildaberper

    Great! :D

    Yeah, thats coming, it would be like this:
    /lock g:<group>

    Ill also make a feature to add players to a locked block:
    /lockadd <players> or /lock + <players>

    I dont really get what you mean, but Ill add "<player> tried to interract with one of your locked blocks." and "<player tried to break one of your locked blocks."

    V3 will, use this one in the mean time: https://www.sugarsync.com/pf/D434924_7509600_251592
    It adds /spawnmob <mob> [amount] for OPs. :)
    I made it, but its too simple for its own thread. xD


    Nice idea, Ill add iConomy support!
    Passwords is coming. :D

    Yep, its coming with signs and buttons! :D
     
  3. Offline

    Paul_VB

    thtas pretty much what im taking about! [<player> tried to interact with one of your blocks]. am also saying that you can choose which people u want to ignore! like if u want a mesage if <bob> interacted with ur blcosk, biut u dont care if <joe> interacs with ur blcoks (in case u an joe are woring togeter on a house, and u dont want ur chat being consumed by alert messages).

    and 1 more thing; have a log of all intasnces of someone changing someone elses blocks.

    its like a realtime griefer warning! i currently use big brother, a nother plugin, that logs evrery action any player makes.

    it might be cool if u did this, but if u dont want to, thats fine ( im not ur master :p )

    sorry for the confusion, im not a very good writer
     
  4. Offline

    vildaberper

    Note the "tried". Just add <joe> to the allowed-list! /lock <joe>

    Yep, a log is coming. :)
     
  5. Offline

    Sithnar

    This is the one im waiting for :)
    i have this plugin installed just not using it yet.

    shame the animation still happens on a locked door.
    guessing there is no way round that at all.
     
  6. Offline

    vildaberper

    Ill probably work on it tonight, and the notify-thing. :)

    Nope, the "initial animation" is clent-side, same with placing and removing blocks.
     
  7. Offline

    Sithnar

    Brilliant :)
    aye figured it was client side since if you look at it from another user, the door stays put!
    could you possible add a message?
    You cannot pass through this door.. or something because it does look like a bug.
     
  8. Offline

    vildaberper

    There is a message! xD
    Default is "That <block> is locked.".
    Its even configurable, like every other string! :D
     
  9. Offline

    Sithnar

    hmm i didnt see it when i was messing with it. maybe i need to edit summat.

    will look after next update :)
     
  10. Offline

    Seox

    Dear god mans, I love you.

    This plugin is awesome, and when levers come out, it'll kick even MORE ass.
     
  11. Offline

    vildaberper

    I remember having issues with the message not showing up, try upgrading CB. :)

    Thanks! :D
     
  12. Offline

    eastb3ar

    Actually! You can get access to dispenser's by placing a button under it. (that sucks) :)
     
  13. Offline

    vildaberper

    Ill add redstone block for them, thanks!

    Password support added! :D
     
  14. Offline

    aiden090

    Is there a way to lock signs?
     
  15. Offline

    vildaberper

    Not yet, but its coming with buttons, pressure plates, levers and maybe even paintings. :D
     
  16. Offline

    vildaberper

    Groups in allowed list added! :D

    Fixed! :D
     
  17. Offline

    Sithnar

    Good man :)

    will test it out shortly :)
     
  18. Offline

    vildaberper

    Please reply with the results, I cant test it myself right now! xD
    The only bug I found so far is /lockinfo showing Allowed: [Group,] instead of [Group],
    Nothing serious though.
     
  19. Offline

    freakyy85

    Hi I think I found a bug. When doing /locker info the whole server times out. Here the log:

    2011-04-11 16:02:04 [INFO] DataSourcePool [Locker] grow; id[Locker.2] busy[3] max[20]
    2011-04-11 16:02:41 [INFO] Connection reset
    2011-04-11 16:02:46 [INFO] Read timed out
    2011-04-11 16:02:48 [INFO] Read timed out
    2011-04-11 16:02:50 [INFO] Read timed out
    2011-04-11 16:02:52 [INFO] Read timed out
    2011-04-11 16:02:52 [SEVERE] null
    java.io.IOException: invalid UTF-8 first byte: -4
    at jline.UnixTerminal$ReplayPrefixOneCharInputStream.setInputUTF8(UnixTerminal.java:403)
    at jline.UnixTerminal$ReplayPrefixOneCharInputStream.setInput(UnixTerminal.java:384)
    at jline.UnixTerminal.readVirtualKey(UnixTerminal.java:172)
    at jline.ConsoleReader.readVirtualKey(ConsoleReader.java:1453)
    at jline.ConsoleReader.readBinding(ConsoleReader.java:654)
    at jline.ConsoleReader.readLine(ConsoleReader.java:494)
    at net.minecraft.server.ThreadCommandReader.run(ThreadCommandReader.java:25)
    2011-04-11 16:02:54 [INFO] Connection reset
    2011-04-11 16:02:58 [INFO] Read timed out
    2011-04-11 16:02:58 [INFO] Stopping server
     
  20. Offline

    vildaberper

    Hmm, it shouldnt throw the error message, but it should lock up the server (for a while).
    Ill fix it it the next update. :)
     
  21. Offline

    vReactiionz

    Really quite strange.
    I would really enjoy this plugin but it wont work?
    Im on 677 and in game when I do /lock nothing happens.
    My terminal is saying Locker Enabled but im not getting that error you said is normal?
    Halp?

    Oppps NVM :D
    Turns out another lock plugin was overriding it.
    AWESOME PLUGIN BTW :D

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

    vildaberper

    Great, you solved it! :D

    Many thanks!
     
  23. Offline

    freakyy85

    I have a problem with your plugin. It suddenly starts to say: unable to lock air even though i hit a door. after i restart the server it works again. I wonder if people when this problem arrives, can even open usually locked chests?
     
  24. Offline

    vildaberper

    I guess its a bug in bukkit, are you using the latest RB?
    http://ci.bukkit.org/job/dev-CraftBukkit/677/artifact/target/craftbukkit-0.0.1-SNAPSHOT.jar

    Locker is not the cause of this problem. :)

    Edit: Your chests are safe, when a block is locked it cannot be opened by mistake or by a glitch.
     
  25. Offline

    freakyy85

  26. Offline

    gbear605

    Do you think you could post a mirror? Because the page you link to is a secure page (https) I can't go to it. This does sound like an awesome mod though.
     
  27. Offline

    vildaberper

  28. Offline

    Drageer

    I have a huge area I would like to lock up. I'd love it if you could add support so that we could lock up like an area the way worldedit lets us place blocks in an area. Also i'd love it if glass was supported [I don't think it is] :D
     
  29. Offline

    vildaberper

    Nice idea, Ill add it! :D
     
  30. Offline

    PsychoNecrosis

    Very simple request: Split the commands in the OP into admin and player commands :)
     
  31. Offline

    infeap

    I think it would be pretty awsome if you added so that you could mark a wide area and set a password on it so that noone could destroy any of the blocks inside the marked area except the owner of the blocks and admins.
    that whould be great (Y)
    NICE work with this plugin, keep it up! :)
     

Share This Page