Key - Lock chests, other containers and doors
by CMD-Golem
With Key, a container, door or trapdoor is locked to the player who placed the lock, and only that player can open it again.
What it does
Key locks chests, other containers, doors, trapdoors, fence gates and blocks from other mods, so items stay protected from other players and from Creepers. A locked block is tied to the player who locked it, not to a physical key item, so the lock holds until that player removes it. A hologram shows the lock owner, and a locked container cannot be broken by others.
The mod suits survival worlds and multiplayer servers where players share a base. Server owners can cap how many blocks each player may lock, both per player and for the whole world, and the mod provides an admin key for overriding locks. Locked furnaces and similar blocks keep their processing and fuel use, while hoppers placed underneath a locked container cannot pull items from it.
Key is published for Fabric, Forge, NeoForge and Quilt, and a data pack version exists too. Server owners install it, while players can join without it, since the environment is server required and client optional. Files cover 1.20.2 – 26.3 with 22 release versions, and the code is covered by a custom license that is not open source.
Key features
Locking containers and doors
Chests, other containers, doors, trapdoors and fence gates can be locked by the player who places the lock.
Owner-based access
Access depends on the player who created the lock, and the key item itself is not needed to open it.
Keys with durability
Keys wear down with use, can be enchanted with Unbreaking and Mending, and can be repaired at an anvil with a gold ingot.
Configurable limits
Server owners set a cap on locked blocks for each player and for the whole world through a settings menu or commands.
Gallery
Compatibility
Latest build for each game version and loader.
26.x5 of 5 versions with builds
1.21.x12 of 12 versions with builds
1.20.x5 of 5 versions with builds
This mod also publishes snapshot builds. Snapshots are not shown in the matrix.
Use cases
Who it’s for: Server owners who want private storage for each player, and survival players who share a world and need their chests and doors kept private.
How it compares
Chest Locker is a server-side mod for Fabric, Forge, NeoForge and Quilt covering 1.16.2 – 26.3, under All rights reserved and not open source. SimpleChestLocker is server-side only for Fabric and Quilt across 1.21.4 – 26.2 and is open source under the GNU General Public License v3.0 or later. Assorted Locks is open source under the GNU General Public License v3.0 only, for Fabric and NeoForge on 26.2, and needs both client and server.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Key - Lock chests, other containers and doors | Fabric, Forge, NeoForge and Quilt | 1.20.2 – 26.3 | Server required, client optional | 2026-09-10 |
| Chest Locker | Fabric, Forge, NeoForge and Quilt | 1.16.2 – 26.3 | Server required, client optional | 2026-09-19 |
| SimpleChestLocker | Fabric and Quilt | 1.21.4 – 26.2 | Server-side only | 2026-08-07 |
| Assorted Locks | Fabric and NeoForge | 26.2 | Client and server | 2026-10-05 |
Questions
Does Key need to be installed on the client?
Which loaders does Key support?
Can a locked chest be opened by someone else?
In the catalog
Key - Lock chests, other containers and doors is one of 4,058 Storage mods on ModsFinder, and one of 2,474 Storage mods for Fabric. 8,071 mods support Minecraft 26.3.
Similar mods
What the author says
Lock your containers and doors to protect your items and buildings from other players and Creepers. Press shift and right-click on the block to lock or unlock it. Features (italic ones must be turned on): - Locking containers, doors, trapdoors and fence gates, even from mods - Locking based on player and key name …
Official listing
- Modrinth page
- modrinth.com/mod/key
- Owner
- CMD-Golem
- Published
- 2023-07-03
- Updated on Modrinth
- 2026-09-10
- Facts verified
- 2026-10-15
