ChestProtection
by FBanna
ChestProtection lets a chest owner lock it and sell access, so server shops can run on ordinary chests with no extra plugin.
What it does
Placing a book in the first slot of a chest sets a lock or a sale. A book marked LOCK restricts the chest to its owner, and a book marked SELL turns it into a shop. Owners can search for players and authorise them, giving those players the same privileges as the owner, and the authorisation settings come from a config file. Protection extends to explosions, TNT, end crystals and wither block breaking, so a locked chest survives those events.
A sell shop opens a prompt where the buyer places items in the left and right hand slots and a middle slot. The owner configures the amount of each item by clicking paper and entering a count, and green wool pieces appear to confirm the trade. The owner can also choose which item data the shop keeps, such as enchantments or names, so a shop selling swords may ignore damage and enchantments. Right-clicking the book opens the shop settings, and the owner receives the profits by opening the locked chest.
The mod requires Fabric API. ChestProtection is server-side only, so players join without installing anything. Its code is under the CC0 1.0 Universal license and is open source. Files are published for Fabric only, across 13 release versions 1.21 – 26.3, with 2.0.7+26.3 for 26.3 as the latest. Versions 2.X.X are incompatible with 1.X.X releases, and the 2.X.X line rewrote the mod to add new features.
Key features
Chest locking
A book in the first slot locks a chest so that only its owner can open it.
Chest shops
A sell book turns a chest into a shop with a purchase prompt, item amounts and a confirmation step.
Protection from explosions
Locked chests resist explosions, TNT, end crystals and wither block breaking.
Authorised players
The owner can search for players and authorise them with the same privileges as the owner.
Gallery
Compatibility
Latest build for each game version and loader.
26.x2 of 2 versions with builds
1.21.x11 of 11 versions with builds
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Use cases
Who it’s for: Server owners who want player-run shops and players who want to protect storage from other players are the main audience for this mod.
How it compares
SellMod is client-side only, open source under the MIT License and published for 1.21.1 – 26.3, so it installs on players' clients rather than the server. Diamond Chest Shops is server-side only and open source under the MIT License, but it covers Fabric and Forge only for 1.18.1 – 1.20.4. Player Trade Window is a client and server mod with a closed license, built for 26.1.2 alone.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| ChestProtection | Fabric | 1.21 – 26.3 | Server-side only | 2026-09-28 |
| SellMod | Fabric | 1.21.1 – 26.3 | Client-side only | 2026-09-28 |
| Diamond Chest Shops | Fabric and Forge | 1.18.1 – 1.20.4 | Server-side only | 2023-06-09 |
| Player Trade Window | Fabric | 26.1.2 | Client and server | 2026-05-15 |
Questions
Does ChestProtection need Fabric API?
Does a player need the mod to use a locked chest?
Are 2.X.X and 1.X.X versions compatible?
In the catalog
ChestProtection is one of 2,072 Economy mods on ModsFinder, and one of 1,159 Economy mods for Fabric. 8,071 mods support Minecraft 26.3.
More from FBanna
Similar mods
What the author says
New 2.X.X versions are incompatible with 1.X.X versions! Just finished rewriting of this mod to allow for new features! These include Authorisation, config file, improved ui, and lots of small tweaks to improve the mod
Official listing
- Modrinth page
- modrinth.com/mod/chestprotection
- Owner
- FBanna
- Published
- 2024-06-18
- Updated on Modrinth
- 2026-09-28
- Facts verified
- 2026-10-15
