ChestLock Safes

Version 1.7.1

NOTE: This plugin requires you have Vault enabled on your server

This is a very quick and easy way to protect your Chests. No commands needed (except for advanced features)

  • 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.
  • 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 while holding dirt (configurable)
  • admins are defined by having the permission node chestlock.admin (or isOp() if PermissionsEx is not installed)


  • Supports all major Economies and Permission Plugins thanks to Vault
  • You can customize what command this plugin uses by editing the plugin.yml (found inside the plugin jar file)
  • MultiWorld support
  • Configurable properties
  • Custom messages
  • Simple lock/unlock
  • Quick to claim (no looking up confusing commands) Just Punch it!
  • Lock Chests, Furnaces, Dispensers, Iron Doors, Wood Doors, Trap Doors, and Fence Gates
  • Limit the amount of Chests/Furnaces/Dispensers/Doors Players can lock
  • Configure which items unlock/own/disown
  • In game tool list (/lock list tools)
  • Add CoOwners who can also lock/unlock
  • CoOwners can be a specific Player or a specific Permissions Group
  • Make chests/doors unlockable so users can't claim them
  • Doors can be locked so they can only be open using a specific key
  • Hold an item and click on a Locked door to try to use that item as a key
  • Players who do not log in to the server in a set amount of days will have their chests automatically disowned (optional)

Permission Nodes:

  • chestlock.lock = Needed to own/lock/unlock a chest/furnace/dispenser/door (/lock)
  • chestlock.usekey = Needed to open a locked door
  • chestlock.list.chests = Needed to list how many chests/furnaces/dispensers you own and their locations (/lock list chests)
  • chestlock.list.doors = Needed to list how many doors you own and their keys and locations (/lock list doors)
  • chestlock.list.owner = Needed to see who the owner and CoOwners are of the target chest/furnace/dispenser/door (/lock list owner)
  • chestlock.list.clear = Needed to disown all of your chests/furnaces/dispensers/doors (/lock list clear)
  • chestlock.coowner = Needed to add a CoOwner to your chest/furnace/dispenser (/lock coowner)
  • = Lock chests/furnaces/dispensers free of charge
  • chestlock.admin = Needed to access other Players' chests/furnaces/dispensers/doors
  • chestlock.limit.[type].[x] = limit the number of blocks a player can own (largest number is taken if player has more than 1 node)
  • type = chest, furnace, dispencer, or door
  • x = -1(no limit) or a number 0 through 100
  • ex.
  • chestlock.limit.chest.-1 = can own any number of chests
  • chestlock.limit.furnace.23 = can own up to 23 furnaces
  • chestlock.limit.dispencer.0 = cannot own any dispensers
  • chestlock.limit.door.100 = can own up to 100 doors


[] indicates a required field.

  • /lock - Locks the target door with the specified Item. You then must use that type of item to open the Door. If you are not holding anything then the target Door will be set as unlockable
  • /lock never - Sets the target Chest/Furnace/Dispenser as unlockable
  • /lock coowner group add [Name] - Adds the specified Group as a Co-Owner of the target Door/Chest/Furnace/Dispenser
  • /lock coowner group removes [Name] - Removes the specified Group as a Co-Owner of the target Door/Chest/Furnace/Dispenser
  • /lock coowner player add [Name] - Adds the specified Player as a Co-Owner of the target Door/Chest/Furnace/Dispenser
  • /lock coowner player add [Name] - Adds the specified Player as a Co-Owner of the target Door/Chest/Furnace/Dispenser
  • /lock list tools - Lists all of the ChestLock tools that you may use to Own/Lock/etc. Chests, Furnaces, and Dispensers
  • /lock list door - Lists all of the Doors that you own
  • /lock list chest - Lists all of the Chests that you own
  • /lock list chest - Lists all of the Furnaces that you own
  • /lock list chest - Lists all of the Dispensers that you own
  • /lock list owner - Lists the Owner and Co-Owners of the target Door/Chest/Furnace/Dispenser
  • /lock list clear - Disowns all of your Doors, Chests, Furnaces, and Dispensers



