Перейти к содержимому
Mineforgian

Locked Chests/Chest Protection Plugin

Adds features to lock chests allowing for protection against other players.

Загрузки
8K
Подписчики
21
Обновлён
27 июня 2026 г.
Лицензия
Apache-2.0

Опубликован 26 августа 2024 г.

Simple plugin that allows you to lock your chests. Locked chests cannot be broken, hopped out of, or opened by other players. This mod also makes it so all chests are blast-resistant.

Chest locking can be done in 2 ways: using the /lockchest command or a key. To use the command, do /lockchest add while looking at the chest you wish to log. To use a key, rename an iron or gold nugget to key in an anvil (if the resource pack is installed, it will change the texture to a key), then right click on the chest while holding shift with the key, it will then lock the chest. LOCKING CHESTS WILL ONLY LOCK THEM FOR OTHER PLAYERS, MEANING YOU CAN OPEN THEM WHILE LOCKED. To unlock a chest, simply use the key again on the chest, or do /lockchest remove while looking at the chest.

There is also a trust command, allowing you to trust certain players with access to your chest, without allowing them to break/unlock the chest. To use this, do /trust (player) while looking at the chest. NOTE: The player you are trusting must currently be on the server.

For operators, there is also an inspect command. Performing the /lockinspect command will give you all information about the chest you are looking at, including location, owner, and trusted players.

DISCLAIMER: The resource pack does not add new items to the game; it will change the texture of iron and gold nuggets named key. If the resource pack is not on, the plugin will still function correctly, and iron/gold nuggets named key will still function as keys. Using keys also isn't necessary, it just speeds up the ability to lock chests.

Ченджлог

1.4Релиз26.1.1, 26.1.2, 26.2 · 27 июня 2026 г.

Added

  • Added the lockedchests.admin.bypass permission.
  • Added /forceopen for admins with lockedchests.admin.bypass to open locked containers without changing ownership or trust data.

Changed

  • /lockchest remove now uses lockedchests.admin.bypass for admin lock removal instead of checking operator status directly.

Notes

  • Regular locked-container opening is unchanged. Owners and trusted players can open locked containers normally.
1.3Релиз26.1, 26.1.1, 26.1.2 · 29 мая 2026 г.

New Features

  • Trapped Chests & Barrels Support — Trapped chests and barrels can now be locked, unlocked, inspected, and trusted just like regular chests.
  • Offline Player Trusting/trust <username> now works even when the target player is offline by resolving their UUID through the Mojang API.

Improvements

  • Dynamic Messages — All player-facing messages now correctly display the container type (Chest / Trapped Chest / Barrel) instead of generically saying "chest."
  • Explosion Protection — Trapped chests and barrels are now protected from explosions alongside regular chests.
  • Trusted Data Format — Trusted player lists are now stored as raw UUID binary data rather than text strings for better efficiency.

[!IMPORTANT] Data Migration — Existing trusted players on locked chests will not carry over from v1.2. After updating, you will need to re-trust players on any previously locked containers. Ownership data is unaffected.

Supported Containers

  • Chest
  • Trapped Chest
  • Barrel
1.2Релиз26.1, 26.1.1, 26.1.2 · 14 апреля 2025 г.

Rewrote plugin, fixing all bugs hopefully. Improved compatibility with EssentialsX. Upgraded /lockinspect command to make it show more info. Made chat messages colored. Overall bug fixes and improvements.

1.1Релиз1.21.3, 1.21.4, 1.21.5 · 12 апреля 2025 г.

Should fix some bugs, also fixes textures for new versions.

1.0Релиз1.21, 1.21.1 · 26 августа 2024 г.

First version of locked chests plugin. Includes plugin and custom keys resource pack. May work on more loaders and versions, these are just the ones it is tested on.

Комментарии

Загружаем…