[MECH] ChestLock v1.1 - Simple locking solution for Chests, Furnaces, and Doors [953]

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

  1. Offline

    Codisimus

    This page will no longer be updated. Please follow this project at the Bukkit Dev Page

    ChestLock - Simple locking solution for Chests, Furnaces, Dispensers, and Doors:
    Version: 1.1 (7/16/2011)
    Supports iConomy, BOSEconomy, Essentials, Permissions
    Download Page

    1.) Create a chest
    2.) Punch it
    • Now you are the owner and the chest is locked!
    3.) Punch it again
    • Now the chest is unlocked!
    To Lock a Door:
    1.) Target the door and type "/lock"
    • The item in your hand is set as the key
    • Users can't open that door unless they have that type of item in their hand
    2.) Target the door and type "/lock" while holding nothing
    • You are set as the owner and the door cannot be locked
    -----------------------------------------------------------------------
    • When a chest is locked noone can open it, (not even the owner)
    • When a chest is unlocked everyone can open it.
    Only the owner can unlock/lock a chest.
    • If a non-owner tries to, they will be told that it doesn't belong to them.
    • If an admin* tries to, they will be told who the owner is.
    • An admin* can however unlock a chest if he is holding dirt (configurable)
    Only the owner and admins* can destroy owned chests
    • In order to disown a chest a player must punch it with dirt (configurable)
    *admins are defined by having the permission node chestlock.admin (or isOp() if Permissions is not installed)

    Features:
    • Simple lock/unlock
    • Lock Chests, Furnaces, Dispensers, and Doors
    • Configure which items unlock/own/disown
    • Add Coowners who can also lock/unlock
    • Add coowner "any" to allow anyone to lock/unlock
    • Make chests/doors unlockable so users can't claim them
    • Set certain keys to open doors.
    • Quick to make (no looking up confusing commands) Just Punch it!
    • Customization of messages
    • Uses iConomy, BOSEconomy or Essentials to charge users money for owning/locking
    • Permissions allow admin abilities
    • MultiWorld support
    Commands:
    • /coowner [Name] - Add [Name] as co-owner of target chest
    • /coowner any - Allow anyone to lock/unlock the target chest
    • /lock - Lock/Unlock target chest
    • /lock - Set item in hand as key to target door
    • /lock never - Make target chest/door unlockable (must be owner first)
    Permission Nodes:
    • chestlock.admin - defines user as an admin
    • chestlock.own
    • chestlock.lock
    • chestlock.unlockable
    • chestlock.coowner
    • chestlock.usekey
    • chestlock.free
    Review by JamesACosten:

    Tutorial By 0zyke:

    Other vid showing many other plugins by me:


    ToDo:
    • Add iron door support
    • Add MySQL support *I give up trying to get this to work. If someone wants to help me I'd appreciate it
    Changelog:
    Old Versions + ChangeLog can be found at Download Page
    Show Spoiler

    Version 1.1 (7/16/2011)
    • Fixed locking chests with /lock
    • Added lock cost
    • Added color support for all customizable messages
    Version 1.0 (6/26/2011)
    • Improved OP options
    • Updated Economy support
    • Added iron door support
    Version 0.9.1 (6/13/2011)
    • Fixed chest unlocking
    • Fixed door locking
    Version 0.9 (6/12/2011)
    • Cleaned up code/fixed errors
    • Added option of save file cleanup
    Version 0.8.4 (6/4/2011)
    • Cleaned up errors and added error messages
    Version 0.8.3 (6/3/2011)
    • Various fixes and code cleanup
    Version 0.8.2 (6/3/2011)
    • Added Essentials econ support
    • Added option of explosion protection
    • Fixed block break throwing errors
    Version 0.8.1 (5/4/2011)
    • Updated to iConomy 5
    • Few various fixes
    Version 0.8 (4/29/2011)
    • Added many permissions nodes
    • Added customization of messages
    • Added iConomy support
    • Added global key for Admins
    Version 0.7 (4/15/2011)
    • Added support for Furnaces, Dispensers, and Doors
    • Fixed coowners
    • Added option for coowner "any" to allow anyone to lock/unlock
    • Added option to make chests/doors unlockable so users can't claim them
    • Added option to set certain keys to open doors.
    • Improved save system (no more erased data)
    • Improved multiworld support
    • Fixed all known bugs
    Version 0.6.3 (4/2/2011)
    • Fixed chests being broken by anyone
    Version 0.6.2 (3/31/2011)
    • Few minor fixes
    • Works with build #612
    Version 0.6.1 (3/31/2011)
    • Added option of setting lock tool to "any"
    Version 0.6 (3/30/2011)
    • Updated to craftbukkit build #602
    Version 0.5 (3/25/2011)
    • Various fixes
    • Sand set as default Admin disown tool
    Version 0.4 (3/24/2011)
    • Fixed double chests
    • Changed admin info to to Air by default (dirt is set to toggle lock)
    Version 0.3 (3/24/2011)
    • Fixed double chests
    • Added disown on break
    • Added config to define tools
    • Added commands for coowners and to toggle lock
    Version 0.2 (3/24/2011)
    • Added disown with dirt
    • Added admin open with dirt
    • Added isOp() if permissions is not present
    Version 0.1 (3/23/2011)
    • Initial Release
     
    migato, GameFreakDude and Sefragus129 like this.
  2. Offline

    Codisimus

    well I just finished fixing PvPReward so now I can work on this.
     
  3. Offline

    Nick_Carriere

  4. Offline

    Codisimus

  5. Offline

    Nick_Carriere

  6. Offline

    Codisimus

    I keep getting unknown host 'nickcarriere.chickenkiller.com' when trying to connect
     
  7. Offline

    Nick_Carriere

    try now. I might have to just give you my ip and the port.
     
  8. Offline

    Codisimus

    still no dice
     
  9. Offline

    Nick_Carriere

    i will pm you my ip.
     
  10. Offline

    Codisimus

    AndyBay likes this.
  11. Offline

    AndyBay

    Now everything is working! YES:D
     
  12. Offline

    Viliasas

    Thanks for the fix. Everything is working as it should :)
     
  13. Offline

    Rashaln

    This seems to have fixed all issues on my server as well. Thank you.
     
  14. Offline

    manyak

    How to prevent players from locking unowned things in another player's region (worldguard) ?
     
  15. Offline

    newyorkdaily

    Great plugin! I absolutely love it. I think it would be cool if you could open and close doors when they are unlocked instead of them having to stay open. Nice work though!
     
  16. Offline

    an0x

    dont work on iron doors by me :/
     
  17. Offline

    Codisimus

    it actually doesn't support iron doors bc you normally cant open them by clicking on them. would you like me to add iron door support?
     
  18. Offline

    an0x

    oh yes please that woukd awesome my server use more iron then wood doors ^^
     
  19. Offline

    Codisimus

    ok instead of the config just saying "lockable doors" it will say "lockable iron doors" and "lockable wood doors". This way you can have one or the other or both. Seems easy enough that I should have it done by later today.
     
  20. Offline

    an0x

    Thanks man big big thx we user a lot of youre plugins at most chestlock and turnstile and button warp youre the man thx you
     
  21. Offline

    newyorkdaily

    Hello, it seems like whenever i restart or stop my server in mcmyadmin not of the chests that are created save and i have reown them all. I dont know if this is a bug in the newest version, i am using craftbukkit #860
     
  22. Offline

    Codisimus

    @newyorkdaily
    When you start the server does it say "saving turned off"?
     
  23. Offline

    d3muellerq

    hi i got a question:
    I want a door, which opens ony, if you pay money. Can i do this with this plugin?

    thx
    and greets dennis
     
  24. Offline

    an0x

    you can use his turnstile plugin fot that one its awesome.
     
    d3muellerq likes this.
  25. Offline

    d3muellerq

    hi,
    thx it works.
    but when i set the price to for example 5, it doesnt work anymore. i have Essentials money.
    what do i have to do?
    thx and greets
    dennis
     
  26. Offline

    DarthBosko

    I'm having the same issue people had earlier in the thread, with Register.jar not being moved to the correct folder. I read the posts, and although they explained it needed to be moved to /mcroot/lib, I have no idea where that folder is. I hope someone can give me a hand, this is a wonderful plugin, and I'd love to have it working without a hitch. Thanks in advance!

    EDIT: Figured it out
     
  27. Offline

    manyak

    Please add the way to DENY locking doors in regions that are not player's (WorldGuard)(/lock never is complicated and very unconvinient for regions that have many doors)!
    And admin features dont work for me btw, for example admin disown tool doesnt disown players' furnaces. Can't disown doors as well.
     
  28. Offline

    GameFreakDude

    This plugin is fantastic, when it works. Randomly, this plugin just stops working for me. Any commands will just display the help page, and any interaction with doors, chests, furnaces and dispensers is vanilla. For the life of me, I can't figure out any reason why it would be doing this. Works fine again after I restart the server. Running #803 (1.6.* is horrible) but I wouldn't think that has anything to do with it.
     
  29. Offline

    hawklan

    Exactly the same problem here.
    First everything is just fine but after some time the plugin stops working (all chests/doors are open, punching has no effect, chat commands just display the help page).
    But I found out that restarting my server is not necessary to fix the problem ... simply logging off and on again with my MC client helps as well!
    So I suppose it is somehow client related and not all connected users will have the Problem at the same time.
    My server is running the current 860 release of bukkit and permissions is not installed.
    It doesn't make any difference wether I am logged in as OP or as normal user.
    Furthermore I have also installed the teleport plugin sortal and there I have exactly the same problem so maby the problem is a core bukkit bug ... not quite sure.
     
  30. Offline

    Fredrikocrafter

    Hello there. I have downloaded the mod but it doesn't seem to work. When I punch a chest it just says you dont have permission to do that. Is it something with permissions cause I really dont understand how that works. Please help!
     
  31. Offline

    GameFreakDude

    You need to assign the correct nodes in permissions, which I hope you know how to do.
     

Share This Page