? ChestLocker 模组 – 像专业人士一样保护你的箱子!
? 保护你的存储。用钥匙锁定。与朋友共享。
? 功能特性
-
? 使用带密码保护的钥匙物品(绊线钩)锁定任意箱子。
-
? 每把钥匙都独立存储其密码和所有者信息(基于 UUID),因此只有真正的所有者才能执行锁定或解锁操作。
-
?♂️ 白名单系统允许你通过 /chestaccess 命令与受信任的玩家共享访问权限。
-
? 防破坏保护: 在解锁之前,锁定的箱子无法被破坏或移动。
-
? HUD 显示: 当看向一个被锁定的箱子时,会显示“锁定者:<玩家>”。
-
? 数据持久化: 所有锁自动保存到 config/chestlocker.json。
-
⚙️ 多人游戏安全: 所有检查均由服务器权威执行——不存在客户端漏洞利用。
? 使用方法
? 1. 创建密钥
按住 绊线钩 → Shift + 右键 → 输入你的密码。
这将把你的名字和 UUID 保存到密钥上。
? 2. 锁定箱子
手持你的密钥 → 对箱子进行 右键点击。
如果你是所有者,箱子将立即被锁定并安全存储。
? 3. 打开宝箱
按住键盘上的 Shift 键,同时右键点击被锁定的宝箱。
模组会验证你的 UUID 和密码哈希值——如果匹配成功,宝箱即可解锁!
??? 白名单命令
你可以为朋友授予或撤销宝箱访问权限:
- /chestaccess add <玩家>
- /chestaccess remove <玩家>
- /chestaccess list
? 提示
- 将鼠标悬停在密钥上并按住 Shift 键即可显示真实密码。
- 密钥的悬浮提示框内容如下:
? <owner> 的密钥
密码:••••••••
按住 SHIFT 以显示
⚡ 安全摘要
| 操作 |
要求 |
结果 |
| 锁定箱子 |
你的钥匙(拥有者 UUID 匹配) |
✅ 成功 |
| 解锁箱子 |
潜行 + 右键点击持有你的钥匙 |
? 已解锁 |
| 使用他人的钥匙 |
UUID 不同或密码错误 |
❌ 拒绝 |
| 破坏已锁定的箱子 |
任何玩家 |
❌ 阻止 |
? 截图与演示
?️ 设置密码界面、拥有者提示框以及钥匙锁定动画即将推出!
? 相关链接
✨ 标语
ChestLocker – 你的箱子,由你掌控。
使用专属密钥安全地保护、共享和解锁。?️
? 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: <player>” 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 Hook → Shift + 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 <player>
- /chestaccess remove <player>
- /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. ?️
评论 0
登录后参与评分
还没有评论,来抢沙发吧