ChestLock
Automatic container protection with trust and double-chest awareness.
When a player places a container, ChestLock auto-locks it for that player. Other players cannot open, modify or break the container. Trust can be granted via right-click after /trust.
What it protects
- Chests (single and double - both halves are linked into one lock)
- Trapped chests
- Hoppers, droppers, dispensers
- Barrels
- Shulker boxes
- Brewing stands, furnaces, blast furnaces, smokers (configurable)
Hoppers attempting to pull from a locked container are rejected unless the hopper's owner is trusted on the container.
Commands
Configuration
The chestlock.db is created in plugins/MuteEssentials/. The chest_locks table gets an is_public column automatically on first start, so upgrading is transparent.
Permissions
| Node | Grants |
|---|---|
muteessentials.chestlock | Use the lock/trust commands (defaults to everyone) |
muteessentials.chestlock.admin | Open, modify and break any locked container regardless of owner |
Notes
- Locks are visible to the owner via
/lockinfo(owner, trusted list, public/private, coordinates). - Public locks (
/lock public) let anyone deposit or withdraw, while still preventing destruction.