跳到正文

Password Chest

This is very helpful when you are in Multiplayer server and want to protect you chest with strangers or even friends try now fasttttttt!

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

📦 Password Chest Commands

🔐 Create Security Chest
/function password_chest:create
Turns the chest at your feet into a protected chest and makes you the owner.

🔓 Unlock Chest
/function password_chest:unlock
Starts the PIN entry process near a locked chest.

✏️ Change PIN
/function password_chest:set_password
Changes the current PIN. (Owner only)

🗑️ Remove Lock
/function password_chest:remove
Completely removes the chest protection. (Owner only)

📊 Check Status
/function password_chest:status
Shows lock information and failed attempt count.

⌨️ Enter PIN
/trigger pc_pin set XXXX
Enter your 4-digit PIN code.

Example:
/trigger pc_pin set 1234

✅ If the PIN is correct:
• Green success title appears
• Unlock particles play
• You can now open the chest freely

New in security overhaul

Owner system

Whoever runs /create becomes the owner. Only they can change the PIN or remove the lock.

4-digit PIN

PIN stored securely on a scoreboard. Supports 1000–9999. Owner can change it anytime.

Alarm system

3 wrong PINs = lightning strike + Blindness + Slowness + broadcast warning to ALL players.

Fail counter

Each wrong attempt tracked. Counter shown in chat. Resets after alarm fires.

Title screen UI

Big green/red titles on grant/deny. Particles on success. Bass sound on wrong PIN.

Multiplayer safe

Each player tracked individually. Multiple chests supported. No conflicts.

What happens on wrong PIN
1st wrong attempt — Warning message, bass sound, fail count shown

2nd wrong attempt — Same warning, “1 attempt remaining before alarm!”

3rd wrong attempt — Lightning strike, Blindness + Slowness + Nausea + Weakness applied, alarm broadcast to all players

常见问题

Password Chest 支持哪些 Minecraft 版本?

Password Chest 支持 Minecraft Java 版 1.20–26.3,共 24 个版本。下载时注意选择和你游戏版本一致的文件。

Password Chest 怎么安装?

新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。

评论

登录后评论和评分

Dark_PixelForge 的其他作品

查看全部 →