{"id":95057,"date":"2026-06-05T13:38:12","date_gmt":"2026-06-05T10:38:12","guid":{"rendered":"https:\/\/vpesports.com\/minecraft\/mods\/locked-chests\/"},"modified":"2026-06-05T13:38:12","modified_gmt":"2026-06-05T10:38:12","slug":"locked-chests","status":"publish","type":"mod","link":"https:\/\/vpesports.com\/minecraft\/mods\/locked-chests\/","title":{"rendered":"Locked Chests"},"content":{"rendered":"<p># LockedChests Plugin<\/p>\n<p>A lightweight chest locking plugin for Paper 1.21 built by theTWIXhunter<\/p>\n<p>## Features<\/p>\n<p>&#8211; **Key-Based Locking**: Lock chests with customizable keys that can be crafted, given, and duplicated<br \/>\n&#8211; **Password Protection**: Set passwords on locked chests for additional security<br \/>\n&#8211; **Blank Keys**: Craft blank keys to lock chests, then create specific keys for each locked chest<br \/>\n&#8211; **Key Duplication**: Duplicate existing keys with blank keys to share access<br \/>\n&#8211; **World-Specific**: Configure whitelist or blacklist mode for specific worlds<br \/>\n&#8211; **Flexible Access Control**: Multiple authentication methods (owner, key in hand, key in inventory, password)<br \/>\n&#8211; **Customizable Keys**: Fully customize key appearance, name, and lore<br \/>\n&#8211; **Admin Tools**: Give keys to players with `\/givekey` command<\/p>\n<p>## Commands<\/p>\n<p>&#8211; `\/lockedchests` (aliases: `\/lc`, `\/chest`) &#8211; Main plugin command with reload functionality<br \/>\n&#8211; `\/setpassword <password>` &#8211; Set a password for a locked chest<br \/>\n&#8211; `\/unlock` &#8211; Unlock a chest you own<br \/>\n&#8211; `\/givekey <player> <ID\/blank> <amount>` &#8211; Give keys to players (requires `lockedchests.admin`)<\/p>\n<p>## Permissions<\/p>\n<p>&#8211; `lockedchests.use` &#8211; Allows using locked chests (default: true)<br \/>\n&#8211; `lockedchests.admin` &#8211; Admin permissions for commands like `\/givekey` (default: op)<br \/>\n&#8211; `lockedchests.bypass` &#8211; Bypass all chest locks (default: op)<\/p>\n<p>## Configuration<\/p>\n<p>Edit `config.yml` to customize the plugin:<\/p>\n<p>**World Filtering**<br \/>\n-worlds-mode: `false` for blacklist (works everywhere except listed), `true` for whitelist (works only in listed worlds)<br \/>\n&#8211; worlds: List of worlds to enable\/disable the plugin<\/p>\n<p>**Key Customization**<br \/>\n&#8211; key material: Item type for keys (default: TRIPWIRE_HOOK)<br \/>\n&#8211; key name: Display name for keys<br \/>\n&#8211; key.lore: Lore text for keys (use `%id%` for chest ID)<\/p>\n<p>**Crafting**<br \/>\n&#8211; crafting-recipe enabled?: Enable\/disable blank key crafting<br \/>\n&#8211; crafting-recipe shape: Shapeless or shaped recipe<br \/>\n&#8211; crafting-recipe ingredients: Define crafting materials<\/p>\n<p>**Accesscontrol**<br \/>\n&#8211; allow-owner: Allow chest owner to open without needing a key<br \/>\n&#8211; allow-key-click: Allow opening with key in hand<br \/>\n&#8211; allow-key-inventory: Allow opening with key in inventory, not just in the hand<br \/>\n&#8211; allow-password: Enable password authentication to be able to share a chest with players without a key.<br \/>\n&#8211; password-timeout: Timeout for password entry (seconds)<\/p>\n<p>### Locking Behavior<br \/>\n&#8211; ask-on-place: Prompt to lock when placing chest<br \/>\n&#8211; locking.allow-key-click-lock: Lock by clicking with blank key<br \/>\n&#8211; locking.require-just-placed: Only allow locking recently placed chests<br \/>\n&#8211; locking.place-time-window: Time window for locking after placement (seconds)<\/p>\n<p>### Key Duplication<br \/>\n&#8211; key-duplication.enabled: Allow duplicating keys by combining them with blank keys in a crafting table<\/p>\n<p>## Building<\/p>\n<p>Run `mvn clean package` to build the plugin. The compiled JAR will be in the `target` folder.<\/p>\n<p>## Installation<\/p>\n<p>1. Build the plugin or download the JAR<br \/>\n2. Place the JAR in your server&#8217;s `plugins` folder<br \/>\n3. Restart the server<br \/>\n4. Configure the plugin in `plugins\/LockedChests\/config.yml`<br \/>\n5. Reload or restart the server<\/p>\n<p>## How It Works:<br \/>\n1. **Locking a Chest with a new key**:<br \/>\n   &#8211; Place the chest.<br \/>\n   &#8211; Craft a blank key using the configured recipe<br \/>\n   &#8211; Right-click the chest with the blank key to lock it<br \/>\n   &#8211; A specific key for that chest will be created<\/p>\n<p>1. **Locking a Chest with a new key**:<br \/>\n   &#8211; Place the chest.<br \/>\n   &#8211; Right-click the chest with the key to lock it<br \/>\n   &#8211; This key will now be able to open that chest<\/p>\n<p>2. **Opening a Locked Chest**:<br \/>\n   &#8211; Have the correct key in your inventory or hand<br \/>\n   &#8211; Enter the password if one is set<br \/>\n   &#8211; Be the chest owner<\/p>\n<p>3. **Sharing Access**:<br \/>\n   &#8211; Duplicate keys using blank keys in crafting<br \/>\n   &#8211; Set a password with `\/setpassword` and share it<br \/>\n   &#8211; Admins can give keys with `\/givekey`<\/p>\n<p>## Author<\/p>\n<p>me.thetwixhunter<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Allow players to craft keys and lock their chests to make sure nobody can steal\/break them. Fully configurable as always.<\/p>\n","protected":false},"featured_media":95058,"template":"","meta":{"_minecraft_slug":"locked-chests","_minecraft_project_id":"NsvSILkY","_minecraft_author":"theTWIXhunter","_minecraft_license":"GPL-3.0-or-later","_minecraft_downloads":102,"_minecraft_follows":2,"_minecraft_client_side":"unsupported","_minecraft_server_side":"required","_minecraft_storage_type":"zip","_minecraft_archive_name":"locked-chests.zip","_minecraft_size_bytes":61902,"_minecraft_version_count":2,"_minecraft_updated_at":"2026-05-15T19:39:47.992144Z","_minecraft_date_created":"2026-02-21T00:02:07.805598Z","_minecraft_date_modified":"2026-03-08T16:05:10.824550Z","_minecraft_project_url":"https:\/\/modrinth.com\/mod\/locked-chests","_minecraft_icon_attachment_id":95058,"_minecraft_imported_at":"2026-06-05T10:38:14+00:00","_minecraft_import_hash":"927eb88931d2e02f7802dc8a3b3c2bf1","_minecraft_versions":"","_minecraft_links":"","_minecraft_gallery":"","_minecraft_api_metadata":""},"mod_category":[124,89,126,127,128,867,129],"mod_loader":[130,132,133,134],"minecraft_version":[62,37,40,41,73,74,38,78,79,80,81,82],"class_list":["post-95057","mod","type-mod","status-publish","has-post-thumbnail","hentry","mod_category-bukkit","mod_category-game-mechanics","mod_category-management","mod_category-paper","mod_category-purpur","mod_category-social","mod_category-spigot","mod_loader-bukkit","mod_loader-paper","mod_loader-purpur","mod_loader-spigot","minecraft_version-1-21","minecraft_version-1-21-1","minecraft_version-1-21-10","minecraft_version-1-21-11","minecraft_version-1-21-2","minecraft_version-1-21-3","minecraft_version-1-21-4","minecraft_version-1-21-5","minecraft_version-1-21-6","minecraft_version-1-21-7","minecraft_version-1-21-8","minecraft_version-1-21-9"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Locked Chests - Minecraft<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/vpesports.com\/minecraft\/mods\/locked-chests\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Locked Chests - Minecraft\" \/>\n<meta property=\"og:description\" content=\"Allow players to craft keys and lock their chests to make sure nobody can steal\/break them. Fully configurable as always.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vpesports.com\/minecraft\/mods\/locked-chests\/\" \/>\n<meta property=\"og:site_name\" content=\"Minecraft\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/locked-chests\\\/\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/locked-chests\\\/\",\"name\":\"Locked Chests - Minecraft\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/locked-chests\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/locked-chests\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/locked-chests-icon-23e9c592ce4e439cdc38d3e40aa203e92a8045b7_96.webp\",\"datePublished\":\"2026-06-05T10:38:12+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/locked-chests\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/locked-chests\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/locked-chests\\\/#primaryimage\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/locked-chests-icon-23e9c592ce4e439cdc38d3e40aa203e92a8045b7_96.webp\",\"contentUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/locked-chests-icon-23e9c592ce4e439cdc38d3e40aa203e92a8045b7_96.webp\",\"width\":96,\"height\":95},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/locked-chests\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mods\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Locked Chests\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\",\"name\":\"Minecraft\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Locked Chests - Minecraft","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/vpesports.com\/minecraft\/mods\/locked-chests\/","og_locale":"en_US","og_type":"article","og_title":"Locked Chests - Minecraft","og_description":"Allow players to craft keys and lock their chests to make sure nobody can steal\/break them. Fully configurable as always.","og_url":"https:\/\/vpesports.com\/minecraft\/mods\/locked-chests\/","og_site_name":"Minecraft","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/vpesports.com\/minecraft\/mods\/locked-chests\/","url":"https:\/\/vpesports.com\/minecraft\/mods\/locked-chests\/","name":"Locked Chests - Minecraft","isPartOf":{"@id":"https:\/\/vpesports.com\/minecraft\/#website"},"primaryImageOfPage":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/locked-chests\/#primaryimage"},"image":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/locked-chests\/#primaryimage"},"thumbnailUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/locked-chests-icon-23e9c592ce4e439cdc38d3e40aa203e92a8045b7_96.webp","datePublished":"2026-06-05T10:38:12+00:00","breadcrumb":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/locked-chests\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vpesports.com\/minecraft\/mods\/locked-chests\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vpesports.com\/minecraft\/mods\/locked-chests\/#primaryimage","url":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/locked-chests-icon-23e9c592ce4e439cdc38d3e40aa203e92a8045b7_96.webp","contentUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/locked-chests-icon-23e9c592ce4e439cdc38d3e40aa203e92a8045b7_96.webp","width":96,"height":95},{"@type":"BreadcrumbList","@id":"https:\/\/vpesports.com\/minecraft\/mods\/locked-chests\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/vpesports.com\/minecraft\/"},{"@type":"ListItem","position":2,"name":"Mods","item":"https:\/\/vpesports.com\/minecraft\/mods\/"},{"@type":"ListItem","position":3,"name":"Locked Chests"}]},{"@type":"WebSite","@id":"https:\/\/vpesports.com\/minecraft\/#website","url":"https:\/\/vpesports.com\/minecraft\/","name":"Minecraft","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/vpesports.com\/minecraft\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod\/95057","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod"}],"about":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/types\/mod"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media\/95058"}],"wp:attachment":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media?parent=95057"}],"wp:term":[{"taxonomy":"mod_category","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_category?post=95057"},{"taxonomy":"mod_loader","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_loader?post=95057"},{"taxonomy":"minecraft_version","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/minecraft_version?post=95057"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}