• check_circle Functions
  • check_circle Loot Tables
  • check_circle Predicates
  • check_circle Recipes
  • 26,779 views, 14 today
  • 2,890 downloads, 2 today
  • 55
  • 59
  • 71
Ant_Redstone avatar Ant_Redstone
Level 54 : Grandmaster Cake
58
Chest Protection

Hello everyone, in this datapack I present to you simple and clean way to protect your chest against unauthorized access or grief with the cutest system you'll find :3


Info:

How does it work?

Your protected chest will become a cute little chest while you'r not nearby, with that there will be no way to access it, this little chest will deny any attempt of grief, surviving anything, lava, explosion, pistons, hoppers, minecarts or whatever other way you think to destroy it in survival or creative.

How do I protect my chest?

For each block of protection you'll need 1 Item Frame, and 1 renamed Tripwire Hook aka "Key"
All you have to do is place your Tripwire Hook inside an item frame attached to your chest
Example



Is it really safe?

Yes, it's blast and fire resistent, also I'v tried to break it using pistons every tick, and nothing happened

How do I un-protect my chest?

As Security method, the item frame can't be broken, but it will get back to normal if the chest gets broken while unlocked, so the only vulnerability of the chests are while you'r near them.

How do I let my friends to open my chests while I'm away?

That's simple, this datapack uses UID system to locate players, the UID can be found by the side of player's name in TAB List, it doesn't require to the player be online to trust or untrust them.
All you have to do is type the command /trigger trust.chests <set/add> <UID>

I trusted the wrong person, what do I do now?

To untrust a player, it's the same thing as trust it, but you type the neagative value of the UID

Example: to untrust UID 10 you type /trigger trust.chests set -10


FAQ:

Why do I say it is cute?
Because I use player heads of the curresponding block when the container is locked so we have mini blocks of it
I mean... look at this..

UwU

I don't want the item showing up, can I hide it?

No, you can't hide the item frame's item, but what you can do is put the frame in hidden faces of the block, like under it

I want to protect my shulker box, can I do that?

Yes, this datapack works the same way with every accepted blocks, that includes: Chest, Trapped Chest, Ender Chest, Barrel, Shulker Boxes, Dispenser and Dropper

I Found a bug, should I report it?

Yes, please feel free to report any bugs in my DM or in this post's comments.

How can I uninstall it?

To uninstall it you gave two options, soft and hard uninstall, soft one is recommended if you don't want to remove saved data, or if you use any of my datapacks. Hard one you'll completely uninstall my datapack systems. To do so, you must run the command "/function cprot:uninstall.<soft/hard>" than run "/datapack disable <my datapack name>"


Both Uninstall methods will unlock loaded containers, and only the loaded ones

Some griefers got banned from my server and I want their Items back, what do I do?

I'v added a function to unprootect containers nearby, to do so, just get 3 blocks near the container and run the "/function cprot:ungrief"

There are some features I miss, will you add them?

I'll evaluate every feature request sent to me, so feel free to request some things to improve my datapack

I really liked your job, how can I support you?

If you want to donate me any minimal amount, I'll really appreciate if so ^^

Here is My Paypal
CompatibilityMinecraft 1.16
toMinecraft 1.17
Tags

8 Update Logs

Update v1.2.1 : by Ant_Redstone 10/12/2021 5:44:34 amOct 12th, 2021

Fixed Compatibility issue which weren't updating UID for minecraft 1.16.x
LOAD MORE LOGS

Create an account or sign in to comment.

1
01/16/2022 2:11 pmhistory
Level 1 : New Miner
User3940731G
User3940731G avatar
i cant open my double chest. EVEN THOUGH I MADE IT. it works on a single tho
1
01/05/2022 6:45 am
Level 1 : New Miner
Toxicane
Toxicane avatar
i lost all my stuff and everything is a player head
can't get anything back
same problem as morphee
1
12/31/2021 12:30 pm
Level 1 : New Miner
morphee
morphee avatar
hello since today i can't oppen my old protected chest, but when i protect au new one is working., i have try to unistall the datapack but chest is still protected :( i'm running 1.18.1
1
12/26/2021 9:23 pm
Level 1 : New Miner
Matthew51n
Matthew51n avatar
If I have this in the datapacks folder but never place down a item frame with KEY inside of it. Can I uninstall it by just removeing the folder or do I have to run the command?
1
10/23/2021 7:40 pm
Level 1 : New Miner
mig60012
mig60012 avatar
Is it compatible whith your other datapack "lockable chests"?
1
11/15/2021 8:41 am
Level 54 : Grandmaster Cake
Ant_Redstone
Ant_Redstone avatar
no, lockable chests don't take updates anymore, this is the improved version of it
1
10/18/2021 10:09 pm
Level 8 : Apprentice Explorer
Epic_DudeBro
Epic_DudeBro avatar
Hello uh the item frame is not turning invisible is something wrong?
1
11/15/2021 8:41 am
Level 54 : Grandmaster Cake
Ant_Redstone
Ant_Redstone avatar
r u naming the item correctly? what's your game version?
1
06/29/2021 10:56 pm
Level 1 : New Miner
GalaxieGaming
GalaxieGaming avatar
How do I know the UID Player?
2
07/01/2021 2:51 pm
Level 54 : Grandmaster Cake
Ant_Redstone
Ant_Redstone avatar
by default should be showing on TAB list right next to player's name, the only possibility of not being there is if the server owner removed, or another datapack is using it aswell

it's a scoreboard named uid

you can also get by /scoreboard players get <player_name> uid
Planet Minecraft

Website

© 2010 - 2022
www.planetminecraft.com

Welcome