All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Locked Chests/Chest Protection Plugin

Locked Chests/Chest Protection Plugin

by Jonyboylovespie • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

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.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.2 26.1.x 1.21.x
Bukkit Paper Spigot
18h ago 1
26.1.x 1.21.x
Bukkit Paper Spigot
18h ago 1
26.1.x 1.21.x
Bukkit Paper Spigot
18h ago 1
1.21.x
Bukkit Paper Spigot
18h ago 1
1.21.x
Bukkit Paper Spigot
18h ago 1

## 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.

## 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] Locked Chests Plugin V1.2 by Jonyboylovespie on Oct 15, 2026
Download
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] Locked Chests Plugin V1.1 by Jonyboylovespie on Oct 15, 2026
Download
Should fix some bugs, also fixes textures for new versions.
[1.0] Locked Chests Plugin V1.0 by Jonyboylovespie on Oct 15, 2026
Download
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.
Locked Chests/Chest Protection Plugin Icon
Download Locked Chests/Chest Protection Plugin
Select game version
Select platform