Lock any container so only you can access it.

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.
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.
Use /function locker:deleting/give_remover and right click any locked container with the given item to remove that lock. You need operator permission to use this!
Item durability is included in the locking system! This means that if you lock an item with x amount of durability, you can only use that item to unlock that container when it has the same amount of durability!
All locked containers are fire proof, creeper and tnt explosion resistant.
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".
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.
Optional
Required
Условия использования, изменения и распространения этого товара.
08.07.2026 · Modrinth
Patch Notes:
- Added support for 26.2.
Скриншоты и изображения из оригинальной страницы Modrinth.


Опубликованные версии и оригинальные файлы Modrinth.
08.07.2026 · 1 090 загрузки
Patch Notes:
- Added support for 26.2.
08.07.2026 · 205 загрузки
Patch Notes:
- Added support for 26.2.
08.07.2026 · 769 загрузки
Patch Notes:
- Added support for 26.1, 26.1.1, and 26.1.2.
08.07.2026 · 80 загрузки
Patch Notes:
- Added support for 26.1, 26.1.1, and 26.1.2.
09.12.2025 · 5 079 загрузки
Patch Notes:
- Added support for 1.21.11.
09.12.2025 · 786 загрузки
Patch Notes:
- Added support for 1.21.11.
07.11.2025 · 1 173 загрузки
Patch Notes:
- Updated the Force Remover item description.
- Force Remover item will now be consumed when used.
07.11.2025 · 151 загрузки
Patch Notes:
- Updated the Force Remover item description.
- Force Remover item will now be consumed when used.
07.11.2025 · 38 загрузки
Patch Notes:
- Add support for all colored shulker boxes.
07.11.2025 · 19 загрузки
Patch Notes:
- Add support for all colored shulker boxes.
23.10.2025 · 676 загрузки
Patch Notes:
- Removed particles above locked containers.
23.10.2025 · 115 загрузки
Patch Notes:
- Removed particles above locked containers.
23.10.2025 · 1 017 загрузки
Patch Notes:
- Added support for 1.21.5 - 1.21.8 for v3.2.0.
- Removed particles above locked containers.
23.10.2025 · 87 загрузки
Patch Notes:
- Added support for 1.21.5 - 1.21.8 for v3.2.0.
- Removed particles above locked containers.
22.10.2025 · 77 загрузки
Patch Notes:
- Added double chest locking support.
- All copper chest variants can now be locked.
- Fixed bug where previously interacted locked chests in close range would unlock when trying to unlocking a different chest lock.
- Fixed bug where previously interacted locked chests in close range would delete when trying to delete a different chest lock.
- Fixed force lock remover not working every time.
- Disabled hopper minecarts that are placed under locked containers.
- Improved overall performance.
22.10.2025 · 58 загрузки
Patch Notes:
- Added double chest locking support.
- All copper chest variants can now be locked.
- Fixed bug where previously interacted locked chests in close range would unlock when trying to unlocking a different chest lock.
- Fixed bug where previously interacted locked chests in close range would delete when trying to delete a different chest lock.
- Fixed force lock remover not working every time.
- Disabled hopper minecarts that are placed under locked containers.
- Improved overall performance.
01.10.2025 · 367 загрузки
Patch Notes:
- Added support for 1.21.9.
01.10.2025 · 106 загрузки
Patch Notes:
- Added support for 1.21.9.
24.09.2025 · 566 загрузки
Patch Notes:
- Fixed the 'Force Remover' item not removing a locked container.
- 'Force Remover' can now be used with both left and right clicks.
24.09.2025 · 81 загрузки
Patch Notes:
- Fixed the 'Force Remover' item not removing a locked container.
- 'Force Remover' can now be used with both left and right clicks.
29.07.2025 · 1 160 загрузки
Patch Notes:
- Fixed creeper still destroying locked containers.
29.07.2025 · 245 загрузки
Patch Notes:
- Fixed creeper still destroying locked containers.
01.07.2025 · 581 загрузки
Patch Notes:
- Added support for 1.21.7.
01.07.2025 · 136 загрузки
Patch Notes:
- Added support for 1.21.7.
28.06.2025 · 57 загрузки
Patch Notes:
- Fixed datapack not showing up in-game.
28.06.2025 · 37 загрузки
Patch Notes:
- Fixed datapack not showing up in-game.
23.06.2025 · 92 загрузки
Patch Notes:
- Added support for 1.21.6.
23.06.2025 · 54 загрузки
Patch Notes:
- Added support for 1.21.6.
14.04.2025 · 1 176 загрузки
Patch Notes
- Added support for 1.21.5.
- Added admin lock removal with /function locker:deleting/give_remover.
14.04.2025 · 244 загрузки
Patch Notes
- Added support for 1.21.5.
- Added admin lock removal with /function locker:deleting/give_remover.
07.04.2025 · 192 загрузки
Patch Notes:
- Leftover locks (interaction entities) are now removed when the container is broken.
16.03.2025 · 1 907 загрузки
Patch Notes:
- Added an uninstall command.
16.03.2025 · 83 загрузки
Patch Notes:
- Added an uninstall command.
01.03.2025 · 73 загрузки
Patch Notes:
- Enchanted items can now also be used as keys.
24.02.2025 · 229 загрузки
Patch Notes:
- Added more security checks.
- Added anti-griefing for locked containers.
- Added lock removal (works only with the correct key).
24.02.2025 · 45 загрузки
Patch Notes:
- Added more security checks.
- Added anti-griefing for locked containers.
- Added lock removal (works only with the correct key).
10.12.2024 · 558 загрузки
Patch Notes:
- Added support for every item to be a key.
- Item Count can now 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".
10.12.2024 · 179 загрузки
Patch Notes:
- Added support for every item to be a key.
- Item Count can now 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".
08.12.2024 · 4 540 загрузки
Patch Notes:
- Added support for 1.21 - 1.21.1.
06.12.2024 · 113 загрузки
Patch Notes:
- Added support 1.21.4.
- Fixed most of the known issues.
06.12.2024 · 80 загрузки
Patch Notes:
- Added support 1.21.4.
- Fixed most of the known issues.
25.05.2024 · 724 загрузки
Added support for 1.20.5+
24.05.2024 · 196 загрузки
Added support for 1.20.5+
30.12.2023 · 1 334 загрузки