To Lock a Chest:

  1. Place a chest
  2. Punch it - Now you are the owner and only you can lock/unlock it
  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
  2. Click on the door while holding the 'key' to open the door


Video by 0zyke

Use Custom Command Instead of /lock

GitHub | Source | Other Plugins

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of user_926029 user_926029 Dec 30, 2011 at 20:31 UTC - 0 likes

    And now suddenly only the admin can "own" boxes. Wtf's with this ;s?

  • Avatar of user_926029 user_926029 Dec 30, 2011 at 20:08 UTC - 0 likes

    Guess this was a mystery..

  • Avatar of user_926029 user_926029 Dec 30, 2011 at 19:24 UTC - 0 likes

    Well, I haven't added any nodes, (I guess you're talking about permissions, not really clear about everything yet) so how could that be affecting it? Or am I wrong on it?

  • Avatar of Codisimus Codisimus Dec 30, 2011 at 19:13 UTC - 0 likes

    @user_926029: Go

    you will not be charged if you have the '' node

    Donate - To keep these plugins coming
    FOLLOW ME ON twitter - For Update information and early access to new versions

  • Avatar of user_926029 user_926029 Dec 30, 2011 at 19:07 UTC - 0 likes

    How does the "CostToOwn" setting work?.. I have vault and iconomy installed and I've changed the CostToOwn to 10 but I'm never funded more than 0 dollar..

    Help please

  • Avatar of mrsagency mrsagency Dec 30, 2011 at 09:59 UTC - 0 likes

    I have fixed the thing, forget to install Vault :P sry

  • Avatar of mrsagency mrsagency Dec 30, 2011 at 09:17 UTC - 0 likes

    Big problem, I can't install the plugin, the bukkit console appear this:

    [SEVERE] Could not load 'plugins\ChestLock.jar' in folder 'plugins': Vault

    org.bukkit.plugin.UnknownDependencyException: Vault




    And many many more @_@

    Pls help me, I will give you the infomation you need.

  • Avatar of Next0r Next0r Dec 17, 2011 at 16:39 UTC - 0 likes


    Thank you very much!

    Works great :)

  • Avatar of Codisimus Codisimus Dec 17, 2011 at 04:34 UTC - 0 likes

    @Next0r: Go

    I fixed this in 1.4.6 but keep in mind that the correct commands are:

    • /lock never true
    • /lock never false
  • Avatar of Next0r Next0r Dec 16, 2011 at 23:03 UTC - 0 likes

    22:54:43 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'lock' in plugin ChestLock v1.4.5 at org.bukkit.command.PluginCommand.execute( at org.bukkit.command.SimpleCommandMap.dispatch( at org.bukkit.craftbukkit.CraftServer.dispatchCommand( at net.minecraft.server.NetServerHandler.handleCommand( at at net.minecraft.server.NetServerHandler.a( at net.minecraft.server.Packet3Chat.a( at net.minecraft.server.NetworkManager.b( at net.minecraft.server.NetServerHandler.a( at net.minecraft.server.NetworkListenThread.a(SourceFile:108) at net.minecraft.server.MinecraftServer.w( at at Caused by: java.lang.ArrayIndexOutOfBoundsException: 1 at com.codisimus.plugins.chestlock.listeners.CommandListener.onCommand( at org.bukkit.command.PluginCommand.execute( ... 12 more

    I can lock chests, doors, but when I'm trying to use any command for example: /lock never im getting this error.

Why do you prefer ChestLock over other Chest protection plugins

  1. Choices:

  1. Results
  2. 1 comment


Date created
Oct 02, 2011
Last update
Mar 30, 2012
Development stage
GNU General Public License version 3 (GPLv3)
Curse link
Recent files
  • R: v1.7.1 for CB 1.2.4-R1.0 Mar 30, 2012
  • R: v1.7.0 for CB 1.2.4-R1.0 Mar 29, 2012
  • R: v1.6.6 for CB 1.1-R6 Mar 03, 2012
  • R: v1.6.5 for CB 1.1-R6 Mar 02, 2012
  • R: v1.6.4 for CB 1.1-R6 Mar 02, 2012