
Chest Locker
Lock any container so only you can access it.
About this Mod

📖 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!
Extra security
All locked containers are fire proof, creeper and tnt explosion resistant.
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".
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.
Available Versions
How to Install Chest Locker on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set datapack Loader
In the panel under "Egg", select the datapack loader and matching Minecraft version (1.21.11).
Install Mod
Open the mod browser in the dashboard and search for "Chest Locker". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.11, 1.21.10, 1.21.9 (+28 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Chest Locker server crashes on startup – what to do?
Most common cause: wrong datapack version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.11). You can switch loaders with one click in the panel.
Is Chest Locker compatible with datapack and fabric and forge and neoforge and quilt?
Chest Locker officially supports datapack, fabric, forge, neoforge, quilt for Minecraft 1.21.11, 1.21.10, 1.21.9. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Chest Locker – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Chest Locker consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Chest Locker with just one click on your server.