Chest Locker
by Vanderflys
Chest Locker lets a server owner lock a container so that only a player holding a chosen key item can open it.
What it does
A container is locked by a server datapack, and once locked only the player who holds the key item can open it. The key is a renamed stack of 16 cobblestone, identified by a key name, so the lock works the same in single-player and multiplayer. A function removes the lock from a container when used on it with the given item.
The mod needs operator permission to use its functions. It runs on the server, and clients may install it but do not need it. Chest Locker is published for Fabric, Forge, NeoForge and Quilt, with builds covering 1.16.2 – 26.3, and the license is All rights reserved, so the code is not open source.
Key features
Key-based locking
A container opens only for a player holding the matching key item, so access stays with that player.
Remover function
An operator can use a function to strip the lock from a container by clicking it with the key item.
Datapack operation
The locking runs as a datapack that works in both single-player and multiplayer worlds.
Compatibility
Latest build for each game version and loader.
26.x5 of 5 versions with builds
1.21.x10 of 10 versions with builds
1.20.x2 of 2 versions with builds
Only full game releases are shown. This mod publishes no snapshot builds.
How it compares
Simply Lock is a server-side mod with All rights reserved, covering Fabric, Forge and Quilt for 1.14 – 1.20.4. SimpleLocks is open source under the MIT License, works on both client and server, and covers Forge and NeoForge for 1.20.1 – 1.20.6.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Chest Locker | Fabric, Forge, NeoForge and Quilt | 1.16.2 – 26.3 | Server required, client optional | 2026-09-19 |
| Simply Lock | Fabric, Forge and Quilt | 1.14 – 1.20.4 | Server required, client optional | 2024-02-18 |
| SimpleLocks | Forge and NeoForge | 1.20.1 – 1.20.6 | Client and server | 2025-09-28 |
Questions
Does Chest Locker need to be installed on the client?
In the catalog
Chest Locker 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.
More from Vanderflys
Similar mods
What the author says
This datapack operates seamlessly in both singleplayer and multiplayer modes. 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!
Official listing
- Modrinth page
- modrinth.com/mod/chest-locker
- Owner
- Vanderflys
- Published
- 2023-12-30
- Updated on Modrinth
- 2026-09-19
- Facts verified
- 2026-10-15
