Мова

PrivateChestFree

PrivateChestFree

Modrinth

Chest protection plugin with anti-explosion and permission support.

1.7k завантажень 3 підписників оновлено 3mo ago
остання v2.3.1 Modrinth
Bukkit Folia Paper Purpur Spigot 1.15.2 – 1.21.11 Game-mechanicsManagement

🔐 PrivateChest - Complete Container Protection System

PrivateChest is a lightweight yet powerful container protection plugin that lets players secure their chests, barrels, and shulker boxes with personal passwords. No complicated land-claim systems needed — just simple, secure, and optimized protection for survival servers, SMPs, and factions!


✨ Core Features

🔒 Password Protection System

  • Lock chests, trapped chests, barrels, and all 17 shulker box variants
  • Secure SHA-256 password encryption with salt
  • Only the owner can access protected containers
  • Automatic double chest detection and protection

🛡️ Advanced Security

  • Explosion Protection: TNT, Creepers, and other explosions cannot destroy locked containers
  • Hopper Protection: Blocks hoppers, droppers, and dispensers from bypassing security
  • Block Placement Protection: Prevents players from placing automated extraction blocks near protected containers
  • Configurable Hopper Access: Optional setting for servers that want automated sorting systems

🤝 Trust System

  • Share container access with other players without revealing your password
  • /trust <player> - Grant access to specific players
  • /trust list - View all trusted players
  • /untrust <player> - Remove access from a player
  • /untrust all - Remove all trusted players at once
  • Trusted players receive notifications when accessing shared containers

🏷️ Container Renaming

  • Give your locked containers custom names (up to 16 characters)
  • /renamecontainer <name> - Set a custom name
  • /renamecontainer remove - Remove custom name
  • Smart validation for name compatibility

📊 Flexible Limit System

  • Basic Limits: Set a global limit for all container types
  • Granular Limits: Configure different limits per container type (chests, barrels, shulker boxes)
  • Permission-Based: Fine-tune limits with permissions like privatechest.limit.chest.10
  • Unlimited option available for VIP players

🪧 Sign Protection (Alternative Method)

  • Lock containers by placing a sign with [Private] on the first line
  • No password required — ownership-based protection
  • Works alongside password protection

🌐 Cross-Platform Compatibility

Minecraft Versions

Supported: 1.16.5 → 1.21.x (and future updates)

Server Software

Standard (Single-threaded):

  • CraftBukkit, Spigot, Paper
  • Purpur, Pufferfish
  • Any Spigot/Paper fork

Regionized (Multi-threaded):

  • Folia, Luminol, LightingLuminol
  • LeafMC, Kaiiju
  • Any Folia-based fork

Bedrock Edition Support

  • Full compatibility via Geyser and Floodgate
  • Automatic detection of Bedrock players
  • Messages adapted for optimal display on each platform
  • Java and Bedrock players can seamlessly interact with the same protected containers

💬 Commands

| Command | Description | Permission |
|:--------|:------------|:-----------|
| /lockchest <password> | Lock the container you're looking at | privatechest.use |
| /unlockchest <password> | Unlock your locked container | privatechest.use |
| /trust <player> | Give a player access to your containers | privatechest.use |
| /trust list | View your trusted players | privatechest.use |
| /untrust <player> | Remove a player's access | privatechest.use |
| /untrust all | Remove all trusted players | privatechest.use |
| /renamecontainer <name> | Set a custom name for a container | privatechest.use |
| /renamecontainer remove | Remove custom name | privatechest.use |
| /privatechest reload | Reload configuration and messages | privatechest.admin |
| /clearchests | Clean orphaned container data | privatechest.admin |

Aliases: /privatechest/pc, /renamecontainer/renamechest


🔐 Permissions

Basic Permissions

| Permission | Description | Default |
|:-----------|:------------|:--------|
| privatechest.use | Use all player commands | true |
| privatechest.admin | Admin commands + bypass protection | op |

Limit Permissions (Examples)

| Permission | Description |
|:-----------|:------------|
| privatechest.limit.unlimited | Unlimited container locks |
| privatechest.limit.50 | Lock up to 50 containers |
| privatechest.limit.chest.25 | Lock up to 25 chests specifically |
| privatechest.limit.barrel.10 | Lock up to 10 barrels specifically |
| privatechest.limit.shulker_box.5 | Lock up to 5 shulker boxes specifically |


⚙️ Configuration Highlights

Storage Options

  • YAML: Simple file-based storage (default)
  • SQLite: Database storage for large servers with many locked containers

Key Settings

# Storage system
storage-type: yaml  # or 'sqlite'

# Message prefix
use-prefix: true
prefix: "&7[&6PrivateChest&7] "

# Sign protection
enable-sign-protection: true

# Container limits
enable-chest-limits: false
default-chest-limit: 5

# Granular limits per container type
container-limits:
  enabled: false
  types:
    chest: 10
    barrel: 5
    shulker_box: 2

# Notifications
notify-owner-on-open: true
notify-admin-on-open: true
notify-trusted-on-open: true

# Auto-cleanup of orphaned data
auto-cleanup:
  periodic-enabled: true

# Hopper protection (configurable for sorting systems)
hopper-protection:
  allow-hopper-access: false  # true for automated systems

🧩 Developer API

PrivateChest offers a simple API for developers to integrate with protected containers:

import me.tuplugin.privatechest.api.PrivateChestAPI;

