PrivateChestPlus v2.0 - Major Update
New Features
️ Area Protection System
Protect multiple containers at once in a specified radius!
New Commands:
- /lockarea <radius> - Find and protect all containers in an area
- /lockarea confirm - Confirm area protection after seeing the preview
- /lockarea cancel - Cancel pending area protection
How it works:
- Stand where you want to protect containers
- Use /lockarea 10 to scan 10 blocks around you
- You'll see a confirmation with cost and container count
- Type /lockarea confirm to protect all containers at once
Type-Specific Protection
Protect only specific types of containers in an area!
New Commands:
- /lockall <type> <radius> - Protect specific container types only
- /lockall confirm/cancel - Confirm or cancel operation
Supported Types:
- chest, barrel, shulker_box, hopper
- dispenser, dropper, furnace, blast_furnace
- smoker, brewing_stand
Example: /lockall chest 15 protects all chests within 15 blocks
Smart Protection System
Intelligent auto-protection offers when you place many containers!
How it works:
- Place 5+ containers quickly and get an automatic offer
- Smart detection prevents spam with cooldown system
- Accept with /smartprotect accept or decline with /smartprotect decline
Commands:
- /smartprotect accept - Accept protection offer
- /smartprotect decline - Decline protection offer
- /smartprotect status - Check current offer status
⚡ Dynamic Container Limits
Your container limits now adapt based on various factors!
Dynamic Features:
- Weekend Bonus: Higher limits on weekends
- Time-Based: Bonus limits during evening hours
- Playtime Scaling: More limits as you play longer
- World-Based: Different limits per world/dimension
- Special Events: Server events can boost limits
Smart Notifications:
- Get warned when reaching 80%, 90%, 95% of your limit
- See your dynamic limits change in real-time
Performance Improvements
Intelligent Cache System
- Memory-Aware: Automatically adjusts based on server memory
- Smart Cleanup: Removes unused data automatically
- Better Performance: Faster container checks and operations
Automatic Cleanup
- Orphan Removal: Automatically removes protections from deleted containers
- Chunk-Based: Cleans up containers in unloaded chunks after 7 days
- Background Operation: Runs every 30 minutes without lag
New Permissions
Area Protection
- privatechest.lockarea - Allow area protection
- privatechest.lockarea.radius.5 - Up to 5 block radius
- privatechest.lockarea.radius.10 - Up to 10 block radius
- privatechest.lockarea.radius.25 - Up to 25 block radius
- privatechest.lockarea.radius.50 - Up to 50 block radius (admin)
Type Protection
- privatechest.lockall - Allow type-specific protection
- privatechest.lockall.radius.* - Same radius permissions as above
Smart Protection
- privatechest.smart-protection - Receive smart protection offers
- privatechest.smart-protection.bypass - Bypass cooldowns (admin)
Dynamic Limits
- privatechest.dynamic-limits - Access to dynamic limit system
- privatechest.dynamic-limits.bonus - Receive bonus multipliers
- privatechest.dynamic-limits.multiplier.weekend - Weekend bonuses
- privatechest.dynamic-limits.multiplier.time - Time-based bonuses
- privatechest.dynamic-limits.playtime - Playtime-based scaling
⚙️ Configuration Updates
New Config Sections
Code (YAML):
# Area Protection Settings
area-protection:
enabled
: true
default-max-radius
: 10
max-containers-per-operation
: 100
# Smart Protection Settings
smart-protection:
enabled
: true
detection-window-seconds
: 60
container-threshold
: 5
cooldown-seconds
: 300
# Dynamic Limits
dynamic-limits:
enabled
: true
time-modifiers:
weekend:
multiplier
: 1.5
container-types
:
[
"chest",
"barrel",
"shulker_box"
]
# Performance Settings
performance:
intelligent-cache:
enabled
: true
memory-threshold
: 0.8
auto-cleanup:
enabled
: true
interval-minutes
: 30
Compatibility
- Minecraft: 1.16.5 - 1.21.8+ ✅
- Java: 8+ ✅
- Cross-Platform: Full Java & Bedrock support ✅
- Backward Compatible: All existing features preserved ✅
What This Means for You
For Regular Players:
- Faster Setup: Protect many containers at once instead of one by one
- Smart Help: Get automatic protection offers when building
- Better Limits: Your limits adapt to how you play
- Better Performance: Smoother experience, less lag
For Server Owners:
- Reduced Support: Less "I lost my items" tickets
- Better Performance: Intelligent caching and cleanup
- Flexible Configuration: Fine-tune everything to your server's needs
- Happy Players: More convenient protection systems
Download: Available here!
Support: Discord or GitHub Issues
API: Full developer API available for other plugins
This update maintains 100% compatibility with all existing protections, shares, and configurations.