ChestLock
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)
Features:
- 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)
- chestlock.free = 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
Commands:
[] 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
Tutorials:
Setup:
To Lock a Chest:
- Place a chest
- Punch it - Now you are the owner and only you can lock/unlock it
- Punch it again - Now the chest is unlocked!
To Lock a Door:
- Target the door and type "/lock" - The item in your hand is set as the key
- Click on the door while holding the 'key' to open the door
Video:
Video by 0zyke
Chests work, doors definately doesnt. Other, didnt trie.
EDIT: You know, actualy even chests dont work properly... terrible..
Any word on the update you mentioned last July? this is a very useful plug-in and we love it. thank you for making it available.
Add chest friend, open other player if owner allow it
@Codisimus
Yay! I've been looking for a good lock plugin and this looks like the one! How's your progress on updating it?
After 2 and a half years without an update, I will be bringing this plugin back to life! Many people have been requesting that I update ChestLock. I am completely rewriting large sections so that there will be no lag. The only downfall is that it won't support old save files. I will also be fixing all current bugs so if you have a bug to report or a new feature to request please create a ticket. Follow me on Twitter for more updates regarding this and other plugin revivals.
Hey there,
Can you make an option for the locked doors close automatically as you pass through them?
Hi there, I love this lock system, but I can only get it to work with doors not chests. If I follow the instructions under Setup above it will not lock the chest? Am I supposed to use another command other than /lock for the chest to work? Thank you.
@Codisimus
I watched the video, congratz! So does this mean you'll be updating the plugin? I want to use it on my faction server, basically donators have a set amount of chests they can lock. (ex: vip: 1, pro:2, etc..) Is this possible?
I am sorry about the lack of updates. I posted an announcement video yesterday regarding the status of this and other plugins of mine. you can watch it at http://youtu.be/p6UOYgXmp4k.
Anyone know of a similar plugin that can lock doors using items? This plugin no longer works.
Any locked items is disowned when server restarts. Why?
I have:
CraftBukkit v1.5.2-R0.2
ChestLock v1.7.1
Vault v1.2.25
can you please update this to 1.5.2
I use 1.4.6 too with this plugin and it works great!
My onliest problem ist that i want to change the complete language to german.
>>> for example:
LockMessage=<blocktype> is now locked
LockMessage=<blocktype> ist nun abgeschlossen
How i can change the english blocktype like chest or door to german Kiste or Tuer? same at:
KeySetMessage=Key to open door set to <itemtype>
KeySetMessage=Schluessel zum öffnen ist nun ein Stueck <itemtype>
How i cant change the english itemtype "dirt" to "dreck"?
Pls change that Settings for better language support :)...
PS: This Plugin is one of the best, because everybody can open a door with the right key, its more realistic like lockette and easier to use :)!
@Codisimus
Its really laggy on 1.4.6 :(
@elitefroggy
Yes, that is exactly how it works.
If you lock the door with an object, can someone else (other than you) open it if they are holding that object?
That would be so cool.
@MadeBySaints
It should still work but I have not tested it in a while.
Does this still work in 1.4.5 R-0.2?
@luxblakr
there has to be a space between the - and the node - securechests.lock
how do i use these nodes? i am new at this, i tried with essentials group manager and on the default i put -securechests.lock but it didnt work, i also tried withbukkitpermissions, same, it showed me that "you dont have permission (securechests.lock)"