Easy Grief Protection in Minecraft - Command Block Tutorial 1.20.1 Spawn / Build Protection w/ Teams

  Рет қаралды 28,653

DBKMinecraft

DBKMinecraft

Жыл бұрын

Hi everyone! Today I'm showing you how to make a super easy grief protection area in your survival world using command blocks!
Magik & Rituals Survival/Adventure RPG Map - www.planetminecraft.com/proje...
Command Block Commands:
Repeat & Always Active
execute if entity @e[distance=..10] run gamemode adventure @e[gamemode=survival,distance=..10]
execute if entity @e[distance=12..15] run gamemode survival @e[gamemode=adventure,distance=12..15]
Command Block Commands (Teams):
Repeat & Always Active
execute if entity @e[distance=..10] run gamemode adventure @e[tag=!TAGNAME,gamemode=survival,distance=..10]
execute if entity @e[distance=12..15] run gamemode survival @e[gamemode=adventure,distance=12..15]
TAGNAME = Name of the tag you've given to yourself/team.
My Linktree: linktr.ee/preciousrobot
DISCORD: / discord
Follow us on Instagram and Twitter! @preciousrobot
#minecraft #minecraftsurvival #minecrafttutorial #commandblock #commandblocktutorial #griefprotection #supersimple #spawnprotection
Music:
London Missile - Cute (DRAM Cover)
London Missile - Make Love (Daft Punk Cover)
clockrocketrecords.bandcamp.com/

