{"id":151092,"date":"2026-06-09T05:41:52","date_gmt":"2026-06-09T02:41:52","guid":{"rendered":"https:\/\/vpesports.com\/minecraft\/mods\/sweetlocks\/"},"modified":"2026-06-09T05:41:52","modified_gmt":"2026-06-09T02:41:52","slug":"sweetlocks","status":"publish","type":"mod","link":"https:\/\/vpesports.com\/minecraft\/mods\/sweetlocks\/","title":{"rendered":"SweetLocks"},"content":{"rendered":"<p># SweetLocks<\/p>\n<p>A nostalgic recreation of an old-fashion paid iron door plugin.<\/p>\n<p>> Default configurations are in Chinese. Check localization repository for English or other language.  <\/p>\n<p>## Introduction<\/p>\n<p>Back when I played on a 1.6 server around the 1.8 era, there was a feature called **Paid Door**.<br \/>\nYou simply placed a sign on the block above an iron door:<\/p>\n<p>&#8211; First line: `[lock]` (something like that, similar to the `[Private]` lock sign in Lockette)<br \/>\n&#8211; Second line: `Vault money price`, e.g. `100`<br \/>\n&#8211; Third line: empty<br \/>\n&#8211; Fourth line: flag &#8211; `I`, `O`, `E`, `NM`, `NP` mean:<br \/>\n  &#8211; `I` = Allow entry<br \/>\n  &#8211; `O` = Allow exit<br \/>\n  &#8211; `E` = Require empty inventory<br \/>\n  &#8211; `NM` = Require 0 Vault money<br \/>\n  &#8211; `NP` = Require no potion effects<\/p>\n<p>This creates a paid door. Players pay Vault money to teleport to the other side,<br \/>\nperfect for lottery machines, security gates, etc.<\/p>\n<p>As far as I know, the original paid door plugin has been abandoned for a long time,<br \/>\nso I decided to reimplement and improve it. The logic is actually quite simple.<\/p>\n<p>## Legacy Version Compatibility Note<\/p>\n<p>Versions **below 1.14** only receive **limited support**.<br \/>\nThey are more likely to conflict with other plugins, and it is hard to identify which plugin causes the conflict.<\/p>\n<p>If any plugin runs `block.getState().update();` on a sign,<br \/>\nthe paid door will stop working.<\/p>\n<p>This is due to Bukkit&#8217;s old API.<br \/>\nOlder versions only use the deprecated `\u00a7` color code for formatting,<br \/>\nwhich erases text components the plugin uses to store data.<\/p>\n<p>## Commands<\/p>\n<p>Root command: `\/sweetlocks`<br \/>\nAliases: `\/slocks`, `\/locks`, `\/sl`<\/p>\n<p>| Command | Description | Permission |<br \/>\n|&#8212;&#8212;&#8212;|&#8212;&#8212;&#8212;&#8212;-|&#8212;&#8212;&#8212;&#8212;|<br \/>\n| `\/locks` | Show help | None |<br \/>\n| `\/locks reload` | Reload config | OP\/Console |<\/p>\n<p>## Permissions<\/p>\n<p>&#8211; `sweet.locks.create` \u2014 Allow creating paid doors<br \/>\n&#8211; `sweet.locks.bypass.tax` \u2014 Bypass tax on Vault money collected by the door creator<br \/>\n&#8211; `sweet.locks.bypass.distance` \u2014 Bypass distance limit for using paid doors (default: within 2.6 blocks)<\/p>\n<p>## Usage<\/p>\n<p>Just write `$lock` (or your custom keyword in config) on the **first line of a sign**.<br \/>\nOnce you finish placing the sign, a paid door with price `0 money` and allow entry\/exit will be created,<br \/>\nand the edit menu will open.<\/p>\n<p>The creator can **Shift + Right-click** the sign to open the edit menu,<br \/>\nwhere they can set the price and flags for the door.<\/p>\n<p>When a player **right-clicks** the door, it shows:<br \/>\n&#8220;Costs X coins to enter. Hold Shift + Right-click to enter\/exit.&#8221;<br \/>\nRight-click the sign to view door info.<\/p>\n<p>## Mechanism<\/p>\n<p>All paid door data is saved to the sign block using `item-nbt-api` which embedded into plugin.<br \/>\nTransaction notifications are stored in a local data file and sent\/cleared when the player logs in.<\/p>\n<p>&#8211; For **1.14+**: Data is stored in the block&#8217;s **PersistentDataContainer**.<br \/>\n&#8211; For versions **below 1.14**: Data is stored in the `insertion` field of the first sign line.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A old-fasion vault money paid doors mechanism for new server!<\/p>\n","protected":false},"featured_media":151093,"template":"","meta":{"_minecraft_slug":"sweetlocks","_minecraft_project_id":"ERvu6JUD","_minecraft_author":"MrXiaoM","_minecraft_license":"AGPL-3.0-only","_minecraft_downloads":23,"_minecraft_follows":0,"_minecraft_client_side":"unsupported","_minecraft_server_side":"required","_minecraft_storage_type":"zip","_minecraft_archive_name":"sweetlocks.zip","_minecraft_size_bytes":1529571,"_minecraft_version_count":3,"_minecraft_updated_at":"2026-05-15T22:30:08.235806Z","_minecraft_date_created":"2026-03-16T22:03:07.298808Z","_minecraft_date_modified":"2026-05-12T03:46:19.378056Z","_minecraft_project_url":"https:\/\/modrinth.com\/mod\/sweetlocks","_minecraft_icon_attachment_id":151093,"_minecraft_imported_at":"2026-06-09T02:41:53+00:00","_minecraft_import_hash":"612f95bd0dc520b3409444e7be729ee1","_minecraft_versions":"","_minecraft_links":"","_minecraft_gallery":"","_minecraft_api_metadata":""},"mod_category":[124,844,125,89,127,128,129,123,92],"mod_loader":[130,131,132,133,134],"minecraft_version":[339,357,379,438,110,115,118,49,51,54,59,62,22,860,83],"class_list":["post-151092","mod","type-mod","status-publish","has-post-thumbnail","hentry","mod_category-bukkit","mod_category-economy","mod_category-folia","mod_category-game-mechanics","mod_category-paper","mod_category-purpur","mod_category-spigot","mod_category-technology","mod_category-utility","mod_loader-bukkit","mod_loader-folia","mod_loader-paper","mod_loader-purpur","mod_loader-spigot","minecraft_version-1-10","minecraft_version-1-11","minecraft_version-1-12","minecraft_version-1-13","minecraft_version-1-14","minecraft_version-1-15","minecraft_version-1-16","minecraft_version-1-17","minecraft_version-1-18","minecraft_version-1-19","minecraft_version-1-20","minecraft_version-1-21","minecraft_version-1-8","minecraft_version-1-9","minecraft_version-26-1"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>SweetLocks - 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\/sweetlocks\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SweetLocks - Minecraft\" \/>\n<meta property=\"og:description\" content=\"A old-fasion vault money paid doors mechanism for new server!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vpesports.com\/minecraft\/mods\/sweetlocks\/\" \/>\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\\\/sweetlocks\\\/\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/sweetlocks\\\/\",\"name\":\"SweetLocks - Minecraft\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/sweetlocks\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/sweetlocks\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/sweetlocks-icon-d0dc6395793c80f8194fbbf4c740245f541187e2.png\",\"datePublished\":\"2026-06-09T02:41:52+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/sweetlocks\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/sweetlocks\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/sweetlocks\\\/#primaryimage\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/sweetlocks-icon-d0dc6395793c80f8194fbbf4c740245f541187e2.png\",\"contentUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/sweetlocks-icon-d0dc6395793c80f8194fbbf4c740245f541187e2.png\",\"width\":128,\"height\":128},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/sweetlocks\\\/#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\":\"SweetLocks\"}]},{\"@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":"SweetLocks - 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\/sweetlocks\/","og_locale":"en_US","og_type":"article","og_title":"SweetLocks - Minecraft","og_description":"A old-fasion vault money paid doors mechanism for new server!","og_url":"https:\/\/vpesports.com\/minecraft\/mods\/sweetlocks\/","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\/sweetlocks\/","url":"https:\/\/vpesports.com\/minecraft\/mods\/sweetlocks\/","name":"SweetLocks - Minecraft","isPartOf":{"@id":"https:\/\/vpesports.com\/minecraft\/#website"},"primaryImageOfPage":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/sweetlocks\/#primaryimage"},"image":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/sweetlocks\/#primaryimage"},"thumbnailUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/sweetlocks-icon-d0dc6395793c80f8194fbbf4c740245f541187e2.png","datePublished":"2026-06-09T02:41:52+00:00","breadcrumb":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/sweetlocks\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vpesports.com\/minecraft\/mods\/sweetlocks\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vpesports.com\/minecraft\/mods\/sweetlocks\/#primaryimage","url":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/sweetlocks-icon-d0dc6395793c80f8194fbbf4c740245f541187e2.png","contentUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/sweetlocks-icon-d0dc6395793c80f8194fbbf4c740245f541187e2.png","width":128,"height":128},{"@type":"BreadcrumbList","@id":"https:\/\/vpesports.com\/minecraft\/mods\/sweetlocks\/#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":"SweetLocks"}]},{"@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\/151092","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\/151093"}],"wp:attachment":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media?parent=151092"}],"wp:term":[{"taxonomy":"mod_category","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_category?post=151092"},{"taxonomy":"mod_loader","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_loader?post=151092"},{"taxonomy":"minecraft_version","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/minecraft_version?post=151092"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}