Description
๐ Lock & Key
This plugin has a full-fledged system of keys and locks, which turns the usual protection of chests into game mechanics.
Access to containers is now determined not by rights or commands, but by physical keys with a unique form code.
๐ Keys Each created key receives a unique FormCode in the format:
XXX#123
This code determines which containers (chests, barrels, etc.) it can open.
๐งฑ Closing containers Sit down and press the key button on the chest The container will be linked to your key. Double chests are supported Only a key with a matching code will be able to open it.
๐ Access modes You can switch the container modes:
- Completely closed โ access only by key
- ๐ View only โ you can open it, but you can't take items
๐งช Key copying system Added a unique copy creation mechanic:
- ๐ข Key cast
- copies the FormCode of the original key
- has limited durability
- ๐ก Duplicate key
- created from an impression
- can open containers
- has a limited number of uses
โ๏ธ Key wear Duplicates lose their durability with each use. After exhausting the strength, the key breaks
๐ง Features All data is stored through the PersistentDataContainer (in other words, the block database) No commands or regions are used. Fully integrated into the gameplay
๐จ Crafts





