Back to mods
SimpleChestLocker project artwork

Modrinth · Minecraft mod

SimpleChestLocker

A simple chest locker for your servers.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which SimpleChestLocker release matches 26.2 Fabric?

Updated 3 months ago
Best match for your filters 2.2.0
Game version 26.2
Loader Fabric

SimpleChestLocker 2.2.0 targets 26.2 with Fabric. Do not install it on the client. It must be installed on the dedicated server. No extra mods listed for this file.

Where it goes

Is SimpleChestLocker required on the client, server, or both?

Do not install it on the client. It must be installed on the dedicated server.

Client Not supported
Dedicated server Required
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This file is marked server-only.

What else does SimpleChestLocker 2.2.0 need?

2.2.0 on 26.2 Fabric. Every mod below is checked against that same setup.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add SimpleChestLocker without breaking your instance.

Built for SimpleChestLocker 2.2.0 on 26.2 Fabric. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 2.2.0. It targets 26.2 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    Do not install it on the client. It must be installed on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 2.2.0. It opens that exact file at the source.

About this project

What does SimpleChestLocker add?

SimpleChestLocker

FabricAPI

This mod was born with me not being able to find a server-side, simple chest locking mod for a SMP server me and my friends were playing on. It does the thing it's supposed to, locking chests.

Commands usage:

  • Base command: /scl
  • /scl lock: Locks the chest the player is looking at.
  • /scl unlock: Unlocks the chest the player is looking at.
  • /scl trust : Trusts a player with the chest the player is looking at.
  • /scl untrust : Untrusts a player from the chest the player is looking at.
  • /scl players: Lists players trusted with the chest the player is looking at.
  • /scl label : Labels the chest the player is looking at.
  • /scl rename : Renames the label of the chest the player is looking at.
  • /scl unlabel: Removes the label from the chest the player is looking at.
  • /scl list: Lists all of your locked containers with their index, type, and coordinates.
  • /scl gui: Opens a GUI to manage your locked containers.
  • /scl help: Shows all command usage.

Don't let the name confuse you!

It works for barrels and any modded container that implements the Inventory interface!

Remote management

Every container gets an index shown in /scl list (Container 0, Container 1, ...). You can use that index or a label as the target in commands to manage a container remotely—even across dimensions. For example:

  • /scl unlock 2
  • /scl label storage 0
  • /scl trust PlayerName 2
  • /scl untrust PlayerName storage

When a chest/barrel is locked:

  • It will be immune to explosions.
  • It will be immune to piston moving.
  • It will be immune to hopper transfer.
  • Players that are not trusted with that chest won't be able to open it.

Each of these immunities can be toggled in the config.

Removing the chest block will remove all the lock information associated with that chest.

Client-side overlay

Available since version 2.2.0.

The mod is fully server-side, but if you also install it on your client, you get a handy visual overlay for locked containers:

  • A padlock icon is drawn in front of every locked container, so you can spot locked chests and barrels at a glance.
  • The icon switches to an unlocked padlock when you're the owner or a trusted player.
  • When you aim at the lock icon, the container's label appears floating in front of it.
  • The label is only visible to the owner and trusted players.
  • It works for any locked container, including modded ones.

Installing the mod on the client is optional — everything else keeps working with the server-only version.

Blacklisting blocks

Available since version 2.1.1.

If there are containers you don't want players to lock, you can blacklist them in the config.

Use the blockBlacklist option and add the block IDs you want to prevent from being locked:

"blockBlacklist": [
  "example:block",
  "example:block2"
]

Each entry must be a valid block ID in the format namespace:block_name. Any block included in this list cannot be locked using SimpleChestLocker.

Maintenance status

Minecraft 1.21.11 is now in maintenance mode. No new features are planned for this version of the mod. Future updates for 1.21.11 will be limited to bug fixes only. If you find a bug, please report it on GitHub.

Planned updates:

  • Configurable immunity (added in 2.0.0)
  • Support for modded containers (added in 2.0.0)
  • A 26.2 port is on the way. (2.1.0)

A Forge/NeoForge port is not planned.

P.S.: Haven't tested the mod with Quilt but it should work.

Project description from Modrinth.

Pick your setup

SimpleChestLocker by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

6 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

SimpleChestLocker versions and loaders

3 of 6 releases match
Clear filters

Looking for an older file? The official Modrinth project page is in Resources.