// Check if a block is locked
boolean isLocked = PrivateChestAPI.isLocked(block);

// Check if a player owns a block
boolean isOwner = PrivateChestAPI.isOwner(block, player);

// Lock a container programmatically
PrivateChestAPI.lockBlock(block, player, "password");

// Unlock a container
PrivateChestAPI.unlockBlock(block);

// Get the owner UUID
UUID owner = PrivateChestAPI.getOwner(block);

🛠️ Installation

  1. Download the JAR and place it in your /plugins folder
  2. Start or reload your server
  3. Edit config.yml and messages.yml to customize
  4. Done! All players can start protecting their containers

🌍 Multilingual Support

PrivateChest is fully translatable! Edit messages.yml and config.yml to translate all messages to any language. The default language is English, but you can easily adapt it to fit your server's style and community.


📊 Plugin Statistics

Monitor anonymous usage statistics:
🔗 bStats - PrivateChest


🔥 Why Choose PrivateChest?

  • Lightweight & Optimized: Minimal server impact with efficient code
  • No Dependencies: Works standalone, no other plugins required
  • Future-Proof: Regular updates for new Minecraft versions
  • Active Development: Bug fixes and new features based on community feedback
  • Easy Migration: Switch between YAML and SQLite storage anytime
  • Automatic Cleanup: Orphaned data is cleaned automatically to maintain performance

📸 Screenshots


🎉 Thank you for using PrivateChest!

If you enjoy the plugin, please leave a ⭐ rating and share your feedback!


✨ Looking for more power and features?

PrivateChest Plus is now available!

Unlock premium features including:

  • ✅ Shared chest access with advanced permissions
  • ✅ Timed auto-unlock
  • ✅ GUI-based lock system
  • ✅ Sounds and holograms
  • ✅ And much more...

Level up your server protection with PrivateChest Plus!

Версії

Release
2.3.1
bukkit, folia, paper · 1.16, 1.16.1, 1.16.2 · 3mo ago
# 📜 PrivateChest - Version 2.3.1 Release Notes **Release Date:** 20/03/2026 --- ## [2.3.1] - 2026-03-20 ### Added - **Granular Command Permissions** -…
305
Release
2.3
bukkit, folia, paper · 1.16.5, 1.17, 1.17.1 · 4mo ago
# PrivateChest v2.3 - Changelog **Release Date:** January 2026 --- ## New Features ### Shulker Box Support - Lock all 17 shulker box variants (including…
211
Release
2.2
bukkit, folia, paper · 1.16.5, 1.17, 1.17.1 · 6mo ago
# 📜 PrivateChest - Version 2.2 Release Notes **Release Date:** December 1st, 2025 --- ## [2.2] - 2025-12-01 ### Added - **Configurable Hopper Protection…
182
Release
2.1
bukkit, folia, paper · 1.16.5, 1.17, 1.17.1 · 9mo ago
# PrivateChest v2.1 - Major Update Release ## 🆕 What's New ### 🔒 Enhanced Security System - **Complete Hopper Protection**: Hoppers, droppers, and…
292
Release
2.0
bukkit, paper, purpur · 1.16.5, 1.17, 1.17.1 · 12mo ago
# 🔐 PrivateChest 2.0 - Major Update! ## 🚀 What's New ### 🔒 Enhanced Security - **Password Encryption:** All passwords are now securely hashed using…
150
Release
1.6.3
bukkit, paper, purpur · 1.16.5, 1.17, 1.17.1 · 13mo ago
## PrivateChest v1.6.3 - Changelog This update focuses on fixing the long-standing double chest protection issue and brings several improvements to stability…
67
Release
1.6.2
bukkit, paper, purpur · 1.16.5, 1.17, 1.17.1 · 13mo ago
# 📢 PrivateChest 1.6.2 – Hopper Exploit Patch & Full Container Protection ## 🛡️ New Protections: - 🚫 Hoppers can no longer extract items from any…
57
Release
1.6.1
bukkit, paper, purpur · 1.16.5, 1.17, 1.17.1 · 13mo ago
# 📢 PrivateChest 1.6.1 – Admin Bypass Fix ##🔧 Fixes: - ✅ Fixed: Admins with the privatechest.admin permission could not open locked chests they did…
40
Release
1.6
bukkit, paper, purpur · 1.16.5, 1.17, 1.17.1 · 13mo ago
📦 PrivateChest v1.6 🧹 New Feature: Smart Auto-Cleanup on Startup • The plugin now detects and removes invalid chest entries from data.yml when the…
31
Release
1.5
paper, purpur, spigot · 1.16.5, 1.17, 1.17.1 · 13mo ago
📦 PrivateChest v1.5 🆕 New Features: ✔️ Block Whitelist for Lockable Blocks ➤ You can now define which block types can be protected. ➤…
40
Release
1.4
paper, purpur, spigot · 1.16.5, 1.17, 1.17.1 · 13mo ago
📦 PrivateChest v1.4 🆕 New: Public Developer API • Introduced `PrivateChestAPI` under `me.tuplugin.privatechest.api`. • Developers can now easily: …
33
Release
1.3
paper, purpur, spigot · 1.16.5, 1.17, 1.17.1 · 13mo ago
📦 PrivateChest v1.3 🆕 New Features: ✔ Added /clearchests command (Admin only) ↳ Automatically clears orphaned chest entries from data.yml if the…
34

Коментарі 0

Поки немає коментарів. Будь першим, хто поділиться думкою.