Lock Chest V1.2
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
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects