🧩 ChestLocker v2.0 – Major Update Log
🔐 New Features
- ✅ Added Key Ownership System — each key stores
ownerandowner_uuid. - ✅ Added Password Hashing for stronger security (SHA-256).
- ❌ Added Unlock Mechanic — Sneak + Right-Click with the correct key to unlock your chest.
- ✅ Added Whitelist Commands:
/chestaccess add <player>/chestaccess remove <player>/chestaccess list
- ✅ Added HUD Display — shows “Locked by: <player>” when looking at a locked chest.
- ✅ Added Password Reveal System — hold SHIFT to show the real password on the key tooltip.
- ✅ Added Break Protection — locked chests can’t be destroyed until unlocked.
- ✅ Added Multiplayer Safety — all logic now runs server-side; no client spoofing possible.
🛠️ Improvements
- 💾 Key NBT now includes:
passwordownerowner_uuid
- 💬 Improved feedback messages with colors and emojis for clarity.
- 🧠 Improved tooltip system (
KeyTooltipHandler) with obfuscated password and shift reveal. - 📦 Reworked lock data structure for better compatibility with server saving (
config/chestlocker.json). - ⚙️ Cleaner, more modular code structure:
/client→ Client UI & tooltips/screen→ GUI classes/mixin→ Game behavior hooks/manager→ Lock data management
🧱 Bug Fixes
- 🩹 Fixed issue where unlocked chests couldn’t be opened by non-owners.
- 🩹 Fixed tooltip not updating owner name after password setup.
- 🩹 Fixed improper password check causing all chests to be “locked.”
- 🩹 Fixed incorrect lock data persistence on reload.
⚡ Coming Next
- ⏳ Key sharing system (duplicate keys with limited access).
- 🧩 Optional password GUI for unlocking (instead of instant key unlock).
- 🧱 Auto-lock restoration after reopening chest.
- 🖼️ Custom key textures & glow effects.
🧰 Summary
ChestLocker 2.0 turns your chests into real, password-secured storage.
Every lock is owner-verified, UUID-protected, and fully multiplayer safe. 🔒
Update to 1.20.1
ChestLocker Mod - Private Chest to another player
#Feature
- can setpassword with tripwire_hook and better gui



