premium banner
Lock It! Protect your chests, furnaces, and containers with per-block locks. Supports any modded item. Crouch + interact to lock. Add trusted players. Prevents crafting bench theft. Migrate from SimpleClaims supported.

Description

Lock It

Protect your containers, crafting stations, and interactable blocks with simple per-block locks. No more worrying about theft on shared servers!

image

Features

Easy Locking

  • Crouch + Interact on any container to lock it instantly
  • Works on chests, furnaces, lecterns, and any block with a "Use" interaction
  • Only the owner can break locked blocks

Player Access Control

  • Per-Lock Access: Add specific players to individual locks
  • Global Trusted Players: Trust players to access ALL your locks at once
  • Public Locks: Add "[All Players]" to make community containers anyone can use but only you can manage

Crafting Bench Protection

  • Prevents the crafting bench exploit where players could pull items from nearby locked containers
  • Your locked chests stay protected even when others craft nearby

Admin Tools

  • /lockit admin-override - Admins can access and manage any lock
  • /lockit testother - Test your locks as if you were another player
  • /lockit migrate-simpleclaims - Migrate from SimpleClaims chunk protection

How to Use

Locking a Block

  1. Look at any container or interactable block
  2. Hold crouch and interact (default: Shift + F)
  3. Block is now locked to you!

Managing a Lock

  1. Crouch + interact on a block you own
  2. Opens the Lock Management GUI
  3. This Lock tab: Add/remove players for this specific block
  4. All Locks tab: Manage globally trusted players

Making a Public Container

  1. Open the lock management GUI
  2. Select "[All Players]" from the dropdown
  3. Click Add - now everyone can use it, but only you control it

Permissions

Permission Description
makapar.lockit.admin Access to admin commands

Configuration

plugins/LockIt/config.json:

{
  "protectFromCraftingBench": true
}

Migration from SimpleClaims

If you're switching from SimpleClaims:

  1. Keep SimpleClaims loaded alongside LockIt
  2. Run /lockit migrate-simpleclaims
  3. Party members and allies become trusted players
  4. All protected containers are converted to individual locks
  5. Remove SimpleClaims after migration completes

Data Storage

  • plugins/LockIt/locks.json - All lock data
  • plugins/LockIt/trusted_players.json - Global trust relationships
  • plugins/LockIt/config.json - Configuration

Server-side only - Players don't need to install anything. Just add to your server's mods folder!