ModsFinder

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.

FabricServer-side onlyCC0 1.0 UniversalOpen source1.21 – 26.3

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

  1. Chest locking

    A book in the first slot locks a chest so that only its owner can open it.

  2. Chest shops

    A sell book turns a chest into a shop with a purchase prompt, item amounts and a confirmation step.

  3. Protection from explosions

    Locked chests resist explosions, TNT, end crystals and wither block breaking.

  4. Authorised players

    The owner can search for players and authorise them with the same privileges as the owner.

Compatibility

Latest build for each game version and loader.

26.x2 of 2 versions with builds
26.32.0.7+26.3
26.22.0.7+26.2
1.21.x11 of 11 versions with builds
1.21.111.1.3+1.21.11
1.21.101.1.3+1.21.11
1.21.91.1.3+1.21.11
1.21.81.1.3+1.21.11
1.21.71.1.3+1.21.11
1.21.61.1.3+1.21.11
1.21.51.1.3+1.21.11
1.21.41.1.1+1.21.4
1.21.31.1.0+1.21.3
1.21.11.0.1+1.21
1.211.0.1+1.21
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 1

Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required

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

Full comparison

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.

ModLoadersGame versionsEnvironmentUpdated
ChestProtectionFabric1.21 – 26.3Server-side only2026-09-28
SellModFabric1.21.1 – 26.3Client-side only2026-09-28
Diamond Chest ShopsFabric and Forge1.18.1 – 1.20.4Server-side only2023-06-09
Player Trade WindowFabric26.1.2Client and server2026-05-15

Questions

Does ChestProtection need Fabric API?

Yes. Fabric API is a required dependency, and the mod is published for Fabric only.

Does a player need the mod to use a locked chest?

No. Players join without it, since only the server has to run the mod.

Are 2.X.X and 1.X.X versions compatible?

No. Because builds from the 2.X.X line do not work with 1.X.X builds, a world has to stay on one of the two lines.

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

All projects

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
FBanna, on the Modrinth page

Official listing

Owner
FBanna
Published
2024-06-18
Updated on Modrinth
2026-09-28
Facts verified
2026-10-15

Tags