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

Lock & Key

Lock & Key implements a system of keys and locks, where access to containers is determined by a unique form code. Keys are attached to the chests by right-clicking in a squat, full-close and view-only modes are supported.

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

Описание

Русское описание

🔐 Lock & Key

Lock & Key adds a full-fledged key and lock system to Minecraft containers, turning chest protection into a gameplay mechanic.

Access to containers is determined not by permissions or commands, but by physical keys with unique FormCodes.


🔑 Keys

Each created key receives a unique FormCode in the format:

XXX#123

This code determines which containers (chests, barrels, etc.) the key can open.


🧱 Locking Containers

Sneak and right-click a container with a key to bind it to that key.

  • Double chests are supported
  • Only keys with a matching FormCode can open the container

🔄 Access Modes

Containers support multiple access modes:

  • 🔒 Fully Locked — access only with the correct key
  • 👁 View Only — players can open the container, but cannot take items

🧪 Key Copying System

The plugin includes a unique key duplication mechanic:

🟢 Key Cast

  • Copies the FormCode of the original key
  • Has limited durability

🟡 Duplicate Key

  • Created from a key cast
  • Can open linked containers
  • Has a limited number of uses

⚙️ Key Durability

Duplicate keys lose durability with each use.

When durability reaches zero, the key breaks.


🧠 Features

  • Uses PersistentDataContainer for data storage
  • No commands or region systems required
  • Fully integrated into survival gameplay
  • Lightweight and server-friendly

🔨 Crafts

Creating "Cast Key"

Creating "Duplicate Key"

Creating "Key"

Галерея

Создание "Ключ"Создание "Слепок ключа"Создание "Дублированный ключ"

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

Все версии →
beta

Bug fixes

1.1.0
27 апр. 2026 г.52Minecraft: 26.1, 26.1.1, 26.1.2velocity
Скачать
Что нового
# Fixed bugs: # ## - Dupe in the chest, in the "View Only" mode; ## - A bug with opening a LOCKED door using redstone; ## - Every possible correction of the behavior of the schalker. _Did you find a bug? Please contact:_ _E-Mail - khorror132@gmail.com_ _Discord - [privet4500](https://discord.com/channels/@me/1431267068388573298)_ _Telegram - [@LEVYQw](https://t.me/LEVYQw)_
beta

Bug fixes

1.1.0
27 апр. 2026 г.11Minecraft: 26.1, 26.1.1, 26.1.2bungeecord, waterfall
Скачать
Что нового
# Fixed bugs: # ## - Dupe in the chest, in the "View Only" mode; ## - A bug with opening a LOCKED door using redstone; ## - Every possible correction of the behavior of the schalker. _Did you find a bug? Please contact:_ _E-Mail - khorror132@gmail.com_ _Discord - [privet4500](https://discord.com/channels/@me/1431267068388573298)_ _Telegram - [@LEVYQw](https://t.me/LEVYQw)_
beta

Bug fixes

1.1.0
27 апр. 2026 г.29Minecraft: 26.1, 26.1.1, 26.1.2bukkit, folia, paper, purpur, spigot
Скачать
Что нового
# Fixed bugs: # ## - Dupe in the chest, in the "View Only" mode; ## - A bug with opening a LOCKED door using redstone; ## - Every possible correction of the behavior of the schalker. _Did you find a bug? Please contact:_ _E-Mail - khorror132@gmail.com_ _Discord - [privet4500](https://discord.com/channels/@me/1431267068388573298)_ _Telegram - [@LEVYQw](https://t.me/LEVYQw)_
beta

Bug fixes

1.1.0
27 апр. 2026 г.20Minecraft: 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 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.11velocity
Скачать
Что нового
# Fixed bugs: # ## - Dupe in the chest, in the "View Only" mode; ## - A bug with opening a LOCKED door using redstone; ## - Every possible correction of the behavior of the schalker. _Did you find a bug? Please contact:_ _E-Mail - khorror132@gmail.com_ _Discord - [privet4500](https://discord.com/channels/@me/1431267068388573298)_ _Telegram - [@LEVYQw](https://t.me/LEVYQw)_
beta

Bug fixes

1.1.0
27 апр. 2026 г.16Minecraft: 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 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.11bungeecord, waterfall
Скачать
Что нового
# Fixed bugs: # ## - Dupe in the chest, in the "View Only" mode; ## - A bug with opening a LOCKED door using redstone; ## - Every possible correction of the behavior of the schalker. _Did you find a bug? Please contact:_ _E-Mail - khorror132@gmail.com_ _Discord - [privet4500](https://discord.com/channels/@me/1431267068388573298)_ _Telegram - [@LEVYQw](https://t.me/LEVYQw)_
beta

Bug fixes

1.1.0
27 апр. 2026 г.38Minecraft: 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 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.11bukkit, folia, paper, purpur, spigot
Скачать
Что нового
# Fixed bugs: # ## - Dupe in the chest, in the "View Only" mode; ## - A bug with opening a LOCKED door using redstone; ## - Every possible correction of the behavior of the schalker. _Did you find a bug? Please contact:_ _E-Mail - khorror132@gmail.com_ _Discord - [privet4500](https://discord.com/channels/@me/1431267068388573298)_ _Telegram - [@LEVYQw](https://t.me/LEVYQw)_
release

release

1.0.0
26 апр. 2026 г.19Minecraft: 26.1, 26.1.1, 26.1.2velocity
Скачать
Что нового
# релиз
release

Release

1.0.0
26 апр. 2026 г.13Minecraft: 26.1, 26.1.1, 26.1.2bungeecord, waterfall
Скачать
Что нового
# Релиз
release

Release

1.0.0
26 апр. 2026 г.31Minecraft: 26.1, 26.1.1, 26.1.2bukkit, folia, paper, purpur, spigot
Скачать
Что нового
# Релиз
release

release

1.0.0
26 апр. 2026 г.12Minecraft: 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 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.11velocity
Скачать
Что нового
# релиз