Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
Chest Locker

Chest Locker

Lock your containers that only you can access!

6,050
19
Storage
Technology
Utility
AboutGalleryChangelogVersions

Header

Modrinth

Discord Website


📖 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.

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!

⚠️ IMPORTANT NOTE

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!

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".

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Compatibility

Minecraft: Java Edition

1.21.x
1.20.x
1.19.x
1.18.x
1.17.x
1.16.2–1.16.5

Platforms

Data Pack
Fabric
Forge
NeoForge
Quilt

Supported environments

Server-side
Client and server (optional)

Links

Report issues View source Join Discord server
Donate on PayPal

Creators

Vanderflys
Vanderflys Owner

Details

Licensed MIT
Published last year
Updated 22 hours ago

Modrinth is open source.

main@a0bd011

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.