That One Chest Lock

Quick rating

Community listing page, reviews here may not be monitored by the author.

That One Chest Lock

No reviews yet

Lock trapped chests with a trial key renamed in an anvil. Can't be opened, can't be broken, can't be drained by a hopper. Server-side, no client mod.

Mod Loaders
Minecraft
26.2

About

Description

That One Chest Lock

Lock your trapped chests using renamed trial keys.

The name of the trial key becomes the chest’s password. Anyone holding a trial key with the exact same name can open the chest normally, making it easy to create spare keys and share access with other players.

Features

  • Lock trapped chests using /trigger lock
  • Unlock them using /trigger unlock
  • Open locked chests normally with a matching trial key
  • Supports single and double trapped chests
  • Share access by creating another key with the same name
  • Change the password by unlocking and relocking with a newly named key
  • Restores locked chests after players mine them
  • Protects against TNT and Creeper explosions
  • Removes hoppers and hopper minecarts placed underneath
  • Works entirely server-side
  • No client-side installation required
  • Compatible with Bedrock players joining through Geyser

Regular chests are intentionally ignored. Trapped chests provide a clear visual indicator that the container can be locked.

How to Use

Create a Key

Obtain a trial key and rename it using an anvil. Its name will be used as the password.

Lock a Chest

Place a trapped chest, hold your renamed trial key, look directly at the chest, and run:

/trigger lock

Open a Chest

Hold a trial key with the matching name and right-click the chest normally.

Unlock a Chest

Hold the matching trial key, look at the chest, and run:

/trigger unlock

Installation

  1. Place the datapack ZIP inside your world's datapacks folder.
  2. Run /reload.
  3. Run /datapack list to confirm that the datapack is enabled.

Important Limitations

  • Anyone who knows or guesses the key name can create a matching key.
  • Renamed trial keys cannot be used to open trial chamber vaults.
  • Hoppers directly underneath locked chests are removed, including your own automation hoppers.
  • Server operators can bypass locks using commands.
  • Waterlogged chests are restored without their waterlogged state.

Protect your diamonds, valuables, and suspicious stacks of dirt with That One Chest Lock.