HomeJavaDatapacksPassword Chest
Password Chest
DatapacksJava

Password Chest

by Dark_PixelForge · on Modrinth

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

⬇ Download on Modrinth

📦 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

Quick facts

Install steps are the general flow for this file type — see the MC Java Mods guides for the full walkthrough.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more