ChestProtection icon

ChestProtection -----

A new way to easily protect your chest without the use of any command!



ChestProtection
A simple GUI-based container protection plugin for Spigot and Paper servers.

ChestProtection lets players protect their goods through a in-game GUI.
No complicated commands are required for normal players: sneak, hold the configured protection tool, right click a chest, and manage everything from the menu.

Features
  • Protect chests, trapped chests, barrels, shulker boxes, colored shulker boxes, and copper chest variants
  • Double chests are handled as one logical protection
  • GUI-based protection management
  • Add and remove trusted friends using player heads
  • Nearby-player selector with configurable range
  • Public view-only access: players can view contents without moving items
  • Admin bypass command for staff members
  • Optional custom protection tool with custom name, lore, model data, and crafting recipe
  • Optional protection creation cost
  • Optional explosion-protection upgrade cost
  • Blocks unauthorized opening, breaking, hoppers, pistons, explosions, and dispenser/dropper insertion
  • SQLite database created automatically
  • Configurable language files
  • Debug logging option for troubleshooting

Preview
Protecting a chest
https://i.imgur.com/JC3njn2.gif
Show: player sneaking with the protection item, right clicking a chest, opening the protection GUI, and confirming the protection.

Adding a friend
https://i.imgur.com/G0DUJCD.gif
Show: owner opening the GUI, clicking the friends button, selecting a nearby player head, and then removing the friend from the list.

Public view-only access
https://i.imgur.com/sDIBj2X.gif
Show: owner enabling public view-only access, another player opening the chest, trying to move an item, and getting blocked.

Admin bypass
https://i.imgur.com/mevakK8.gif
Show: admin enabling bypass, opening/breaking a protected chest, then disabling bypass again.


How It Works

Players can protect a container by sneaking while holding the configured protection tool and right clicking the container.

By default, the protection tool is a stick, but server owners can change it in the config or enable a custom plugin-created item.

Once a container is protected, the owner can:
  • Add friends
  • Remove friends
  • Enable public view-only access
  • Buy explosion protection if enabled
  • Remove the protection

Supported Containers
  • Chest
  • Trapped Chest
  • Barrel
  • Shulker Boxes
  • Colored Shulker Boxes
  • Copper Chest variants

Commands & Permissions
Code (Text):
/chestprotection help
Permission: chestprotection.help

/chestprotection reload
Permission: chestprotection.reload

/chestprotection bypass
Permission: chestprotection.bypass

/chestprotection giveitem [player] [amount]
Permission: chestprotection.give

/cp
Alias for /chestprotection
Configuration
ChestProtection includes options for:
  • Changing the protection tool material
  • Enabling a custom protection item
  • Creating a custom crafting recipe
  • Charging players to create protections
  • Charging players for explosion-protection upgrades
  • Changing the nearby-player range
  • Enabling/disabling public view-only access
  • Changing all player-facing messages through language files

Compatibility
  • Built with Java 17
  • Built against Spigot API 1.20.4
  • Tested on Paper 1.20.4+

Installation
  1. Download the jar
  2. Place it inside your server's plugins folder
  3. Restart the server
  4. Edit plugins/ChestProtection/config.yml if needed
  5. Use /cp reload after changing config or language files

Support
If you find a bug or have a feature request, please use the discussion section and include:
  • Server version
  • Plugin version
  • Steps to reproduce the issue
  • Any console errors, if present
Resource Information
Author:
----------
Total Downloads: 11
First Release: Jun 9, 2026
Last Update: Jun 9, 2026
Category: ---------------
All-Time Rating:
1 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings