{"id":39376,"date":"2026-06-01T23:45:27","date_gmt":"2026-06-01T20:45:27","guid":{"rendered":"https:\/\/vpesports.com\/minecraft\/mods\/chestkey\/"},"modified":"2026-06-01T23:45:27","modified_gmt":"2026-06-01T20:45:27","slug":"chestkey","status":"publish","type":"mod","link":"https:\/\/vpesports.com\/minecraft\/mods\/chestkey\/","title":{"rendered":"ChestKey"},"content":{"rendered":"<p># ChestKey<\/p>\n<p>ChestKey is a Minecraft plugin for Paper (1.21.11) for locking and<br \/>\nprotecting chests using unique keys. It works on<br \/>\nJava-based servers using Paper API 1.21 or higher and uses<br \/>\nonly the official Adventure API for texts. It does not require NMS<br \/>\nor Reflection.<\/p>\n<p>## Features<\/p>\n<p>&#8211; **Unique keys**: Each key is a `TRIPWIRE_HOOK` with a<br \/>\n  random UUID in the `PersistentDataContainer`, a visible short ID in the<br \/>\n  Lore, and a glitter effect.<br \/>\n&#8211; **Lock\/unlock chest**: Shift-right-click on a (Trapped)Chest<br \/>\n  with a key links the chest to the key without consuming it.<br \/>\n  Double chests are treated as a single unit.<br \/>\n&#8211; **Opening**: Only players with a key in their main or off-hand can<br \/>\n  open locked chests. Incorrect or missing keys block<br \/>\n  opening and display particles\/indicators.<br \/>\n&#8211; **Break rules**: Locked chests can only be broken with the correct key.<br \/>\n Admins with `chestlock.admin.break` can break any chest.<\/p>\n<p>&#8211; **Crafting duplication**: Mixing a key and an iron ingot<br \/>\nproduces two keys with identical UUIDs (provided by a<br \/>\n  Shapeless recipe).<br \/>\n&#8211; **Bypass protection**: Hoppers, pistons, and explosions cannot affect<br \/>\n  locked chests.<br \/>\n&#8211; **Configurable visual effects**: Particles and small hint signs<br \/>\n  can be turned on\/off in `config.yml`.<\/p>\n<p>## Installation<\/p>\n<p>1. Build the project with Maven:<br \/>\n&#8220;`bash<br \/>\nmvn package<br \/>\n&#8220;`<br \/>\n2. Copy the generated JAR (`target\/chestlock-1.0-SNAPSHOT.jar`) to the<br \/>\n`plugins` directory of your Paper server.<br \/>\n3. Start the server. When starting for the first time, `messages.yml` and<br \/>\n   `config.yml` will be created in the plugin data folder.<br \/>\n4. Customise `messages.yml` or `config.yml` as needed.<\/p>\n<p>## Configuration<\/p>\n<p>`config.yml` currently contains two options:<\/p>\n<p>&#8220;`yaml<br \/>\nvisual:<br \/>\n  particles: true<br \/>\n  indicator: true<br \/>\n&#8220;`<\/p>\n<p>&#8211; `particles`: activates particle effects when opening attempts fail<br \/>\n  and after locking.<br \/>\n&#8211; `indicator`: displays a temporary \u2018closed\u2019 sign above the chest.<\/p>\n<p>A complete sample configuration is included in the plugin archive.<\/p>\n<p>## Messages<\/p>\n<p>All texts come from `messages.yml` and use the<br \/>\nMiniMessage format. You<br \/>\ncan customise this file to use translations or your own colours.<\/p>\n<p>Example entries:<\/p>\n<p>&#8220;`yaml<br \/>\nchest:<br \/>\n  locked: \u2018<red>This chest is locked and you do not have the right key.\u2019<br \/>\n&#8220;`<\/p>\n","protected":false},"excerpt":{"rendered":"<p>ChestKey is a Paper (1.21.11+) Minecraft plugin that lets you lock and protect chests using unique keys. It uses only the official Adventure API (no NMS or reflection).<\/p>\n","protected":false},"featured_media":39377,"template":"","meta":{"_minecraft_slug":"chestkey","_minecraft_project_id":"YTOxvCyB","_minecraft_author":"leotrax3d","_minecraft_license":"MIT","_minecraft_downloads":57,"_minecraft_follows":0,"_minecraft_client_side":"unsupported","_minecraft_server_side":"required","_minecraft_storage_type":"zip","_minecraft_archive_name":"chestkey.zip","_minecraft_size_bytes":116142,"_minecraft_version_count":4,"_minecraft_updated_at":"2026-05-15T20:57:20.366577Z","_minecraft_date_created":"2026-03-04T21:27:21.771475Z","_minecraft_date_modified":"2026-02-28T15:31:05.902122Z","_minecraft_project_url":"https:\/\/modrinth.com\/mod\/chestkey","_minecraft_icon_attachment_id":39377,"_minecraft_imported_at":"2026-06-01T20:45:28+00:00","_minecraft_import_hash":"a368167c9d9d6d71c43b919eed506c64","_minecraft_versions":"","_minecraft_links":"","_minecraft_gallery":"","_minecraft_api_metadata":""},"mod_category":[87,124,844,88,126,127,867,129,91,869,92],"mod_loader":[130,132,134],"minecraft_version":[62,37,40,41,73,74,38,78,79,80,81,82],"class_list":["post-39376","mod","type-mod","status-publish","has-post-thumbnail","hentry","mod_category-adventure","mod_category-bukkit","mod_category-economy","mod_category-equipment","mod_category-management","mod_category-paper","mod_category-social","mod_category-spigot","mod_category-storage","mod_category-transportation","mod_category-utility","mod_loader-bukkit","mod_loader-paper","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>ChestKey - 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\/chestkey\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ChestKey - Minecraft\" \/>\n<meta property=\"og:description\" content=\"ChestKey is a Paper (1.21.11+) Minecraft plugin that lets you lock and protect chests using unique keys. It uses only the official Adventure API (no NMS or reflection).\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vpesports.com\/minecraft\/mods\/chestkey\/\" \/>\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=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/chestkey\\\/\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/chestkey\\\/\",\"name\":\"ChestKey - Minecraft\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/chestkey\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/chestkey\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/chestkey-icon-de869ee46507d2ed157363e3f45c6564da48ab91_96.webp\",\"datePublished\":\"2026-06-01T20:45:27+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/chestkey\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/chestkey\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/chestkey\\\/#primaryimage\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/chestkey-icon-de869ee46507d2ed157363e3f45c6564da48ab91_96.webp\",\"contentUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/chestkey-icon-de869ee46507d2ed157363e3f45c6564da48ab91_96.webp\",\"width\":96,\"height\":96},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/chestkey\\\/#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\":\"ChestKey\"}]},{\"@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":"ChestKey - 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\/chestkey\/","og_locale":"en_US","og_type":"article","og_title":"ChestKey - Minecraft","og_description":"ChestKey is a Paper (1.21.11+) Minecraft plugin that lets you lock and protect chests using unique keys. It uses only the official Adventure API (no NMS or reflection).","og_url":"https:\/\/vpesports.com\/minecraft\/mods\/chestkey\/","og_site_name":"Minecraft","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/vpesports.com\/minecraft\/mods\/chestkey\/","url":"https:\/\/vpesports.com\/minecraft\/mods\/chestkey\/","name":"ChestKey - Minecraft","isPartOf":{"@id":"https:\/\/vpesports.com\/minecraft\/#website"},"primaryImageOfPage":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/chestkey\/#primaryimage"},"image":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/chestkey\/#primaryimage"},"thumbnailUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/chestkey-icon-de869ee46507d2ed157363e3f45c6564da48ab91_96.webp","datePublished":"2026-06-01T20:45:27+00:00","breadcrumb":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/chestkey\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vpesports.com\/minecraft\/mods\/chestkey\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vpesports.com\/minecraft\/mods\/chestkey\/#primaryimage","url":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/chestkey-icon-de869ee46507d2ed157363e3f45c6564da48ab91_96.webp","contentUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/chestkey-icon-de869ee46507d2ed157363e3f45c6564da48ab91_96.webp","width":96,"height":96},{"@type":"BreadcrumbList","@id":"https:\/\/vpesports.com\/minecraft\/mods\/chestkey\/#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":"ChestKey"}]},{"@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\/39376","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\/39377"}],"wp:attachment":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media?parent=39376"}],"wp:term":[{"taxonomy":"mod_category","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_category?post=39376"},{"taxonomy":"mod_loader","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_loader?post=39376"},{"taxonomy":"minecraft_version","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/minecraft_version?post=39376"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}