Chest lock
If you hate it that people search in your chest and steal your stuff this is a plugin made for it.
NOTE: If you have a double chest you have to lock both sides, I will be working on this. Doors will be included, I have no clue in which version but they will be there.
Instead of /chest you can do: /cl, /furnace,/hopper and /door
Command | Description |
---|---|
/chest lock | This locks the [chest,furnace,hopper], only you can access it. |
/chest unlock | This unlocks the [chest,furnace,hopper], only you can unlock it. |
/chest info | Shows you the information of this [chest,furnace,hopper] |
/chest public | This will make the [chest,furnace,hopper] public |
/chest private | This will make the [chest,furnace,hopper] private |
/chest give NAME | This will give the [chest,furnace,hopper] to NAME. |
/chest admin open | Opens a locked [chest,furnace,hopper] if you are op. |
/chest admin override | This will set the [chest,furnace,hopper] owner to you. |
/chest admin reload | This will reload the config.yml. (for when you edited config.yml) |
/chest friend add NAME | Adds NAME to the friend list. |
/chest friend remove NAME | Removes NAME from the friend list. |
Todo
FriendsV1.2- Permissions (Partially done, it is on the admin commands, chestlock.admin and chestlock.all)
Make it able to lock furnaces and hoppers- Doors
Admin access to a locked chestV1.1Config.ymlV1.3Customize able messagesV1.5Admin command to reloadV1.5
- Auto-updater
Minecraft 1.7.2 versionV1.4- Some fixes
- Burning furnaces aren't protected
Hopper 'disable'V1.3Damage correctionV1.4Friend accessV1.4Making a [chest,furnace,hopper] public/privateV1.5
Checkout the default config.yml here
If you find any bug or have an idea to improve this plugin let me know, you can do it by making a ticket, posting a comment or private chat.
Current version: V1.5 (waiting approval)
Great plugin! Been using it for a week so far with no huge issues.
The only problem I've found is if someone(Player A) has a locked single chest on it's own, and another player(Player B) places a locked chest next to that one, turning it into a double chest, Player B gains access to Player A's items in the chest that theirs connected to. Easily avoidable by always using double chests, but also means if the chest is shared with a friend, you have to remember to share both sides of the chest.
Furnace and hopper locking would be a nice addition if possible.
In the in-game help (/cl) you have '/cl friend add NAME' twice. Obviously you intended to have '/cl friend remove NAME' instead. Thought you would like to know.
On a separate note it would be nice to have a command that listed friends, I would prefer to see a command that listed the owner AND friends maybe something like /cl info.
By the way, I LOVE having a chest protection plugin that does not require ugly signs and is easy to use. Thank You
Maybe include doors, furnace, etc..... Just an idea. :)
@Dad_Yoshi
I will consider this for the next release. If anyone has idea's like this tell me.
@Mysticforce12345
If you look at the config it says that damage = 10, which is damage in hearts. Change this to like 2 and they won't die that quick.
if players try to access these chests they die when they even try its kinda buggy with greif prevention.
How about locking doors?
@Mysticforce12345
I think it is, but I really have no clue. This plugin is a plugin depending on nothing and it is on it's own. You could try it out, if you do please let me know if you encounter any problems.
will this plugin be compatible with greif prevention?
@Inuyasha86000
I just finished it, I have no way of testing this. So please if you find any bug or glitch tell me as quick as you can. I will upload it, you just have to wait for bukkit to approve it.
I can't wait to try this out on my server, but I have to wait for 1.7.2 version, I DO like the features this plugin has.
@CarolinaFlower
I could make it for the next version yea, I also need to do permissions but I have no experience with it.Due to the fact that I have to change a big part of the code and have to change the structure I will not make this.Is it also possible to set it that only OP's can lock things?
@arthur1472
Ahh thanks for the info.
@Kane_Hart
It is a flat file. Named chests.yml.
Is this NBT data or a flatfile?