- Native Minecraft Version:
- Tested Minecraft Versions:
A simple plugin to lock chests, with a PIN, so that your friends can unlock it with the given PIN. You can also make and use a key to open, close or break the chest without entering PIN every time.
chestlocker.admin : Allows the user to interact with all chests without entering PIN. Given to OPs by default.
When you place a chest this GUI will pop up asking for you to set your PIN. Once you click the green confirm button it'll place the chest and lock it with the PIN you entered. Any time you want to open the chest, this GUI will pop up asking for PIN. Wrong pin will not get submitted.
Creating a key:
The only way to open the locked chest without PIN is a key. Keys can be created using an Anvil and Stick . Right click the anvil and rename the stick to ".yourpin" . If your PIN is 4456 then the name of the key will be .4456
Note: There is a dot(.) before the pin and no spaces in key name.
Once the stick has been renamed to "Dot + Your PIN" it can be used as a key. When the key is in your main hand, interacting with the chest will not trigger the PIN GUI.
To be able break the locked chest you will need to unlock it first. Left click to enter Unlocking GUI. After the chest has been unlocked Left click to break it or Right click to lock it.
This unlock only lets users breaks the chest and collect the items but not access the contents inside with Right click.
A key for PIN 8963
If it has helped you please consider leaving a positive rating .Todo:
1. Add Shulker Box, Trapped Chest and Barrel support