Перейти к содержимому
Mineforgian

ChestLocker

🗝️ Adds a secure, UUID-based key system that lets you lock, unlock, and share chests with password protection.

Загрузки
5K
Подписчики
7
Обновлён
1 ноября 2025 г.
Лицензия
MIT

Опубликован 2 февраля 2025 г.

🧱 ChestLocker Mod – Secure Your Chests Like a Pro!

🔐 Protect your storage. Lock with a key. Share with friends.


💡 Features

  • 🔒 Lock any chest with a password-protected Key Item (Tripwire Hook).
  • 🔑 Each key stores its own password and owner (UUID-based), so only the true owner can lock or unlock.
  • 🧍‍♂️ Whitelist system lets you share access with trusted players via /chestaccess commands.
  • 🧱 Break protection: Locked chests cannot be broken or moved until unlocked.
  • 💬 HUD display: Shows “Locked by: ” when looking at a locked chest.
  • 💾 Data persistence: All locks automatically save to config/chestlocker.json.
  • ⚙️ Multiplayer safe: All checks are server-authoritative — no client-side exploits.

🔧 How to Use

🪄 1. Create a Key

Hold a Tripwire HookShift + Right-Click → Enter your password.
This will save your name and UUID onto the key.

🔐 2. Lock a Chest

Hold your key → Right-Click on a chest.
If you’re the owner, the chest will lock immediately and be stored securely.

🔓 3. Unlock a Chest

Hold your key → Shift + Right-Click on a locked chest.
The mod verifies your UUID + password hash — if they match, the chest unlocks!


🧍‍🤝‍🧍 Whitelist Commands

You can grant or revoke chest access to friends:

  • /chestaccess add
  • /chestaccess remove
  • /chestaccess list

🧭 Tips

  • Press Shift while hovering your key to reveal the real password.
  • The key’s tooltip shows:
🔑 Key of <owner>
Password: ••••••••
Hold SHIFT to reveal
  • You can only use your own key; others’ keys are invalid.

Security Summary

Action Requirement Result
Lock chest Your key (owner UUID matches) ✅ Success
Unlock chest Sneak + Right-Click with your key 🔓 Unlocks
Use other’s key Different UUID or password ❌ Rejected
Break locked chest Any player ❌ Blocked

📸 Screenshots & Demo

🖼️ Set password screen, owner tooltip, and key lock animation coming soon!


🔗 Links


Tagline

ChestLocker – Your chest, your rules.
Protect, share, and unlock safely with your personalized key. 🗝️

Ченджлог

2.0.0Релиз1.20.1 · 1 ноября 2025 г.

🧩 ChestLocker v2.0 – Major Update Log

Change log

🔐 New Features

  • ✅ Added Key Ownership System — each key stores owner and owner_uuid.
  • ✅ Added Password Hashing for stronger security (SHA-256).
  • ❌ Added Unlock MechanicSneak + 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: ” 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:
    • password
    • owner
    • owner_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. 🔒

1.0.0Релиз1.20.1 · 20 февраля 2025 г.

Update to 1.20.1

Changelog

1.0.0-alphaАльфа1.18.2 · 2 февраля 2025 г.

ChestLocker Mod - Private Chest to another player

#Feature

  • can setpassword with tripwire_hook and better gui

Комментарии

Загружаем…