ChestLocked: Smart Container Locks with Economy

LockedChest: The Ultimate Economy-Driven Protection Plugin for Minecraft Servers Running a survival Minecraft server comes with its fair share of challenges, and protecting player belongings sits right at the top of that list. Griefers, thieves, and even accidental mishaps can ruin hours of hard ...

Download ChestLocked for Minecraft 1.21.2, 1.20.6

Original name: ChestLocked

Minecraft: 1.20.6, 1.21.2

FileVersionLoaderSize
ChestLocked-1.5.jar1.20.6—27 КБDownload
ChestLocked-1.6.jar1.20.6—57 КБDownload
ChestLocked-1.3.jar1.21.2—18 КБDownload
ChestLocked-1.4.jar1.21.2—20 КБDownload

LockedChest: The Ultimate Economy-Driven Protection Plugin for Minecraft Servers

Running a survival Minecraft server comes with its fair share of challenges, and protecting player belongings sits right at the top of that list. Griefers, thieves, and even accidental mishaps can ruin hours of hard work in seconds. While plenty of protection plugins exist, most offer free, unlimited locks that do little to stimulate a server's economy. LockedChest takes a completely different approach, weaving container security directly into your server's financial ecosystem through a clever tax and banking system that keeps players engaged and invested.

What Makes LockedChest Stand Out

LockedChest is not just another lock plugin. It is a lightweight, performance-tuned protection system built for modern Minecraft servers running Spigot or Paper. The plugin safeguards a wide range of blocks including standard chests, trapped chests, barrels, furnaces, blast furnaces, smokers, dispensers, droppers, hoppers, lecterns, brewing stands, and every variant of shulker box. Beyond containers, it extends its protection to doors, trapdoors, and fence gates, making it a comprehensive security solution for any base or shop area.

What truly sets LockedChest apart is its integrated economy layer. Instead of handing out free protection, server administrators can configure a one-time locking fee and a recurring daily tax on each secured container. This creates a natural gold sink that helps regulate inflation while giving players a tangible reason to stay active and earn currency. The plugin hooks directly into Vault, meaning it works seamlessly with any economy plugin your server already uses.

The Chest Bank and Tax System Explained

At the heart of LockedChest lies its innovative Chest Bank feature. Each locked container has its own dedicated bank balance that players can deposit funds into directly through a sleek graphical user interface. When the daily tax cycle runs, the plugin automatically deducts the configured amount from each chest's bank. If a chest's bank runs dry, the container remains locked but becomes inaccessible to its owner until the outstanding tax is paid. This mechanic prevents abandoned locks from cluttering the server while encouraging active resource management.

Server owners have granular control over the economy settings. The base daily tax can be supplemented with a scaling penalty that increases based on the total number of locks a player owns. This prevents any single player from monopolizing vast areas with hundreds of locked containers. The tax interval is fully configurable in hours, and a convenient deposit amount can be preset so players can quickly top up their chest banks through the GUI with a single click.

Anti-Exploit Engine: Stopping Griefers in Their Tracks

LockedChest does not simply place a sign and hope for the best. Its protection layer is engineered to counter the most common bypass techniques that griefers use on survival servers. The piston-proofing system prevents sticky pistons from pushing or pulling locked blocks, closing off a well-known exploit path. Explosion protection ensures that TNT blasts and creeper detonations leave locked containers untouched, preserving valuable inventories even during chaotic raids. Hopper security is equally robust, blocking unauthorized item extraction through both standard hoppers and hopper minecarts unless the destination container is also locked by the same owner.

Additional safeguards include fire spread prevention for wooden containers, liquid flow blocking to protect lock signs from being washed away, and chest merge prevention that stops players from placing an adjacent chest next to a locked one they do not own. These layered defenses work together silently in the background, requiring no extra configuration from players.

Intuitive GUI Management for Players

Gone are the days of memorizing lengthy commands to manage container permissions. LockedChest introduces a streamlined management menu accessible by shift-right-clicking any locked block. From this interface, players can add friends to their lock by selecting nearby players from a list, check the current tax status and bank balance, deposit funds, and manage access rights. The proximity-based friend detection pulls players within a configurable radius, eliminating the need to type out exact usernames. This GUI-first approach makes the plugin accessible even to younger players or those unfamiliar with command-line interfaces.

For those who enjoy tinkering with their server setup, installing and configuring LockedChest is refreshingly straightforward. Many server administrators find that using a modern launcher like the one available at foxygame.net simplifies the entire process, as it allows you to browse and download plugins directly from an integrated menu without hunting through forum threads or external repositories.

Performance That Respects Your Server's TPS

One of the most impressive technical aspects of LockedChest is its in-memory caching system for player data. Traditional protection plugins often read from disk or scan chunks repeatedly, introducing lag that drags down ticks per second. LockedChest stores player lock data in memory, accessing it instantly without constant file I/O operations. The result is zero measurable impact on server performance, even on large servers with hundreds of active locks. The scaling tax penalty calculation also leverages this cache system, ensuring that economic calculations never become a source of lag.

Configuration Deep Dive

The config.yml file is thoroughly documented and organized into logical sections. General settings cover the lock tag appearance, admin bypass permissions, proximity radius for the friend GUI, and the auto-lock feature that automatically secures a container when a blank sign is placed. The lockable blocks list is extensive and uses standard Bukkit material names, making it easy to add or remove specific block types as needed.

Database configuration supports both SQLite for simple single-server setups and MySQL for networks requiring cross-server lock data synchronization. The protection section toggles each anti-exploit feature independently, while the economy section handles Vault integration, costs, taxes, and deposit amounts. A lockpicking minigame adds an optional layer of interaction, with configurable difficulty through speed ticks. Maintenance settings include an auto-expire feature that removes locks belonging to players who have been offline for a configurable number of days, keeping the world clean of abandoned claims.

Commands and Administrative Control

  • /chestlock reload - Reloads the plugin configuration without restarting the server
  • /chestlock info - Displays plugin information or details about a specific lock
  • /chestlock getlockpick - Provides a lockpick item for administrative or gameplay purposes

The admin bypass option in the configuration allows operators and administrators to open or break any lock, which is essential for moderation and resolving disputes. Lock limits can be set per player, with the option to make them unlimited by setting the value to negative one.

Why LockedChest Belongs on Your Server

LockedChest strikes a rare balance between robust protection and economic integration. It does not simply hand out free security; it makes container ownership a meaningful part of the player experience. The tax system keeps the economy moving, the anti-exploit engine keeps griefers at bay, and the GUI management keeps everything accessible. Whether you run a small community survival world or a large network with complex economies, this plugin scales gracefully without compromising performance.

The plugin receives regular updates, and the developer recommends deleting the old config.yml when upgrading to generate a fresh one with new features. Community support is available through the discussion tab on its distribution page, and user ratings help drive continued development. For server owners seeking a protection solution that does more than just lock blocks, LockedChest delivers a polished, economy-driven experience that players will appreciate and administrators will find effortless to maintain.