跳到正文

Chest Locker

作者:Vanderflys

Lock any container so only you can access it. Includes anti-grieve measures!

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Header


Modrinth

Discord

Website

📖 Description

A secure method to store items and lock them with a key of your choice! Comes with anti-grieve measures.

This datapack operates seamlessly in both singleplayer and multiplayer modes.

📦 How to use v3.0.0+

To lock any container, simply look at it and execute the command /trigger ChestLocker while holding an item that you’ve renamed in your main hand. If the container isn’t already locked, it will secure it with the key you’re holding, making it accessible only with that specific key. Item count can also be part of the key.

Use /function locker:deleting/give_remover and right click any locked container with the given item to remove that lock. You need operator permission to use this!

⚠️ IMPORTANT NOTE

Item durability is included in the locking system! This means that if you lock an item with x amount of durability, you can only use that item to unlock that container when it has the same amount of durability!

Extra security

All locked containers are fire proof, creeper, end crystal, tnt minecart and tnt explosion resistant.

Example

You can lock a container with 16x cobblestone renamed to "Key 826423".

This container can now only be opened when the player holds 16x cobblestone that is renamed to “Key 826423”.

To open a lock on a container, hold the correct key and right-click the container. The lock on the container is now opened and will lock itself again after 5 seconds or after opening the container, ensuring the safety of the container’s items.

To remove a lock on a container, hold the correct key and left-click the container. The lock on the container is now removed and can now be locked again with /trigger ChestLocker.

Partner Hosting

常见问题

Chest Locker 支持哪些 Minecraft 版本?

Chest Locker 支持 Minecraft Java 版 1.16.2–26.3,共 36 个版本,可用的加载器:Fabric / Forge / NeoForge / Quilt。下载时注意选择和你游戏版本一致的文件。

Chest Locker 怎么安装?

新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。

评论

登录后评论和评分

Vanderflys 的其他作品

查看全部 →