Skip to content

适用于 Minecraft 1.21.1, 1.21 的 ChestLocker 插件

一个极其简单轻量的插件,用于锁定你的箱子、木桶、投掷器、熔炉等!

起价 earomc
次浏览
24 次浏览
已更新
已更新 03.09.2026

关于 ChestLocker 插件

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 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 . 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! :)

如何安装 ChestLocker

  1. A server on Paper

    The plugin runs on the server core for Minecraft 1.21–1.21.4; players do not need to install anything.

  2. File goes into the plugins folder

    Download the file chestlocker-2.2.2.jar (31 KB) and put it into the server’s plugins folder.

  3. Restart the server

    On startup the plugin creates its own settings folder in plugins.

  4. Use the “To server” button

    On Millida Hosting, the button at the top of the page uploads the file to your server and restarts it for you.

Minecraft 1.21.4 runs on Java 21: with a different Java version the game may close right after launch.

版本

含依赖项

Minecraft加载器文件操作
1.21.4Paper1.21.431.2 KB

常见问题

Which Minecraft versions does ChestLocker work on?

There are files for 1.21.4, 1.21.3, 1.21.2, 1.21.1, 1.21. The newest is 1.21.4.

Do players need to install ChestLocker?

No, the plugin goes only on the server Paper, into the plugins folder: players do not need to download anything.

Which Java does ChestLocker need?

Minecraft 1.21.4 runs on Java 21. If the game closes right after launch, the usual cause is the wrong Java version in the profile settings.

How do I download ChestLocker?

With Millida Launcher: it installs ChestLocker into a modpack by itself, for the right game version and loader. The launcher is free.

评价

成为第一个评价 ChestLocker 的人

评论 0

登录后即可评论登录

相似插件

全部插件

了解更多

作者: earomc许可证: Unspecified

您是作者吗? 联系我们 —— 我们将在 48 小时内下架。