That One Chest Lock
使用重命名后的试炼钥匙锁定陷阱箱。
试炼钥匙的名称将成为该箱子的密码。任何持有同名试炼钥匙的玩家都可以正常打开箱子,便于制作备用钥匙并与他人共享访问权限。
功能特性
- 使用
/trigger lock 命令锁定陷阱箱
- 使用
/trigger unlock 命令解锁陷阱箱
- 持有匹配的试炼钥匙时可正常打开已锁定的箱子
- 支持单个和双格陷阱箱
- 通过创建同名的另一把钥匙来共享访问权限
- 解锁后使用新命名的钥匙重新上锁以更改密码
- 玩家破坏已锁定箱子后会恢复其锁定状态
- 防护 TNT 和苦力怕的爆炸
- 移除放置在箱子下方的漏斗及漏斗矿车
- 完全在服务器端运行
- 无需客户端安装
- 兼容通过 Geyser 加入的基岩版玩家
普通箱子会被有意忽略。陷阱箱提供了清晰的视觉提示,表明该容器可以被锁定。
使用方法
创建钥匙
获取一把试炼钥匙,并使用铁砧为其重命名。其名称将作为密码使用。
锁定箱子
放置一个陷阱箱,手持重命名后的试炼钥匙,直视该箱子并执行以下命令:
/trigger lock
打开箱子
手持名称匹配的试炼钥匙,右键点击箱子即可正常打开。
解锁箱子
手持匹配的试炼钥匙,注视箱子并执行以下命令:
/trigger unlock
安装方法
- 将数据包 ZIP 文件放入世界目录下的
datapacks 文件夹中。
- 运行
/reload 命令。
- 运行
/datapack list 确认数据包已启用。
重要限制
- 任何知道或猜出钥匙名称的人都可以创建匹配的钥匙。
- 重命名后的试炼钥匙无法用于开启试炼密室中的宝箱。
- 位于已锁定箱子正下方的漏斗(包括你自己的自动化漏斗)会被移除。
- 服务器管理员可以使用命令绕过锁定。
- 被水淹没的箱子在恢复时将不再处于被水淹没的状态。
使用 That One Chest Lock 保护你的钻石、贵重物品以及可疑的泥土堆吧。
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
datapacks folder.
- Run
/reload.
- 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.
评论 0
登录后参与评分
还没有评论,来抢沙发吧