COWMODSКаталог модов

LockIT

LockIT transforms the protection of chests and doors into a real game mechanic, requiring keys and locks.

Автор: o_stein5469обновлён 22 окт. 2026 г.
Механики игрыХранениеУтилиты

Описание

🔐 LockIT: Physical Locks, Keys & Lockpicking

Protect your chests and doors with real items, not chat commands.

LockIT is a protection plugin for Paper 1.21+. You lock a block by fitting a lock item to it and opening it with a key you forged. Locks can be picked, so a strong lock costs real resources, and thieves need skill, tools and some luck.


✨ Features

  • 🔒 Physical protection. Locks and keys are real items you craft, trade, lose and steal.
  • 🗝️ Forged keys. Every key gets its own code at a Smithing Table.
  • 🧩 Lockpicking minigame. Find the hidden pin order before you run out of lives.
  • 🪤 Traps (new in 1.7). Ink, sound and spike traps go off on anyone who picks the wrong pin.
  • 🔑 Master keys. Merge keys in an anvil so one key opens several locks.
  • 🚪 Double doors and double chests. One lock covers both halves.
  • 💥 Grief-proof. Locked blocks can't be broken, blown up or emptied by hoppers.
  • 🎨 Built-in resource pack. Custom textures for locks, keys, traps and menus, sent automatically when players join.
  • ⚙️ Fully configurable. Items, recipes, difficulty, traps and messages are all editable.

Lockable blocks: chests, trapped chests, barrels, shulker boxes, doors, trapdoors and fence gates.


🗝️ Keys

ActionHow
CraftCraft a blank key at a crafting table.
ForgeRight-click a Smithing Table while holding the blank key. It gets a unique code.
CopyIn your inventory, click a forged key onto a blank key. (Survival only)
ResetRight-click a Grindstone to erase the code.
Master keyIn an anvil, combine two coded keys. The first key keeps both codes. Repeat to add more.

🔒 Locks

  1. Program the lock. In your inventory, click your forged key onto a lock. The lock takes the key's code.
  2. Install it. Sneak and right-click a lockable block to open the lock menu, then put the lock in it.
  3. Use it.
    • Right-click with the key to lock or unlock the block.
    • Sneak and right-click with the key to open the lock menu again and swap or remove the lock and trap.

You only need the key somewhere in your inventory to open a locked block. You don't have to hold it.


🧩 Lockpicking

Right-click a locked block with a Lockpick to open the minigame. Click the pins in the right order.

  • ❌ Wrong pin: you lose a life and your lockpick loses durability.
  • ✅ Whole sequence right: the block unlocks.
  • 💀 No lives left: the attempt fails.
LevelPinsLives
165
275
385
484
594
6Can't be picked–

Every value can be changed in lockpick.yml.


🪤 Traps

Put a trap in the 4th slot of the lock menu. It goes off every time a thief clicks a wrong pin.

TrapEffect
🖤 Ink TrapBlinds the thief, makes them glow through walls and kicks them out of the minigame.
🔔 Sound TrapSets off an alarm and tells nearby players where it happened.
🗡️ Spike TrapDamages the thief. They can keep picking if they're brave enough.

Traps can only go off a limited number of times (shown as Uses left in the tooltip). You get the trap back when you remove the lock. Durability, damage, blindness time, alert radius and kick behavior are all set in traps.yml.


⚙️ Configuration

FileWhat it controls
config.ymlAction bar messages, double-door behavior, master keys, resource pack
items.ymlNames, materials and Custom Model Data for every item
craftings.ymlRecipes for every item (or turn them off)
lockpick.ymlPins, lives and lockpick durability
traps.ymlTrap durability and effects
messages.ymlEvery message, ready to translate

Use /lockit reload to apply changes without restarting.


💻 Commands

You don't need any commands to play. These are for admins. Permission: lockit.admin (default: OP)

CommandDescription
/lockit keyGet a blank key
/lockit customkey <id>Get a key with a specific code
/lockit universalkeyGet a key that opens every lock
/lockit lock <1-6>Get a lock of the chosen level
/lockit lockpickGet a lockpick
/lockit trap <ink|sound|spike>Get a trap
/lockit reloadReload all config files

📦 Installation

  1. Put the .jar in your server's /plugins folder.
  2. Restart the server.
  3. Edit the generated config files if you want, then run /lockit reload.

Requires: Paper 1.21+ and Java 21.


Heavily inspired by the old Locks and Lockpicking plugin, which was discontinued in 2019.

💬 For feature requests or bug reports, find me on Discord: o_stein

Галерея

All LockIT items

Последние версии

Все версии →
release

🪤 Traps