Пікірлер: 82
@stealthquil1sants870
@stealthquil1sants870 11 ай бұрын
youre a legend adding the players tags, basically a work around for factions in a small realm
@DBKMC
@DBKMC 11 ай бұрын
Thank you! Player tags are so useful
@AhDeh
@AhDeh Ай бұрын
no fuzz, easy to follow. You have my thumbs up!
@matteGaming.
@matteGaming. 6 ай бұрын
ti amo grazie di questo tutorial mi hai salvato il server dal grief
@vincentreichert3447
@vincentreichert3447 19 күн бұрын
Thats a great Video! Thankes!
@pratinavgamingzone
@pratinavgamingzone 3 ай бұрын
thank you so much :)
@XmarcusXabreuX
@XmarcusXabreuX 10 ай бұрын
Thank you very much
@christinazervos1439
@christinazervos1439 9 ай бұрын
thank you sooooooo much
@Sowipok
@Sowipok 9 ай бұрын
thanks you very much
@Farras-ws2co
@Farras-ws2co 7 ай бұрын
Its works thank you broo
@Venqai
@Venqai 9 ай бұрын
very helpful tysm
@DBKMC
@DBKMC 9 ай бұрын
Thank you! Glad I can help!
@susenkasus
@susenkasus 4 ай бұрын
tysm
@jrd7988
@jrd7988 8 ай бұрын
Thank!!!!!!
@shahsanshukran7275
@shahsanshukran7275 Ай бұрын
thx😅
@siddharthnelanti216
@siddharthnelanti216 28 күн бұрын
Can our opponents change game mode in the adventure mode area?? Also how to set it to a particular height ? Pls tell
@0Midnite
@0Midnite Ай бұрын
how would you make it so it sets you to adventure mode at any height?
@moosnam8847
@moosnam8847 Жыл бұрын
it work and very helpful , thx for tutorial. so now want know how to add button or lever for activate ?
@DBKMC
@DBKMC Жыл бұрын
It’s made to be automatic and always on but if you’d like to put it on a on/off switch, you could. You just need to change the bottom command block to “needs redstone” and use a lever on the ground next to the bottom command block. Hope this helps!
@moosnam8847
@moosnam8847 Жыл бұрын
@@DBKMC thx you so much
@AnimeKing_editz
@AnimeKing_editz 19 күн бұрын
Does this work on lower minecraft versions like 1.16.5?
@reaper2_8
@reaper2_8 3 күн бұрын
is it possible to create a command that prevents all mobs from entering an area?
@saubrnthedragon9296
@saubrnthedragon9296 6 ай бұрын
Quick question how do I use a tag to make it work for myself and certain players I could trust?
@DBKMC
@DBKMC 6 ай бұрын
The end of the video talks about tags and how to use them!
@Tak_Tak3Phobia
@Tak_Tak3Phobia 6 ай бұрын
Map makers got REALLLL silent after this...
@walecznydywan3545
@walecznydywan3545 Жыл бұрын
Yo mate do you maybe know how can i make more range with adventure mode and more with surv mode i mean bigger safe place for spawn. I tried to change number but only thing what changed was spaming texts about gamemodes
@walecznydywan3545
@walecznydywan3545 Жыл бұрын
Maybe i did something wrong but i watched your video 3 Times maybe something is fcked up
@walecznydywan3545
@walecznydywan3545 Жыл бұрын
I mean on my server no on your video your vid is great If you maybe could make for me another command that could be great, maybe for half blocks more
@DBKMC
@DBKMC Жыл бұрын
Heyo! Yes, so if you want a larger area, you need to increase the distance numbers. Example: “distance=..50” would be about 50 blocks protected in each direction from the command block. You have to be sure to change it twice in each command block. There’s two “distance=“ in each block. You also have to be sure on the top block, you change both “distance=“ to the corresponding number. Example: “distance=52..55” change both of those and it should work. If could also depend on the server plugins. Let me know if that works!
@DBKMC
@DBKMC Жыл бұрын
​@@walecznydywan3545I can make them, how many blocks large you want?
@walecznydywan3545
@walecznydywan3545 Жыл бұрын
@@DBKMC 40 blocks sounds good👑
@quaoik9501
@quaoik9501 3 ай бұрын
can somebody find one of these that works for bedrock please?
@user-fd4vu3pn2f
@user-fd4vu3pn2f 3 ай бұрын
bro very very thank you :)
@DBKMCClips
@DBKMCClips Жыл бұрын
0:23
@YouBeenJolted
@YouBeenJolted 14 сағат бұрын
how do i take out the advice on the chat
@moon0190
@moon0190 2 ай бұрын
Does height matter?
@GAMINGhost999
@GAMINGhost999 9 ай бұрын
execute if entity @e{distance=..144} run gamemode creative @e{gamemode=servival,distance=..155}
@YourAveDuckGoseQuack
@YourAveDuckGoseQuack 6 ай бұрын
Does this work on Bedrock because I've tried and it gives me a syntax error does this only work for Java I'm on version 1.20 .41 on bedrock
@DBKMC
@DBKMC 6 ай бұрын
Hello! I’ve only tried this in Java. The concept should work but there might be a different syntax. Sorry 😩
@YourAveDuckGoseQuack
@YourAveDuckGoseQuack 6 ай бұрын
@@DBKMC alr thanks
@danyelozzz
@danyelozzz 2 ай бұрын
Now i can't remove the command in the block :c How can I remove? Xd
@Kynoomc
@Kynoomc 3 ай бұрын
execute if entity @e[distance=..20] run gamemode adventure @e[gamemode=survival,distance=..20]
@CARTUNSFORKIDS
@CARTUNSFORKIDS 5 күн бұрын
execute if entity @e[distance=12..15] run gamemode survival @e[gamemode=adventure.distance=12..15]
@arturfytsyk4998
@arturfytsyk4998 5 ай бұрын
but if u throw tnt from survival mode area u can break the adventure area?
@DBKMC
@DBKMC 4 ай бұрын
Yeah, that is one flaw. There's also some issues if you portal or teleport within the area. I'm making a new video soon for a more advanced way to set this up that addresses some of those issues.
@arturfytsyk4998
@arturfytsyk4998 4 ай бұрын
@@DBKMC I think u can detect entityblocs in a area like TNT and change his properties to don't explote
@DBKMC
@DBKMC 4 ай бұрын
@@arturfytsyk4998 Yeah, that's what I'm going to try next! I just need to test it out. Thanks!
@joels2494
@joels2494 4 ай бұрын
@@DBKMC Did you come up with a solution? Thanks for the video btw, works great
@DBKMC
@DBKMC 4 ай бұрын
@@joels2494 Thanks! I haven't figured out a work around for this specific issue just yet. I'm not sure if it's possible since TNT damage is a universal gamerule. When I use this for maps, I try to always remember that when I set the areas up and leave a little room in case someone does try it. I do have a video coming out next week that addresses some of the other issues like portals and being teleported within the area.
@donewinner7442
@donewinner7442 6 ай бұрын
Not working for me I followed everything
@trajan9975
@trajan9975 6 ай бұрын
it doesn't seem to work with warps.
@DBKMC
@DBKMC 6 ай бұрын
Warps are a little weird because you need to somehow change the gamemode back if they don't leave the area. I have an idea that could work using tags but I haven't tested it out yet. I'll make a video if I get it working.
@the_last_hun
@the_last_hun Ай бұрын
it's not working for me:(
@BloxyCraftOfficial
@BloxyCraftOfficial 8 ай бұрын
Even when I walk away it dosnt put me back to survival it keeps me in adventure
@DBKMC
@DBKMC 8 ай бұрын
What version are you on? I haven’t checked if it works for any other version than Java 1.20.
@SkippyPeanutButter122
@SkippyPeanutButter122 5 ай бұрын
will it work on 1.20.1? @@DBKMC
@jackrabbit1524
@jackrabbit1524 Ай бұрын
So I did exactly what you explained but it won’t put me back into survival mode, I have a range of 180 blocks because it’s a pvp arena
@DBKMC
@DBKMC Ай бұрын
I’ve noticed it will have issues if the area is too big. I think it has to do with the command blocks not being loaded in
@ImUnkown_
@ImUnkown_ 2 ай бұрын
The Execute part is not usefull you can just do "gamemode adventure @e[gamemode=survival,distance..10]"
@lllJozzAngelll
@lllJozzAngelll 11 ай бұрын
Is this only on Java?
@DBKMC
@DBKMC 11 ай бұрын
I haven’t tested it on Bedrock
@shrx_joshua964
@shrx_joshua964 7 ай бұрын
Can you type here
@REDS386
@REDS386 9 ай бұрын
Its work on Android bedrock
@DBKMC
@DBKMC 9 ай бұрын
I haven’t tested on those unfortunately
@JvcnbYT
@JvcnbYT Жыл бұрын
its not working for me and i dont know why
@JvcnbYT
@JvcnbYT Жыл бұрын
i keep on getting syntax error
@DBKMC
@DBKMC Жыл бұрын
Maybe check the code for extra spaces. Are you on Java?
@XmarcusXabreuX
@XmarcusXabreuX 10 ай бұрын
FOr some reason it didnt work in 1.12.2
@DBKMC
@DBKMC 10 ай бұрын
Sorry to hear! I know they made some changes to commands around 1.13
@x_panmaska_x8434
@x_panmaska_x8434 4 ай бұрын
help it doesnt work for me😭😭😭😭
@DBKMC
@DBKMC 4 ай бұрын
Sorry to hear, are you on Java? This unfortunately only works for Java. Also, be sure you’re in either survival or adventure mode for this to work.
@x_panmaska_x8434
@x_panmaska_x8434 4 ай бұрын
@@DBKMC im am on java and i did everything you said. maybe the comand block doesnt work becouse im using a tlauncher or this doeasnt work on version 1.20.4
@DBKMC
@DBKMC 4 ай бұрын
@@x_panmaska_x8434 Hello! I just tested it on 1.20.4 and it seems to be working for me. I don't think tlauncher would effect it. Be sure both command blocks are set to repeat and always active and on top of each other. Also, you need to be in survival or adventure for them to change, if you're testing in creative, it won't work. Hope that helps! Let me know!
@RiftIsTaken
@RiftIsTaken 9 күн бұрын
@@DBKMC im using 1.20.4 and i went into survival, i used 40 blocks for entering into adventure mode and 42..45 blocks for survival, whats wrong with it? i put the 2 command blocks ontop of eachother
@flytrapgg
@flytrapgg 9 ай бұрын
its spamming no matter what i do
@user-ye5dj6fq4j
@user-ye5dj6fq4j 5 ай бұрын
-5 FPS
@londonkeo6743
@londonkeo6743 10 ай бұрын
How is this easy
@BazZ3_
@BazZ3_ 4 ай бұрын
Doesnt work 🫤
@DBKMC
@DBKMC 4 ай бұрын
I just tried it out again and it's working for me. Are you on Java? This doesn't work with bedrock, unfortunately.
@BazZ3_
@BazZ3_ 4 ай бұрын
@@DBKMC yeah im on java
5 Cool Tricks with ONE Command!
9:21
BlockerLocker
Рет қаралды 637 М.
I Made A Rubik's Cube In Vanilla Minecraft
11:45
Purplers
Рет қаралды 225 М.
Did you find it?! 🤔✨✍️ #funnyart
00:11
Artistomg
Рет қаралды 114 МЛН
Зу-зу Күлпәш. Стоп. (1-бөлім)
52:33
ASTANATV Movie
Рет қаралды 1,2 МЛН
Can You Draw The PERFECT Circle?
00:57
Stokes Twins
Рет қаралды 78 МЛН
Let's all try it too‼︎#magic#tenge
00:26
Nonomen ノノメン
Рет қаралды 54 МЛН
Secret Bases From Level 1 to Level 100
23:42
LoverFella
Рет қаралды 572 М.
Useful and awesome commands I use for my skygen
23:00
Orzubek2009
Рет қаралды 18 М.
Minecraft Execute Command [1.20] Tutorial
10:29
Legitimoose
Рет қаралды 648 М.
The new Minecraft CAMERA Command is AMAZING! Full Tutorial
14:51
TheRedEngineer
Рет қаралды 237 М.
Mining 1,000,000 Blocks Alone!
9:00
MrBeast Gaming
Рет қаралды 80 МЛН
I Bought A Minecraft Realm So You Don't Have To
13:10
KasaiSora
Рет қаралды 318 М.
10 Things To Build In Your Minecraft Spawn Area
12:41
ibxtoycat
Рет қаралды 90 М.
Minecraft Charges $41 For MODS??? (I Bought Them All)
51:33
ibxtoycat
Рет қаралды 160 М.
Only sigmas do that! #shorts #minecraft #minecraftanimation
0:14
Krabster Dom
Рет қаралды 9 МЛН
Minecraft Villagers Uses Mods #minecraft #villager #grox
0:47
Froppy Craft
Рет қаралды 9 МЛН
Vamos chegar lá sim ✅ ou não ❌???
0:33
Spider Slack
Рет қаралды 6 МЛН