MuteBefehl Wiki

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

  • /lock - manual lock, set public/private
  • /trust - add or remove a trusted player via click

Configuration

Modules:
  ChestLock:
    Enabled: true

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

NodeGrants
muteessentials.chestlockUse the lock/trust commands (defaults to everyone)
muteessentials.chestlock.adminOpen, 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.

On this page