Skip to content

Releases: eldor47/ChestLockLite

Release 1.1.2

21 Dec 02:10

Choose a tag to compare

Compatibility
Update for minecraft 1.21.11

Minecraft 1.21.x (including 1.21.11)
Spigot / Paper / Purpur

v1.1.0 - Barrel, Hopper & Furnace Support

17 Nov 21:13

Choose a tag to compare

ChestLockLite v1.1.0 - Major Feature Update

What's New

Container Support Expansion

Lock barrels, hoppers, and furnaces in addition to chests! All new container types support the same features:

  • Password protection
  • Trusted players
  • GUI management
  • Admin controls

Hopper Control System

  • Per-container toggle - Control hopper access for each locked container via GUI
  • Server-wide config - Enable/disable hopper support globally
  • Extraction prevention - Prevent hoppers from extracting items when disabled

Admin Enhancements

  • Admin notifications - Admins see notifications when opening locked containers
  • Container-specific messages - Messages now show the correct container type (barrel, hopper, furnace, etc.)

Bug Fixes

  • ✅ Fixed password GUI bug where clicking "A" would input "9"
  • ✅ Fixed GUI opening when holding items (now requires empty hand for shift-right-click)

Testing

  • Added comprehensive test suite (39 tests)
  • All tests passing
  • Database migration tested

⚙️ Configuration

New config options in config.yml:

locks:
  allow-hoppers: true      # Enable hopper locking
  allow-furnaces: true     # Enable furnace locking
  admin-notification: true  # Show admin notifications

📋 Full Changelog

Added

  • Barrel locking support
  • Hopper locking support (configurable)
  • Furnace, blast furnace, and smoker locking (configurable)
  • Per-container hopper access toggle in GUI
  • Hopper extraction prevention system
  • Admin notifications for locked containers
  • Container-specific messages with {type} placeholder
  • Automatic database migration
  • Comprehensive test suite (39 tests)

Fixed

  • Password GUI: Clicking "A" now correctly adds "A" instead of "9"
  • GUI access: Shift-right-click now requires empty hand

Changed

  • Database schema updated (automatic migration)
  • Messages now use container-specific names
  • Version bumped to 1.1.0

Migration

No action required! This update is fully backward compatible:

  • Existing databases are automatically migrated
  • All existing locks continue to work
  • New features are available immediately

Documentation

🔗 Links

Release v1.0.1 - GUI empty hand requirement fix

12 Nov 02:05

Choose a tag to compare

  • Fixed GUI to only open when player has empty hand
  • Prevents accidentally placing chests/hoppers via shift-right-click
  • Updated version to 1.0.1
  • Updated documentation to reflect empty-hand requirement

ChestLockLite v1.0.0 - Initial Release

03 Nov 07:53

Choose a tag to compare

ChestLockLite v1.0.0 - Initial Release

ChestLockLite is a lightweight, simple chest locking plugin for Spigot/Paper 1.21+ servers.

✨ Features

Core Features

  • Owner Locks - Lock chests so only you can open them
  • Password Protection - Set passwords that anyone can use to unlock
  • Secure Password Storage - Passwords are hashed with SHA-256 and salt
  • Trusted Players System - Trust specific players to access your locked chests
  • Double Chest Support - Automatically handles single and double chests
  • All Chest Types - Supports regular chests, trapped chests, copper chests, and all variants (except ender chests)

Admin Tools

  • Clear single chest locks
  • Clear all locks by player
  • Clear locks in area
  • Admin bypass permission
  • Reload configuration without restart

📝 Quick Start

  1. Place a chest in the world
  2. Look at the chest and run: /cl lock
  3. Your chest is now locked!

GUI Method:

  • Shift + Right-click any chest to open the GUI menu
  • Click "Lock Chest" button

📚 Documentation

🔧 Configuration

Default configuration includes:

  • Maximum chests per player: 50
  • Maximum trusted players per chest: 20
  • Password cooldown: 3 seconds
  • Auto-lock on place: disabled (can be enabled)
  • Auto-backup interval: 24 hours

See config.yml for all configuration options.

🔐 Permissions

All permissions default to true except:

  • chestlocklite.bypass (default: false) - Bypass all locks (admin only)
  • chestlocklite.admin.* (default: op) - Admin commands

See Permissions Guide for detailed setup.

📦 Commands

Player Commands:

  • /cl lock - Lock a chest
  • /cl unlock - Unlock your chest
  • /cl password <password> - Set or enter password
  • /cl trust <player> - Trust a player
  • /cl untrust <player> - Remove trust
  • /cl trustedlist - List trusted players
  • /cl gui - Open GUI menu
  • /cl info - View lock information

Admin Commands:

  • /cl clear - Clear lock on targeted chest
  • /cl clearall <player> - Clear all locks by player
  • /cl cleararea [radius] - Clear locks in area
  • /cl reload - Reload configuration

Report Issues: GitHub Issues