简单至极:
将其拖入你的插件文件夹即可,无需任何配置。
它与其他储物柜插件有何不同:
极其轻量:
“ChestLocker by earomc” 使用 PersistentDataContainer API。这意味着没有数据库或额外由插件创建的文件来存储方块数据。
功能:
此插件允许你锁定 Minecraft 中几乎所有类型的物品容器,包括箱子、 barrels(桶)、投掷器、发射器、潜影盒、熔炉、高炉、烟熏炉、酿造台、信标和漏斗。支持单格 和 双格箱子。
锁定容器:
要锁定一个容器,只需在指定 密码 的情况下输入 /lock <password>。然后,右键点击该容器即可将其锁定。
容器锁定后,只有拥有与所用 密码 名称完全相同(区分大小写)的物品才能访问它。这意味着你需要使用铁砧,根据所选的密码来重命名物品。
当容器被锁定时,你无法破坏它、引爆它,也无法使用漏斗或漏斗矿车将物品取出。此外,当潜影盒被锁定时,无法通过活塞推动来摧毁它们。
解锁容器:
要解锁容器,请使用 /unlock <password>。你需要指定最初用于锁定容器的密码。
如果有人忘记了容器的密码,可以通过 /adminunlock 进行解锁。
如果你想中止锁定或解锁容器的操作,只需潜行即可取消。
权限:
/adminunlock 命令的权限节点为
chestlocker.adminunlock
Bug / 问题:
如果在使用插件时遇到任何 Bug 或问题,或者有任何改进建议,请随时在 此插件的 GitHub 页面 上的 Issues 标签页中反馈。
如果你喜欢这个插件,请考虑给它一颗星。非常感谢! :)
As simple as it gets:
Drag it into your plugin folder and that's it. No configuration needed.
What makes it different to other chest locker plugins:
It's extremely lightweight:
"ChestLocker by earomc" uses the PersistentDataContainer API. This means there's no database or extra plugin-created files that store block data.
Functionality:
This plugin allows you to lock pretty much every item container in Minecraft including chests, barrels, droppers, dispensers, shulker boxes, furnaces, blast furnaces, smokers, brewing stands, beacons and hoppers. Single and double chests are supported.
Locking a container:
To lock a container, you just need to type /lock <password> while specifiying a password. Then, right-clicking the container will lock it.
After the container is locked, you can only access it with an item that has the exact same name (case-sensitive) as the password you used. That means you need an anvil to rename an item according to the password you chose.
When a container is locked you cannot break it, blow it up, use hoppers or hopper minecarts to get out the items. Additionally, shulker boxes cannot be destroyed by pushing them with a piston when they are locked.
Unlocking a container:
To unlock a container, use /unlock <password>. You need to specify the password that was used to originally lock the container.
In case somebody forgot the password of the container you can unlock it via /adminunlock
If you want to abort the action of locking or unlocking a container, you can just sneak and it will abort it.
Permissions:
The permission node for the /adminunlock command is
chestlocker.adminunlock
Bugs / Issues:
If you run into any bugs or issues while using the plugin, or have any suggestions to improve it, please feel free to use the Issues tab on this plugin's github page.
If you like this plugin, please consider giving it a star. Thank you very much! :)
评论 0
登录后参与评分
还没有评论,来抢沙发吧