Chest Lock

Protect your valuables with a Password Chest! Only players with the correct password can open the chest, keeping your items safe in multiplayer worlds.
Back to Files

Lock Chest V1.2

File nameLock_Chest_by_Dark_PixelForge_V1_2.mcaddon
Uploaded
Jul 19, 2026
Downloads
158
Size
160.1 KB
File ID
8464971
Type
R
Release
Supported game versions
  • 26.30
  • 26.20
  • 26.13
  • 26.12
  • 26.11
  • 26.10
  • 26.3
  • 26.0.02
  • 26.0
  • 1.21.132
  • 1.21.131
  • 1.21.130
  • 1.21.124
  • 1.21.123
  • 1.21.122
  • 1.21.121
  • 1.21.120
  • 1.21.114
  • 1.21.111
  • 1.21.101
  • 1.21.100
  • 1.21.94
  • 1.21.93
  • 1.21.92
  • 1.21.90
  • 1.21.82
  • 1.21.81
  • 1.21.80
  • 1.21.73
  • 1.21.72
  • 1.21.71
  • 1.21.70
  • 1.21.61
  • 1.21.60
  • 1.21.51
  • 1.21.50
  • 1.21.44
  • 1.21.43
  • 1.21.41
  • 1.21.40
  • 1.21.30
  • 1.21.21
  • 1.21.20
  • 1.21.2
  • 1.21

What's new

# Lock Chest — Changelog

## V1.2 (this update)

- **Fixed:** break protection was fake — it let the block actually break, then tried to respawn it a tick later via `/setblock`. Non-owners could briefly break protected chests, and fast/instant-break tools could beat the respawn entirely. Replaced with a real, cancelable check on `world.beforeEvents.playerBreakBlock` (`event.cancel = true`), so a non-owner's break attempt is stopped before the block is ever destroyed.

- **Fixed:** `min_engine_version` was `[1, 21, 0]`, but the pack depends on `@minecraft/server` / `@minecraft/server-ui` version `2.0.0`, which requires a much newer game version. Bumped to `[1, 21, 80]` so Minecraft correctly reports compatibility instead of failing to load on older clients.

- **Fixed:** player-leave session cleanup compared `unlockedSessions` keys (built from `player.name`) against `event.playerId`, so it never matched and cleanup never actually ran. Now matches on `playerName`.

- **Improved:** passwords are no longer stored in plain text as a dynamic property. They're obfuscated before being saved (not cryptographic security, but no longer readable at a 

This mod has no additional files