How to Make a Crate Key System in Minecraft *Bedrock*
ฝัง
- เผยแพร่เมื่อ 4 ก.ค. 2024
- How to Make a Crate Key System in Minecraft Bedrock
in this video I will be showing you all how to make your very own Crate Key System in Minecraft Bedrock Edition! It's very simple to do and at first I thought it was super hard until I actually made it! This video is a longer video than normal because I go more into detail of what the command block does and I feel like I want to teach you all how these command blocks work and what they do rather than just showing you the command! I also went through how to build it as well! If you did find this video / tutorial helpful then don't forget to drop a like and subscribe to the channel! I just checked and we just hit 2100 subscribers so thank you so much! I appreciate you all! Thanks again! - Gabe
0:00 Intro
0:24 How it Works!
1:08 Start of Tutorial
1:47 Command Block Build
3:03 Commands for Blocks
6:32 Name Armor Stands
7:08 Crate Key Naming
7:49 Adding Items in Chests
8:38 Testing the Build
9:12 Outro - เกม
W tutorials some of your turorials were able to help me make a minecraft server which reached a max of 3 players this week! Tysm!
Let’s goo!! I love to hear that!!
i just found your channel and you've helped me so much. I am making a server for me and my friends and i wanted to have crates just like this. thank you again
No problem! Glad I could help!
you can create one with spreadplayers command: spreadplayers 0 0 0 1 (so, 0 is X and 2th 0 is Z. 0 is min range, 1 is max range. 3×3 block) @e[type=armor_stand,scores={randomcrate1=1..,crate=1}]. with this command, the armor stand have score randomcrate more than 1 and score crate is 1 (randomcrate is Scoreboard Random, Random Chest Clone. crate is .. Common Crate = 1, Rare Crate = 2..) will be random tped to 3×3 blocks (total 9blocks) and then with another command scoreboard to remove Its score randomcrate by 1. If its score = 0 then clone the chest at it coordinates. (so you will use execute ... run clone ~ y_coordinate ~ ~ y_coordinate ~ crate coordinates). Its Maybe hard to understand. (if you have any question, comment down below)
oh I forgot. So when you put Crate Key inside the chest, It'll random randomcrate num num to armor stand (I recommend to use this command: execute as @e[type=armor_stand,scores={randomcrate=-1,crate=1}] at @s if blocks ~ -60 ~ ~ -60 ~ ~ -55 ~ all run command. So it'll test if block (chest at ~ -55 ~) to block (chest at ~ -60 ~) if it's true then it'll run commands. You can do another way Like the video)
Thanks Gabedala love the vids
Glad you love them!
Thx gabe i realy needid this
No problem!!
Thanks
thx!!! I LOVE THIS SO MUCH THX YOU BROOOO
Thanks W tutorials
Thank you!!
THANK YOU
No problem!!!
Thanks 👍
No problem !!
W video worth subbing 🔥
Thank you!!
Man Thanks you so much making this tuto for mystery box am shocked of the command i was think we need a plugin addon mod but no Tysm your smart
You're very welcome! Glad I could help!
@@gabedala sorry if i doo some errors i am not from english , i maked a ytb video version french of your tuto
No worries! Love it!
ty@@gabedala
Tysm
I managed to do it and even found my own errors by looking back at this video awesome tutorials. Question, let's say you want to make different create keys, like a common, rare, and legendary one. How would you do it?
Love that you fixed it! In order to do different keys like a rare common etc. just make multiple sets of command areas. And in that chest where you insert what type of key to get the items, add different names ones! Hope I explained that well
@@gabedalaI have a suggestion
Btw W vid
This is really helpful thanks I’m gonna use this have you figured out some questions I have?
What questions do you have again?
@@gabedala my first one was if you knew how to set up a kit system were you can see the items your getting in a chest or shulker then have it give you a duplicate of the shulker with the items when you buy it for a kit PvP. My second one is if you knew how to set up a arena we’re all you can do is attack then once you go outside the the barrier of the arena you can place blocks(for crystals) in a kit PvP
@@gabedala have you figured it out? I can’t think of anything besides using tags
Hey gabe, could you make a tutorial for making villager trade could be change like "i want it to - 1 emarald = 1 Diamond -", bc if using npc, someone could get the item that were buy, so if using villager its might be the one Who buy, its get for its self. Just like normal villager trade but we can change the trade.
Can you try and rephrase this better? I do have a video where you can trade items with villagers like diamonds to gold (something like that)
is it possible to like make a key system to where you need a key to open the chest
I made six chests and when I put a key it only gives the fourth chests items and when I shortened it switched to the third pls help
how can u active the repeater and comparator at the same time that’s the bit i can not do
Wdym? It’s Minecraft bedrock, you should be able to
vid idea: how to protect item frames
adventure mode?
It keeps saying Failed to execute 'setblock' as [NULL]. It works sometimes but I just can't find where I messed up
I RLLY NEED TO LEARN DESIGNATED TELEPORTERS FOR A SERVER IM WORKING ONNNN ☹☹
I have a tutorial on my channel how to make a teleporter and in it I show how to make designated
@@gabedala yipee thxx
question Cant u Exsploit creates By nameing A diffrent Item Or The same Item Creates With the font and if so Is there a way to Make it Take Certain Thing Only with an enchant
No you can’t, make sure you spawn in the crate key with an ID
when the redstone blocks are covering the block it makes it so that if it chooses that one by random you cant get it so i just get nothing sometimes
i have to manually break the redstone
You might’ve messed up one of the command blocks then. The redstone block should disappear
@@gabedala Thank you
@@gabedala do you by any chance know what command that is in
@@gabedala What command breaks the block
So I have 5 different Crates, when I use a key for a certain crate right? It opens that crate but also a different 1 without needing that key. 😢
There must be something wrong with the way you named the keys or the armor stands. If you wanted to make different ones you’d need to name them other things
The 1st chest seems to be alot more frequent then the other chests like the spawn rate
That’s weird, the command block is set to pick at random and not the closest or anything
@@gabedalaDo you know how to fix it? It kinda sucks having it so frequent
@@Bradley-lm2yg there’s no way to fix it, the point of the command block is to make it random. Meaning it’s random. Can’t fix probability
Is there a way to announce to the realm or world that someone is opening a crate to kinda prevent people from reusing crates using command blocks? If so people describe what to do in a reply message. Thanks!
There is, just add a command block at the end with the /title command and @e for everyone or @a
Is it possible to do this with Money? Like using the scoreboard?
Not sure tbh
Mine just takes the echo shard I use
Pretty solid
Nice video but do you know how to make a custom commands
The only way to do custom commands is with add-ons or with items. Like if you drop a book it’ll tp you somewhere. But you can’t type /fly or anything else. What commands were you looking to make?
@@gabedala cause I'm making a skygen server and I want when I type a command like /shop it's open an GUI or chest above your head
you can put the key in take it out and still get a free item how do i fix this?
Probably no way to fix this,
That’s just how the game is. when it won’t detect a key fast enough to remove it that’s on the game. Nothing you can do to speed up that
@@gabedala rip
@gabedala couldn't you just make a command block with a button below the chest to detect a player holding the key/take the key and give the reward with the same process?
what shader u use? link pls
I have a video on my page showing a tutorial
@@gabedala alr
This don’t work anymore is there a update or something ?
It should still work, it’s not a glitch or a bug to do this. Double check your command blocks and their settings, lots of people mistype or mess up there
Why does the chest close every time i put in the key
Add a ticking area. 1.21 update ruined this video sorta
@@gabedala what is a ticking area
Bro can you make on my world plz
I will if you pay
How much
Can't the players just manually rename the tripwire hooks and get infinite items?
Yes, that’s why you add an item ID to the end of the triphook wire like /give @s triphook_wire 1 5 - the 5 is the ID number that other players can’t get. This video just shows how to make the system
@@gabedalaOk thank you!
I make map, I need you
Mine has delay something it doesn't work I'm on bedrock and I'm using my phone
Change the ticking speed?
Sometimes i get nothing how do i fix that?
Add stuff to your chest for different variations and make sure the chests are all facing the same direction too
@@gabedalabut what if that doesnt work?
It kinda doesn't work for me 😢 maybe the chest was a trap chest maybe thats how it worked
It’s not a trap chest
it does work for me when i typed the /execute one it says error
@@tommylee-fl7og probably messed up somewhere
@@gabedalait looks the exact same idk why it’s not working
@@tommylee-fl7og did you double check all of the commands and the command block settings? It’s easy to miss 1 small thing
@@gabedala it works now but when i put my key in it doesn’t give me owt
@@tommylee-fl7ogi’m having that issue also
Why does my chest close out the menu when use the key
Could be the new update
@@gabedala Yup. It was a bug. Fixed in 1.21. Quite annoying though.
YES IT GOT PATCHED
Sorry but in lazy can you put the commands on like a copy website
For some reason mine says source and destination are not identical someone help plz
Double check your command blocks and their settings
@@gabedala double checked them 3 times all cords are matching no other errors in the other command blocks just that one saying source destination
@@ContentSchnauzer-wo5susame
Same as well
Make sure the crate chest is also the same direction
pls use scoreboards to randomize not entities lol
What’s the difference
@@gabedala Entities cause lag even on a smaller scale
plus setting blocks
Bro I need auto, please
Auto?
@@gabedalahe is confused, a bit slow if ya know
Doesn’t work for me
Double check commands
@@gabedalai got it to work but now it only works sometimes and also kicks you out of the chest when you open it
@@1ington52same here
NOT WORKING :(
It is, double check your command blocks and their settings
There’s a problem with your system, a player can put a key in the chest then take it out really quickly and they’ll still have a key and the loot will still go in the crate. A tick delay may need to be put on one of the command blocks.
Tick delays only make it take longer for the commands to work. If you add a delay they can do it still. Can’t really fix what the game detects. Maybe you can add a command block where it detects the player and gets rid of their key from their inventory
@@gabedala Only problem there is if they don’t do the glitch it will take two
@@gabedala the only way to fix it is to change the system so it no longer detects wether the key is in the chest and instead use a redeem button that removes it from the inventory and then activates the system
@@Desert_Skygen that’s also true!
U never helped me dude try better!
Yeah cause you stand out from 100s of other people asking for my help so I NEED to help you right?
/execute at @r[type=armor_stand,name="Crates"] run /setblock ~~-2~ redstone_block
I got an error in the first command /testforblock ~~1~ ~~1~ -10 -60 4
Double check the command block settings and make sure your chests are facing the same direction
Playsound firework.large_blast @p