ChestLocker
by PPekKunGz
Players who keep items in shared storage can lock a chest with a password-protected tripwire hook so only its owner and trusted players can open it.
What it does
A chest is locked by crafting a Key Item from a Tripwire Hook and setting a password on it. The key records its password and the UUID of the player who made it, so only that owner can lock or reopen the chest with it. The owner can then give other players access through whitelist commands in the chestaccess group, which keeps the chest closed to everyone else.
A chest that is locked stays in place, since it cannot be broken or moved while the lock holds, so a container left in a shared base or on a server remains where its owner placed it. A heads-up display shows the word Locked when the player looks at a locked chest. Protection checks run on the server, so client-side tricks do not bypass the lock, which keeps the mod usable on multiplayer servers.
ChestLocker is published for Fabric only, for the 1.18.2 and 1.20.1 game versions, with 2.0.0 for 1.20.1 as the latest file. The mod runs on the client and the server, so both need it. The source code and issue tracker are public, and the code is released under the MIT License, which makes it open source.
Key features
Password-protected keys
A Tripwire Hook crafted into a Key Item stores a password and the owner's UUID, so the key works only for its creator.
Whitelist sharing
Trusted players can be added to the access list with chestaccess commands, letting them open a locked chest without the password.
Break and move protection
A chest with an active lock cannot be broken or moved until its owner removes the lock.
Lock status display
A HUD message reads Locked when the player looks at a locked chest.
Server-checked protection
Lock checks are verified on the server, which blocks client-side exploits on multiplayer servers.
Gallery
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
How it compares
Chest Shield is a Fabric mod for 26.1.2 – 26.2, released under the MIT License and open source, so it targets newer game versions than ChestLocker. Private Chests is server-side only and covers 1.21.11 – 26.2, so players can join without installing it, which ChestLocker does not allow. Lock On is client-side only, open source under the MIT License, and published for 1.20 – 1.20.4, so it works on a client alone.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| ChestLocker | Fabric | 1.18.2 – 1.20.1 | Client and server | 2025-11-01 |
| Chest Shield | Fabric | 26.1.2 – 26.2 | Client and server | 2026-08-22 |
| Private Chests | Fabric | 1.21.11 – 26.2 | Server-side only | 2026-08-18 |
| Lock On | Fabric | 1.20 – 1.20.4 | Client-side only | 2023-10-23 |
Questions
Does ChestLocker have to be installed on the server?
Which loader does ChestLocker support?
Can a shared player open a chest without the password?
Which game versions have files?
In the catalog
ChestLocker is one of 36,990 Utility mods on ModsFinder, and one of 25,772 Utility mods for Fabric. 34,764 mods support Minecraft 1.20.1.
More from PPekKunGz
Similar mods
Official listing
- Modrinth page
- modrinth.com/mod/chestlocker
- Owner
- PPekKunGz
- Published
- 2025-02-02
- Updated on Modrinth
- 2025-11-01
- Facts verified
- 2026-10-15
