Compatibility
Minecraft: Java Edition
Platforms
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
Simple plugin that allows you to lock your chests. Locked chests cannot be broken, hopped out of, or opened by other players. This mod also makes it so all chests are blast-resistant.
Chest locking can be done in 2 ways: using the /lockchest command or a key. To use the command, do /lockchest add while looking at the chest you wish to log. To use a key, rename an iron or gold nugget to key in an anvil (if the resource pack is installed, it will change the texture to a key), then right click on the chest while holding shift with the key, it will then lock the chest. LOCKING CHESTS WILL ONLY LOCK THEM FOR OTHER PLAYERS, MEANING YOU CAN OPEN THEM WHILE LOCKED. To unlock a chest, simply use the key again on the chest, or do /lockchest remove while looking at the chest.
There is also a trust command, allowing you to trust certain players with access to your chest, without allowing them to break/unlock the chest. To use this, do /trust (player) while looking at the chest. NOTE: The player you are trusting must currently be on the server.
For operators, there is also an inspect command. Performing the /lockinspect command will give you all information about the chest you are looking at, including location, owner, and trusted players.
DISCLAIMER: The resource pack does not add new items to the game; it will change the texture of iron and gold nuggets named key. If the resource pack is not on, the plugin will still function correctly, and iron/gold nuggets named key will still function as keys. Using keys also isn't necessary, it just speeds up the ability to lock chests.