1.7
22 окт. 2026 г.56Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2, 26.3paper, purpur
Скачать
Что нового
### ✨ Changes & Improvements - **Traps** — Protect a lock with a trap. Open the lock menu and put a trap in the **fourth slot**. The trap goes off on a robber each time they click a **wrong pin** while picking the lock. - **Three traps:** - **Ink Trap** — Blinds the robber, makes them glow and throws them out of the lockpicking menu. - **Sound Trap** — Sounds a loud alarm and tells nearby players where it went off. Throws the robber out of the lockpicking menu. - **Spike Trap** — Damages the robber. They can keep picking. - **A trap needs a lock** — A trap only stays in a block that has a lock with a code. Otherwise it is given back when you close the menu. - **Removing a lock gives the trap back** — Take the lock out and close the menu: the trap comes back to you too. - **Trap durability** — Each trap can go off a limited number of times, shown as **Uses left** in its tooltip. It breaks when none are left. - **New lock menu layout** — The lock now goes in the **second slot** and the trap in the **fourth**. The menu has a new texture. - **New `traps.yml`** — For each trap: - `durability` — How many times it can go off (`0` = never breaks). Defaults: Ink `3`, Sound `5`, Spike `10`. - `kick` — Throw the robber out of the lockpicking menu when it goes off. Default `true` for Ink and Sound, `false` for Spike. - Ink `blindness-seconds` and `glowing-seconds`, Sound `alert-radius`, Spike `damage`. - **Crafting** — Recipes for all three traps in `craftings.yml`, and their names and `custom_model_data` (`110`, `111`, `112`) in `items.yml`. - **New command** — `/lockit trap <ink|sound|spike>`. - **Resource pack** — Textures for the three traps and the new lock menu, and a 3D key model when holding a key. If your `config.yml` still uses the pack from an older LockIT version, it is switched to the new one automatically. ### 🛠️ Fixes & Tweaks - Swapping the lock in the lock menu for a different lock now installs the new one. Before, the new lock was lost and the old one was duplicated. - New options added by an update now work right away. Before, some only applied after a second restart (new items showed up as stone named "Item Error"). - Locks, keys and lockpicks from older versions keep working, so nothing needs migrating. Thanks for using LockIT! — Stein
release

Master Keys & Textures

1.6
21 окт. 2026 г.15Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2, 26.3paper, purpur
Скачать
Что нового
**🔑 Master Keys** Combine keys in an **anvil** to create one key that opens several locks. - Put a key in the **first slot** and the key to merge in the **second slot**. The result holds the codes of **both** keys, and the second key is consumed. - Repeat to add as many codes as you like. - Merged keys are named **Master Key** and get their own model, so they look different from regular keys. - Type a name in the anvil to rename the key while merging. - Every code a key holds is listed in its tooltip. - Copy a master key onto a blank key to duplicate it with all its codes. **🎨 Resource Pack (1.21 – 26.3)** - New textures for all 6 locks, keys, lockpicks, and both menus. - Sent automatically when players join, so there's nothing for them to install. - Fully optional: set `resource-pack.enabled: false` in `config.yml` to play without textures. - Players who don't load the pack still get the normal menus. **🔒 New Lock Menu** - The lock menu is now a **hopper** menu with the lock in the **middle slot**. - The other slots stay empty and can't hold items. **📌 Named Pins** - The pins in the lockpicking minigame are now called **Pin** (editable with `lp_pin_name` in `messages.yml`). ### ⚙️ New Config Options **`config.yml`** - `master-key.enabled`: turn anvil merging on or off (default `true`) - `master-key.xp-cost`: XP levels per merge (default `5`, minimum `1`; costs above 40 are allowed) - `master-key.max-codes`: max codes per key (`0` = no limit) - `resource-pack`: `enabled`, `url`, `sha1`, `id`, `prompt`, `required` **`items.yml`** - `master_key`: name and `custom_model_data` (`102`) for master keys ### 🛠️ Fixes & Tweaks - Item names no longer show raw color codes (like `&fKey`), including when renaming in an anvil. - A master key can't program a lock, since a lock holds one code. You now get a clear message instead. - The anvil only accepts **one** key in the first slot, so stacked keys are never lost. - Merging keys that add no new code shows no result, so no XP is wasted. ### 📦 Updating - Just replace the jar. New config options are added automatically, and your settings are kept. - Existing keys and locks keep working, with nothing to migrate. - If you were sending a resource pack through `server.properties`, remove it there so players don't get it twice. Thanks for using LockIT! — Stein
release

Double doors

1.5
3 авг. 2026 г.167Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2paper, purpur
Скачать
release

Double Chests, Menu Rework & Fixes

1.4
3 июл. 2026 г.82Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2paper, purpur
Скачать
Что нового
### ✨ Changes & Improvements - **Reworked lock menu access** — Sneak + right-click a container while holding a **key**, **lock**, or **empty hand** to open the lock menu. - **Manage locks from the menu** — Sneak + right-click an installed lock with the matching key to open it. Remove a lock simply by taking it out of the menu. - **Key toggling** — Right-click a locked block with the correct key to instantly switch between **Locked** and **Unlocked**. - **Double chest support** — Both halves of a double chest now share the same lock, just like the two halves of a door. ### 🛠️ Fixes & Tweaks - Left-clicking a lock no longer removes it (removal is now handled through the menu). - Trying to transfer a key code onto a lock in **Creative mode** now shows a clear message instead of silently failing. - The plugin prefix now displays correctly on action bar messages. - **Locked**, **Unlocked**, and **Opened** status messages stay clean (no prefix) for a tidier look. Thanks for using LockIT! — Stein
release

Lockpick durability

1.3
21 июн. 2026 г.46Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2paper, purpur
Скачать
Что нового
Now you can set the lockpick durability in lockpick.yml
release

Update checker + Bug fixes

1.2
19 мар. 2026 г.92Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11paper, purpur
Скачать
Что нового
**Added Update Checker:** Receive notifications in-game when a new version is available. **Door Protection:** You can no longer break the block beneath a door while it is locked. (Thanks to ManagerMoney for the report!)
release

Bug fixes

1.1
10 мар. 2026 г.27Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11paper, purpur
Скачать
release

First version

1.0
4 февр. 2026 г.58Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11paper, purpur
Скачать
Что нового
It may contain bugs; if you find any, please let me know on Discord: o_stein