Compatibility
Minecraft: Java Edition
Platforms
Supported environments
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
📖 Description
A secure method to store items and lock them with a key of your choice!
This datapack operates seamlessly in both singleplayer and multiplayer modes.
📦 How to use v3.0.0+
To lock any container, simply look at it and execute the command '/trigger ChestLocker' while holding an item that you've renamed in your main hand. If the container isn't already locked, it will secure it with the key you're holding, making it accessible only with that specific key. Item count can also be part of the key.
Example
You can lock a container with 16x cobblestone
renamed to "My Key 826423"`.
This container can now only be opened when the player holds 16x cobblestone that is renamed to "My Key 826423".
Tutorial
- To open a lock on a container, hold the correct key and right-click the container. The lock on the container is now opened and will lock itself again after 5 seconds or after opening the container, ensuring the safety of the container's items.
- To remove a lock on a container, hold the correct key and left-click the container. The lock on the container is now removed and can now be locked again with
/trigger ChestLocker
.
Extra security
All locked containers are fire proof, creeper and tnt explosion resistant.
📦 How to use v2.1.0+
To lock any container, simply look at it and execute the command '/trigger ChestLocker' while holding an item that you've renamed in your main hand. If the container isn't already locked, it will secure it with the key you're holding, making it accessible only with that specific key. Item count can also be part of the key.
Example
You can lock a container with 16x cobblestone renamed to "Key 826423"
.
This container can now only be opened when the player holds 16x cobblestone that is renamed to "Key 826423".