{"id":95074,"date":"2026-06-05T13:39:37","date_gmt":"2026-06-05T10:39:37","guid":{"rendered":"https:\/\/vpesports.com\/minecraft\/mods\/locki\/"},"modified":"2026-06-05T13:39:37","modified_gmt":"2026-06-05T10:39:37","slug":"locki","status":"publish","type":"mod","link":"https:\/\/vpesports.com\/minecraft\/mods\/locki\/","title":{"rendered":"Locki"},"content":{"rendered":"<p># Locki<\/p>\n<p>![Example](https:\/\/github.com\/Ladysnake\/Locki\/raw\/4f2927aba5f23fca8016456e10ef5af001b7f02b\/res\/demo.png)<\/p>\n<p>A Quilt library handling player inventory locking. Can also be used as a standalone mod, through the `\/locki` command.<\/p>\n<p>This mod must be installed on both server and client to work properly.<\/p>\n<p>## Overview<\/p>\n<p>Locki represents slots using *inventory nodes*. Inventory nodes are structured as a tree, allowing commands<br \/>\nor mods to quickly lock or unlock entire sections while retaining controls over finer units.<br \/>\nInventory nodes are represented as a dot-separated path, from least specific ancestor to most specific child node.<br \/>\nFor example `inventory` describes the entirety of the player&#8217;s inventory, while `inventory.armor.chest`<br \/>\ndescribes the chestplate slot of the inventory.<\/p>\n<p>When an inventory node gets locked, descendant nodes can still be unlocked, allowing you to exclude specific slots<br \/>\nfrom a broad access ban. For example, locking `inventory` then unlocking `inventory.armor.chest` will prevent the player<br \/>\nfrom touching any item in their inventory except their chestplate.<\/p>\n<p>### Commands<br \/>\nLocki adds the `\/locki` command, allowing server operators and mapmakers to interact with the API through<br \/>\ncommands.<br \/>\n&#8211; `\/locki lock <node> [<targets>] [<lock>]` : locks the inventories of one or more players<br \/>\n    &#8211; `<node>` : a full path describing a known *inventory node*.<br \/>\n    &#8211; `[<targets>]` (optional) : If specified, must be either a player&#8217;s username or a target selector. If unspecified, defaults to the player using the command. When used in a command block, player is not optional.<br \/>\n    &#8211; `[<lock>]` (optional) : If specified, must be a valid identifier referencing a registered lock. If unspecified, defaults to the generic &#8220;command&#8221; lock.<br \/>\n&#8211; `\/locki unlock <node> [<targets>] [<lock>]` : unlocks the inventories of one or more players<br \/>\n    &#8211; `[<targets>]` (optional) : If specified, must be either a player&#8217;s username or a target selector. If unspecified, defaults to the player using the command. When used in a command block, player is not optional.<br \/>\n    &#8211; `[<lock>]` (optional) : If specified, must be a valid identifier that was previously used as a lock to affect the players&#8217; inventories. If left unspecified, defaults to the generic &#8220;command&#8221; lock.<\/p>\n<p>#### Permissions<br \/>\nIf you have LuckPerms installed, the above commands can be used by players with the `locki.command.lock` permission.<br \/>\nIf you only grant `locki.command.lock.self`, players will only be able to use the commands on themselves.<\/p>\n<p>## Developer information<\/p>\n<p>For more information on how to add it to your development environment and how to use it, see the project&#8217;s readme.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A library for controlling access to the player&#8217;s inventory<\/p>\n","protected":false},"featured_media":95075,"template":"","meta":{"_minecraft_slug":"locki","_minecraft_project_id":"qS8U15sj","_minecraft_author":"Ladysnake","_minecraft_license":"LGPL-3.0-or-later","_minecraft_downloads":1229,"_minecraft_follows":19,"_minecraft_client_side":"required","_minecraft_server_side":"required","_minecraft_storage_type":"zip","_minecraft_archive_name":"locki.zip","_minecraft_size_bytes":956089,"_minecraft_version_count":6,"_minecraft_updated_at":"2026-05-17T00:32:30.692855Z","_minecraft_date_created":"2023-02-28T01:19:15.060378Z","_minecraft_date_modified":"2024-06-16T14:35:24.406825Z","_minecraft_project_url":"https:\/\/modrinth.com\/mod\/locki","_minecraft_icon_attachment_id":95075,"_minecraft_imported_at":"2026-06-05T10:39:38+00:00","_minecraft_import_hash":"5c52230dc0b93bee7d93ac85d7f4387b","_minecraft_versions":"","_minecraft_links":"","_minecraft_gallery":"","_minecraft_api_metadata":""},"mod_category":[89,873,98,91,92],"mod_loader":[100],"minecraft_version":[57,58,36,94,62],"class_list":["post-95074","mod","type-mod","status-publish","has-post-thumbnail","hentry","mod_category-game-mechanics","mod_category-library","mod_category-quilt","mod_category-storage","mod_category-utility","mod_loader-quilt","minecraft_version-1-19-3","minecraft_version-1-19-4","minecraft_version-1-20-1","minecraft_version-1-20-4","minecraft_version-1-21"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Locki - 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\/locki\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Locki - Minecraft\" \/>\n<meta property=\"og:description\" content=\"A library for controlling access to the player&#039;s inventory\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vpesports.com\/minecraft\/mods\/locki\/\" \/>\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\\\/locki\\\/\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/locki\\\/\",\"name\":\"Locki - Minecraft\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/locki\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/locki\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/locki-icon-749a29781c62d5e7e711ee48856eefdce60d5951_96.webp\",\"datePublished\":\"2026-06-05T10:39:37+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/locki\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/locki\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/locki\\\/#primaryimage\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/locki-icon-749a29781c62d5e7e711ee48856eefdce60d5951_96.webp\",\"contentUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/locki-icon-749a29781c62d5e7e711ee48856eefdce60d5951_96.webp\",\"width\":96,\"height\":96},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/locki\\\/#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\":\"Locki\"}]},{\"@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":"Locki - 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\/locki\/","og_locale":"en_US","og_type":"article","og_title":"Locki - Minecraft","og_description":"A library for controlling access to the player's inventory","og_url":"https:\/\/vpesports.com\/minecraft\/mods\/locki\/","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\/locki\/","url":"https:\/\/vpesports.com\/minecraft\/mods\/locki\/","name":"Locki - Minecraft","isPartOf":{"@id":"https:\/\/vpesports.com\/minecraft\/#website"},"primaryImageOfPage":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/locki\/#primaryimage"},"image":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/locki\/#primaryimage"},"thumbnailUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/locki-icon-749a29781c62d5e7e711ee48856eefdce60d5951_96.webp","datePublished":"2026-06-05T10:39:37+00:00","breadcrumb":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/locki\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vpesports.com\/minecraft\/mods\/locki\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vpesports.com\/minecraft\/mods\/locki\/#primaryimage","url":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/locki-icon-749a29781c62d5e7e711ee48856eefdce60d5951_96.webp","contentUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/locki-icon-749a29781c62d5e7e711ee48856eefdce60d5951_96.webp","width":96,"height":96},{"@type":"BreadcrumbList","@id":"https:\/\/vpesports.com\/minecraft\/mods\/locki\/#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":"Locki"}]},{"@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\/95074","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\/95075"}],"wp:attachment":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media?parent=95074"}],"wp:term":[{"taxonomy":"mod_category","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_category?post=95074"},{"taxonomy":"mod_loader","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_loader?post=95074"},{"taxonomy":"minecraft_version","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/minecraft_version?post=95074"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}