That One Chest Lock
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.
介绍
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
- Place the datapack ZIP inside your world’s
datapacksfolder. - Run
/reload. - Run
/datapack listto 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.
常见问题
That One Chest Lock 支持哪些 Minecraft 版本?
That One Chest Lock 支持 Minecraft Java 版 26.2。下载时注意选择和你游戏版本一致的文件。
That One Chest Lock 怎么安装?
新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。
评论
登录后评论和评分