
Protect chests and barrels with wall signs! Add [private] to lock containers, list player names to share access. Blocks hoppers, explosions, and unauthorized opening. Server-side only.
Simple, powerful chest protection for your Minecraft server. Lock chests and barrels using wall signs with [private] markers. No complicated commands or permissions - just place a sign and you're protected!
Private Chests is a server-side mod that allows players to protect their chests and barrels from other players. Simply attach a wall sign to any chest or barrel, write [private] on the first line, and optionally add player names on the remaining lines to grant access. The mod handles all the protection automatically - blocking unauthorized opening, hopper extraction, explosions, and more.
Server-side only - No client mod required! Players can join with vanilla clients.
[private] on line 1 (front or back of sign)Player1, Player2Powerful commands for server management:
/private_chests list - View all locks on the server/private_chests list_in_area [radius] - Find locks near you/private_chests info <x> <y> <z> - View detailed lock information/private_chests unlock <x> <y> <z> - Remove a lock/pchests for shorter commandsThat's it! Your chest is now protected.
[private] must be on line 1 only (case-insensitive)To add/remove players:
To remove protection:
[private] from both sides of the signAll commands require admin permission (configurable, default level 3).
/private_chests list
Shows all protected containers on the server. Auto-abbreviates if there are many locks.
/private_chests list_in_area [radius]
Find locks near your location. Radius is in chunks (default: 1 = 2x2 chunks, max: 10).
/private_chests info
Shows detailed information:
/private_chests unlock
Forcibly removes a lock from a container.
Config file: config/private-chests.json
{
"floodgatePrefix": ".",
"adminPermissionLevel": 3,
"listMaxEntries": 50,
"listPreviewEntries": 20,
"disableProtectionIfOwnerBanned": true
}
| Option | Default | Description |
|---|---|---|
| floodgatePrefix | . | Prefix for Bedrock players (e.g., .BedrockPlayer) |
| adminPermissionLevel | 3 | Permission level to bypass locks (0-4) |
| listMaxEntries | 50 | Max locks in /list before abbreviating |
| listPreviewEntries | 20 | Number shown when abbreviated |
| disableProtectionIfOwnerBanned | true | Remove protection if owner is banned |
Invalid values are automatically corrected on startup with warnings in the logs.
Due to Minecraft's client-side prediction, some minor visual glitches may occur:
When unauthorized players attempt to break a protected sign:
When attempting to place blocks near locked containers:
These are Minecraft client limitations and do not affect functionality or data integrity.
Requirements
Server Installation