Minecraft / Data Packs

Lockable Chests

  • 8
  • 6
  • comment6
  • playlist_add
  • share
  • more_horiz
avatar Ant_Redstone
Level 25 : Expert Robot
Lockable Chests

I'm happy to announce a true Lockable Chest, where you create a key using a Writable Book and lock your chest.

Created a Add-On to that which allows you to sell items in locked chests, check it out

PS: Video Tutorial is from Version 1.0, It's not the latest version and the way you Lock your chest changed a bit

How to use:
1. Get a Writable Book, then type at first page #Lock# then at second page type your "chest password" then Hit Done (Necessaryly click Done before signing up)
2. Sign your Book then just place your book at last slot of your chest (I recomend you to do a copy before, is better don't live your chest without keys)

That datapack allows any player to lock the chests in minecraft vanilla survival mode.
Also Allows anyone in creative get a Universal Key, following the steps of a normal key but instead of #Lock# do #UniversalKey#


1. Players can Lock Chests.

2. Creative Players can create Universal keys to Chests

3. Players can't break protected chests manually

4. If a protected chest breaks, it will warn on chat, saying who's the book author as he's owner

5. Compatibility to my Player Shops datapack

6. Works with Any Container

How to Install:
1. Download the zip file and place it in [your world]/datapacks
2. do /reload and now its installed.

Future Features:
1. Add compatibility to others containers
2. Add Configs like toggle protection system

This Datapack have been tested and created in minecraft 19w09a
Progress100% complete
Game VersionMinecraft 1.13

7 Update Logs

Update v1.6 : 03/16/2019 1:05:48 amMar 16th

Fixed a Bug where Shulker boxes would get glitched if had a key inside but not at last slot

Comments : 6

star Login or register to post a comment.

Show Comments

1 - 6 of 6

  • RainbowTea
  • Level 6
  • Apprentice Miner
  • March 10, 2019, 9:09 pm
So will this work for 1.13? or should i wait till 1.14?
Wait or use in snapshot versions
  • RainbowTea
  • Level 6
  • Apprentice Miner
  • March 13, 2019, 9:51 am
I'll be waiting, thank you :)
Hi Ant, I'm having trouble using your addon.

When I create a book (first page is "#Lock#", second page is "password") and drop it, I do not get a key. I hit done, then shift + right click on the chest and sign it (naming it "#Lock#"). Ive dropped it, put it in the chest on the last slot, nothing happens. I am running the datapack on my vanilla 1.13.2 server. I have tried in both survival and creative. Your pack does show up in /datapacks list, however, so it is installed
My datapack uses 1.14 features, I'm sorry, but Planet Minecraft don't allow me to say that my datapack is to 1.14,

so it's on text saying that I'v created and tested in 19w09a

And about the way ur doing it, its the version 1.0, now no longer needs to drop it, or save it with the Title #Lock# (that's a thing that u were saying)

Sorry, but the video is not updated, I'v to record a new one since the method to make a locked chest changed, now to make it less over powered, u need 2 books, 1 to lock and let inside the chest, and other with u as key.

you can check the tutorial in How to Use
  • RingComics
  • Level 1
  • New Miner
  • March 7, 2019, 10:16 pm
Thank you for the reply! I've been meaning to update to the snapshots anyway soon. Great plugin! Thanks

1 - 6 of 6

Show Comments

Planet Minecraft



© 2010 - 2019