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
@Codisimus Jeah I know how your plugin works thats not the problem.. The problem was/is: I used your latest version of Chestlock. (1.4.1) After installing it on my server, nothing really works. Only the "hit a chest an lock it" function was useable. So if a player hit a chest, he becomes the owner of the chest and locked it. Thats fine and well done but the funcion /lock for a door or chest does not work.. You could lock you door with a specific key like a diamond sword etc. But this function was not useable in the version 1.3 till 1.4.1 so I installed 1.2.2 and now It works o_o really don't know whats up with my server and your plugin :/ But thanks for the video ;)
Updated to the newest verision, now the plugin wont even load:
http://pastebin.com/XAF4CkNd
FYI
@killerrabbit
my mistake, I am fixing it now. The decrease in size is normal because I got rid of the Register Source and instead Vault is used.
Can't lock anything anymore with the last updated, and its 50% smaller in size as well, everything as it should, or am I doing it wrong? All other versions I have been able to get to work one way or another so
@RamTamSpecial
I don't understand what the issue is. if you watch this video http://www.youtube.com/watch?v=u6LONscHjDw&list=UUIcgY3s1AgjhV6qAlNsVukw&feature=plcp it has a part that shows how ChestLock works.
@Codisimus okay wth that is really weird o_O You plugin now start working a little bit.. If a user hit a Chest without holding any Item, he becomes the owner of the chest ._. I looked inside of the chestlocksave file and it was full of these lock and unlock information :O
Edit: Okay ehrm it is right that you have to unlock a chest before your're able to unlock it? I'ive installed now the older version 1.2.2 and everythink works fine o_O I'm able to lock doors and if I hit a chest it is unlock and I have to push it again to get access to the chest ...
@CrashNT
@TTlabambaTT
@TTlabambaTT
try version 1.4.2
@Royalgamer06
what happens?
@RamTamSpecial
not sure what the problem would be, maybe I could try it out on your server, and this should work for any 1.0.0 build and also 1337
@CrashNT
use the AdminDisownTool to disown someone elses Chest. in the config you will see " AdminDisownTool=sand" so try sand unless you changed that to something else. Once it is disowned, you can destroy the block.
@CrashNT
I have to test PEX bc a lot of ppl are having issues with it
@TTlabambaTT
thats my problem too! ever since I installed PermissionsEX... :( Seems like I d/l one plugin to get another to work, but breaks a plugin in the process... sigh.
So for which Craftbukkit Build is your plugin?
everything working beautifully. Only one issue you may be able to help me with? I can't delete other members placed dispensers/chests/ect. I am the op on the server and im confused. It should delete shouldn't it? Am I missing a command somewhere in there?
@Codisimus Yes it appears in the list. I use Simple Chest lock and you ChestLock plugin.. but I don't think the problem is because of the other one..
@Spydio
put it in the plugins folder and run your server as you usually would. You should see "ChestLock enabled"
How do you install? I put it in the same folder as my server and I clicked it and it came up with:
Failed to load Main-Class manifest attribute from C:/Users/Admin/Desktop/Minecraft Server1.0.0/ChestLock.jar
@killerrabbit
Ok I fixed this and changed the coowner commands to:
Edit: This is for version 1.4.1
Codisimus, no - have not even used it on doors. I have used this plugin for a long time, but only ever been interested in the chest locking part!
@TTlabambaTT
I'll have to test this but it won't be till at least tomorrow that I'll get a chance to
@RamTamSpecial
if you type "/pl" does ChestLock appear in the list of plugins?
@killerrabbit
just to clarify, you aren't trying to add coowners to a door right? I'll try to add specific error messages.
unfortunatly eventhough im an op with the permission chestlock.admin: true it doesnt allow me to access locked chests with a peice of dirt in my hand or without it also says couldnt pass player interact to chestlock
Nope still the same problem o_o Am I have to enable any function or something like this? I use bPermissions and I can't use the command /lock.. still nothing happens ._. Has the Plugin any compatible problems with other plugins?