[Minecraft Java] How to make a Minigame Clock

Ойындар

-All commands available in description-
This is a small, but tough, command system that you can use to make an in-game clock for your minigames and adventure maps. This is my first time creating a tutorial and I'd like to do more, so let me know what I can improve!
A. SETUP COMMANDS
A1. /scoreboard objectives add TimerScore dummy
A2. /scoreboard objectives add TimerMinutes dummy
A3. /scoreboard objectives add TimerSeconds dummy
A4. /bossbar add 1 {"text":"0:0"}
A5. /bossbar set minecraft:1 players @a **This has a small error in the video. Correct version here**
A6. /bossbar set minecraft:1 max 300
B. RESET FUNCTION
B0. /setblock ~1 ~ ~ air (Activator)
B1. /scoreboard players set #TimerEntity TimerScore 300
B2. /scoreboard players set #TimerEntity TimerMinutes 5
B3. /scoreboard players set #TimerEntity TimerSeconds 0
B4. /bossbar set minecraft:1 name ["",{"score":{"name":"#TimerEntity","objective":"TimerMinutes"}},{"text":":"},{"score":{"name":"#TimerEntity","objective":"TimerSeconds"}}]
B5. /execute store result bossbar minecraft:1 value run scoreboard players remove #TimerEntity TimerScore 0
C. TICK FUNCTION
C0. 4-4-2 Repeater Clock or Similar (Activator)
C1. /execute store result bossbar minecraft:1 value run scoreboard players remove #TimerEntity TimerScore 1
C2. /scoreboard players remove #TimerEntity TimerSeconds 1
C3. /execute if score #TimerEntity TimerSeconds matches ..-1 run scoreboard players remove #TimerEntity TimerMinutes 1
C4. /execute if score #TimerEntity TimerSeconds matches ..-1 run scoreboard players set #TimerEntity TimerSeconds 59
C5. /bossbar set minecraft:1 name ["",{"score":{"name":"#TimerEntity","objective":"TimerMinutes"}},{"text":":"},{"score":{"name":"#TimerEntity","objective":"TimerSeconds"}}]
C6. /execute if score #TimerEntity TimerScore matches ..-1 run setblock X Y Z minecraft:redstone_block **You need to replace [X Y Z] with the coordinates of your 'repeater choke' so it stops the clock successfully.**
Still struggling? Check out the demo world: drive.google.com/file/d/1D4P0...
Please do not repost this video, however feel free to share as much as you like!
Music: www.purple-planet.com
CHAPTERS
0:00 Example Showoff
1:20 Scoreboard Setup
2:56 Reset Function
5:10 Tick Down Function
6:55 Outro

Пікірлер: 228

  • @dimani128
    @dimani1286 ай бұрын

    This is the best command block tutorial I have seen in a very long time, even if it's slightly outdated.

  • @dpaaron1
    @dpaaron12 жыл бұрын

    Great tutorial! Adding the acutal commands in the description is very helpful and solved my problem thanks for sharing :)

  • @ChibiRansu
    @ChibiRansu2 жыл бұрын

    This is a very helpful video, grateful for the commands in the description as well!

  • @julianwood5262
    @julianwood52623 жыл бұрын

    Very nice job, i'll be using this very often in my minigames

  • @ultimategames78
    @ultimategames782 жыл бұрын

    This is a very very useful tutorial, I've used this at least 20 times now..

  • @fireworks1997
    @fireworks1997 Жыл бұрын

    I have never seen such a well explained commandblock video as this. Well done

  • @maartenvb5912
    @maartenvb59123 жыл бұрын

    Thanks so much! Been working on a minigame that includes defusing a bomb with a countdown and such and couldnt do it with out this vid

  • @faultinyoutube

    @faultinyoutube

    3 жыл бұрын

    Shoot a link once it's done! Would love to play

  • @tademo546
    @tademo546 Жыл бұрын

    Thanks, I've been searching for something like this for hours

  • @sgiamgodvn111
    @sgiamgodvn111 Жыл бұрын

    Thanks, I used it for the 24 hours clock in my server :)

  • @gabek.2952
    @gabek.2952 Жыл бұрын

    Worked flawlessly and perfectly explained. Sub for u sir!

  • @GabGab_Games
    @GabGab_Games Жыл бұрын

    Great video! can you make a video of how to make the 4-4-2 thing?

  • @luckyknight4818
    @luckyknight48182 жыл бұрын

    thanks a lot for the tutorial!

  • @MCGamming_server
    @MCGamming_server2 ай бұрын

    thanks, this helped me a lot, very good "lesson"

  • @David09595
    @David095953 жыл бұрын

    The best tutorial I've ever seen

  • @ToniToni-1

    @ToniToni-1

    2 жыл бұрын

    Agree

  • @tenjensen
    @tenjensen2 жыл бұрын

    Hey Fault, awesome tutorial! I also had another question though. Basically, I'm creating a team game where one team hunts the other team down, and I also need a way to end the game if the hunters eliminate all of the other team, in the same way that the game would end if the timer ran down. I also need the timer to reset because of this and for the game to go back to its original state. Thanks!

  • @faultinyoutube

    @faultinyoutube

    2 жыл бұрын

    There are a few different ways to go about team elimination detection. You can use a big detection command block that looks for players in the 'arena' on specific teams or keep track of the number of kills each team gets and compare that to the number of players on said team. However you handle detection, stopping the clock is pretty easy. Just have a command block in your system that places the choke redstone-block back into position and places one to reset the timer. (You could also hide the timer at this point.) Then do whatever else you need to reset the game. On the opposite side, when the clock reaches zero, you could have another set of command blocks that does your 'stop and reset' stuff.

  • @joshuas.4969
    @joshuas.49693 жыл бұрын

    Great tutorial. Just wondering how you can hide the bossbar when it runs out and show up when you start it.

  • @faultinyoutube

    @faultinyoutube

    3 жыл бұрын

    This one is fairly easy! Just run command A5 again when you want to enable/disable it! ( /bossbar set minecraft:1 players @a )

  • @omar_walid7424
    @omar_walid74243 ай бұрын

    thank you! the tutorial was perfect 👌 but i wanted to ask can i use multiple timers in the same world?

  • @faultinyoutube

    @faultinyoutube

    3 ай бұрын

    Yep! Just use a new #TimerEntity (Can name it like #TimerEntityTwo or #ShotClockEntity or something) in place of, well, #TimerEntity, and a second bossbar (/bossbar add 2 {"text":"0:0"}) and use that in place of minecraft:1 (you can also give the bossbars better names than '1' and '2' iirc

  • @Ohmman
    @Ohmman2 жыл бұрын

    i wonder if theres a way to connect custom advancements to command block events...

  • @raeannechong2776
    @raeannechong27762 жыл бұрын

    nice tutorial, very clear, but i have a question.. maybe im dumb or smth but how do u start the countdown? i'm making a hide and seek minigame and i'm using the countdown for the hiders to hide before the seekers are released

  • @faultinyoutube

    @faultinyoutube

    2 жыл бұрын

    At 5:15, the redstone block and 2 repeaters in the BLUE zone act as a 'choke' preventing the clock from activating the command blocks. So to start the clock, you just need to remove that redstone block with a /setblock 'air' command, and the clock will start running

  • @faultinyoutube
    @faultinyoutube3 жыл бұрын

    Small error in the setup: [ /bossbar set players Minecraft:1 @a ] should be [ /bossbar set Minecraft:1 players @a. ] It is fixed in the description.

  • @user-mf1re9om1v

    @user-mf1re9om1v

    Ай бұрын

    command line

  • @coolerbast1
    @coolerbast111 ай бұрын

    Very cool

  • @ObsidianIsOk
    @ObsidianIsOk2 жыл бұрын

    Where do I put in B0? I am not sure if I put it in the impulse command block because the video shows it as being repeated Edit: I was being a peabrain and didnt realize it deletes whenever the redstone block is placed there! my bad

  • @Ceof
    @Ceof Жыл бұрын

    hey I have a question on it! When the timer is finish, it goes to negative numbers. Is there any mistake and how can I fix it?

  • @anikimed
    @anikimed3 жыл бұрын

    Hey! One question... Can the timer work even without the bossbar? I'm working on a map in Bedrock.

  • @gearhorse

    @gearhorse

    3 жыл бұрын

    I believe so. Bedrock supports the dummy command for scoreboards, so you should only need a single variable that tracks the amount of seconds in total. Have it go up every second till it hits the timer value you are trying to reach.

  • @anikimed

    @anikimed

    3 жыл бұрын

    @@gearhorse Thanks! I want to make the timer to at least 10-20 minutes.

  • @ThatShadowBall

    @ThatShadowBall

    2 жыл бұрын

    If u dont want bossbar Dont type /bossbar Type /actionbar add 1 {"text":"Timer"}

  • @ALexpLK
    @ALexpLK2 жыл бұрын

    Nice tutorial, very clearly structured with those timestamps and good visuals! Thank you

  • @faultinyoutube
    @faultinyoutube3 жыл бұрын

    To create the inverse, such as a stopwatch that continually counts up, we need to make some small changes so the system counts up and the bar itself resets every minute. Make these changes: A6. /bossbar set minecraft:1 max 60 B1. /scoreboard players set #TimerEntity TimerScore 0 B2. /scoreboard players set #TimerEntity TimerMinutes 0 B5. /execute store result bossbar minecraft:1 value run scoreboard players remove #TimerEntity TimerScore 0 C1. / scoreboard players add #TimerEntity TimerScore 1 C2. /execute store result bossbar minecraft:1 value run scoreboard players add #TimerEntity TimerSeconds 1 C3. /execute if score #TimerEntity TimerSeconds matches 60.. run scoreboard players add #TimerEntity TimerMinutes 1 C4. /execute if score #TimerEntity TimerSeconds matches 60.. run scoreboard players set #TimerEntity TimerSeconds 0

  • @sonnyh_

    @sonnyh_

    Жыл бұрын

    how do i make the timer longer then a minute?

  • @faultinyoutube

    @faultinyoutube

    Жыл бұрын

    @@sonnyh_ Set different numbers in setup and reset; n = number of minutes you want. Timerscore = 60*n; Timerminutes = n; bossbar max = 60*n. I use 300 in the desciption for 5 minutes

  • @sonnyh_

    @sonnyh_

    Жыл бұрын

    @@faultinyoutube this is for the timer counting up right?

  • @faultinyoutube

    @faultinyoutube

    Жыл бұрын

    @@sonnyh_ No, counting down, I see what your asking now! For the counting up timer you just need to set the max to the Max number of seconds you want and have a (C3/C4) command to stop the timer when it hits that max value.

  • @jaynielabanilla6768
    @jaynielabanilla67682 жыл бұрын

    Thanks 😊

  • @user-zs9mk1xb7q
    @user-zs9mk1xb7q Жыл бұрын

    Hey I got a few questions, 1. Is there any way to make it so it doesnt show up like double digits it looks weird, " 9:9 9:8 9:7 9;6 " instead of "9:09 9:08 9:07 9:06) 2. Also how do we change the colour of the bar and text

  • @faultinyoutube

    @faultinyoutube

    Жыл бұрын

    1. Similar to how we STOP the clock or set the minutes (C4.), you need to have a check (/exectue if) for those 9 seconds and replace the bossbar name command with one that adds the 0 after the : 2a. the bossbar has a command 'set id color' that can be used to set its color minecraft.fandom.com/wiki/Commands/bossbar If this doesnt change the text as well, you need to add color syntax to your name commands codakid.com/minecraft-color-codes/#:~:text=You%20can%20change%20the%20color,result%20in%20the%20color%20gold.

  • @anytypeoftypical596
    @anytypeoftypical5963 күн бұрын

    If I wanted to cut the command off by finishing the timer early, what command would I use?

  • @ryancuriel2827
    @ryancuriel28273 жыл бұрын

    In the video it talks about 10mins, but what input do I use for 60secs that all I need ?

  • @gearhorse

    @gearhorse

    3 жыл бұрын

    The entire system runs on seconds so just replace the 600 (600seconds or 10 minutes) with 60 (60seconds, 1 minute)

  • @ryancuriel2827

    @ryancuriel2827

    3 жыл бұрын

    @@gearhorse ah ok thanks 😊

  • @lucasmoeckel9678
    @lucasmoeckel9678 Жыл бұрын

    For the scoreboard setup idk how to do it ik the commands but I don't know the command blocks to use

  • @nilleriver9827
    @nilleriver98272 жыл бұрын

    Hey, just a question. I'm trying to make it so that once the players have defeated all mobs within the timer, it will stop and reset the timer, but im not sure how to do that. Do you have an idea on how?

  • @faultinyoutube

    @faultinyoutube

    2 жыл бұрын

    Oh goodness. Well basically you need to have some way to detect when all those mobs are dead. There's a lot of approaches, you could check in an area, check for a type, or name them all and check for a name. When the check succeeds (all mobs are dead) you then run the last command in the tick function (activate the choke) to stop the clock and the reset function to set it back to its start state.

  • @nilleriver9827

    @nilleriver9827

    2 жыл бұрын

    @@faultinyoutube Thanks for the reply! Do I copy and paste the last command (in the tick function) and connect it to the command block that checks if all mobs are dead?

  • @faultinyoutube

    @faultinyoutube

    2 жыл бұрын

    @@nilleriver9827 Basically! You'll want that command and one that sets a redstone block in front of the reset timer so it goes back to full

  • @nilleriver9827

    @nilleriver9827

    2 жыл бұрын

    @@faultinyoutube Thank you very much for clarifying! Great video by the way

  • @jakypetrik1950
    @jakypetrik1950 Жыл бұрын

    is there way to meke it deaspear when the player leave that area where i put it?

  • @quoirky1221
    @quoirky12213 жыл бұрын

    hey, could you please link the world files in the description, so i can paste it in my world with worldedit? cant wrap my head around this

  • @faultinyoutube

    @faultinyoutube

    3 жыл бұрын

    That's a great idea! I'll get on that ASAP.

  • @faultinyoutube

    @faultinyoutube

    3 жыл бұрын

    Added!

  • @quoirky1221

    @quoirky1221

    3 жыл бұрын

    @@faultinyoutube thanks mate

  • @voltywolty
    @voltywolty2 жыл бұрын

    thought this would be for bukkit and i got super happy. just to realize that its command blocks :( good video overall tho

  • @shuachaval5716
    @shuachaval571610 ай бұрын

    Yo que soy español y entiendo el ingles, bro que buen video, esto me ayudo bastante

  • @lostreed4421
    @lostreed44212 жыл бұрын

    I have a question, how did you removed the bossbar like it just showed on the intro

  • @faultinyoutube

    @faultinyoutube

    2 жыл бұрын

    Command A5 (see description) is used to make the bar appear. If you do the same command but remove the @p (players target) it should wipe it from view

  • @Hi-sk3ou
    @Hi-sk3ou3 жыл бұрын

    So what do you pit in the first three chain command blocks

  • @faultinyoutube

    @faultinyoutube

    3 жыл бұрын

    In which function? Here is it in setup: kzread.info/dash/bejne/fH2JxcyJfpjQqrg.html

  • @official-official-chat-mod9383
    @official-official-chat-mod9383 Жыл бұрын

    Hey i dont know if you still reply but is there a way to make it so when it runs out it sets a block/signal to a area i need it for a payment system

  • @faultinyoutube

    @faultinyoutube

    Жыл бұрын

    Command C6 (see Description); which stops the clock from running negative; copy this command onto another command block and have the setblock X Y Z to place a redstone block where you need it for your payment system.

  • @noamigo
    @noamigo2 ай бұрын

    Hey, if you´re still answearing comments I have a question. Is it possible to change the timer color? I only managed to change the timer color for the first second and then it goes back to white. I would really apreciate your help

  • @faultinyoutube

    @faultinyoutube

    2 ай бұрын

    Trying my best! Color is super simple, just do "/bossbar set minecraft:X color Y" where X is your bossbar id (probably 1) and Y is your color of choice

  • @noamigo

    @noamigo

    2 ай бұрын

    @@faultinyoutube tnx much apreciated!

  • @phinesandfeeb7260
    @phinesandfeeb72602 жыл бұрын

    hello bro!!! one question! how can i do a count of all block i break??? pls teach me D:

  • @faultinyoutube

    @faultinyoutube

    2 жыл бұрын

    Did just a little research into this, cant seem to find a way to capture ALL blocks mined in a single scoreboard, however, if the player is only breaking one block type (stone) you can do something like this: /scoreboard objectives add BlocksMined minecraft.mined:minecraft.stone If you need multiple blocks, check out this StackExchange Thread: gaming.stackexchange.com/questions/250175/minecraft-scoreboard-count-multiple-block-ids

  • @mc.klerdos5434
    @mc.klerdos54342 жыл бұрын

    Great video but I have one problem in my world its that when the timer starts it says 5:0 BUT after the problem is that when it says 4:59 it stops counting down after a min it goes from 4:59 to 3:59 and after that 2:59, 1:59 , 0:59 and the bar does not change. So how can I make it count down and make the bar go down? Edit: Oh I made a error that made the bar not go down but when I double checked everything it still didn't count down

  • @faultinyoutube

    @faultinyoutube

    2 жыл бұрын

    Glad to hear you are making progress. Sounds like maybe a typo in the B4 & B5 commands, maybe try recopying them? If that still doesnt work I got a quick walkthrough up here: kzread.info/dash/bejne/mmmb2dKgc5q-Y5s.html

  • @mc.klerdos5434

    @mc.klerdos5434

    2 жыл бұрын

    @@faultinyoutube Thank you so much for taking time out of your day to help me. I solved the problem it was all good exept the command blocks were at conditional. Thank you for helping me. There is no problem in the video, if anyone is having difficulty they should double check the steps.

  • @Dream-km6nh
    @Dream-km6nh Жыл бұрын

    Does it work for bedrock?

  • @GreenCorn303
    @GreenCorn30312 күн бұрын

    bro if i want to put more time what i have to do

  • @Andrew.170
    @Andrew.17010 ай бұрын

    I downloaded the demo world, and it didn't work there

  • @jakethed-evilworshipperlol9644
    @jakethed-evilworshipperlol9644 Жыл бұрын

    is this possible on bedrock?

  • @primohippo4014
    @primohippo40142 жыл бұрын

    Is there a way to only show the timer to certain players?

  • @faultinyoutube

    @faultinyoutube

    2 жыл бұрын

    A5. /bossbar set minecraft:1 players [@a] this command, switch the [ ] area to the player(s) you want

  • @ShuAbLe
    @ShuAbLe6 ай бұрын

    can someone explain the use of `#TimerEntity` in: scoreboard players #TimerEntity as I understand only players can have a scoreboard and I don't know what the game does with the # and how to use it in other cases.

  • @faultinyoutube

    @faultinyoutube

    6 ай бұрын

    # turns the following text into basically a 'fake player.' So its a container that can hold scoreboard values as if it was a player, without having to have another player to hold that variable

  • @ShuAbLe

    @ShuAbLe

    6 ай бұрын

    @@faultinyoutube Hey, I never tought I would get a response from the creator itself years later, thanks.

  • @leo-7209
    @leo-72092 жыл бұрын

    thx so much

  • @Bovain_
    @Bovain_ Жыл бұрын

    If I put all of that into a datapack with no redstone at all will it still work?

  • @faultinyoutube

    @faultinyoutube

    Жыл бұрын

    Probably not 🤔 I do want to make a data pack version of this, maybe that's something I can jump on soon here! Keep an eye for it!

  • @Bovain_

    @Bovain_

    Жыл бұрын

    @@faultinyoutube Alright thanks, I am making a mini game and I need something that will display how much time is left

  • @rudiwitheye1805
    @rudiwitheye18052 жыл бұрын

    Hi, just a bit confused on the breaking of the redstone block, mine doesnt seem to do that

  • @rudiwitheye1805

    @rudiwitheye1805

    2 жыл бұрын

    Nevermind lol, i have fixed the issue

  • @faultinyoutube

    @faultinyoutube

    2 жыл бұрын

    Glad to hear it! Thats a pretty easy thing to mess up, but its just as easy to fix!

  • @Kemalettin644
    @Kemalettin6442 жыл бұрын

    How do I make this score incremental

  • @ultramegabicara9837
    @ultramegabicara98373 жыл бұрын

    im soo confused i dont know whare wich commands go, can you record yourself placing and putting the command in each place?

  • @faultinyoutube

    @faultinyoutube

    3 жыл бұрын

    Check out the world link down in the description, hopefully that will help you get your bearings!

  • @ultramegabicara9837

    @ultramegabicara9837

    3 жыл бұрын

    @@faultinyoutube ok, but before i open the world does it work in 1.17?

  • @faultinyoutube

    @faultinyoutube

    2 жыл бұрын

    @@ultramegabicara9837 World built in 1.17

  • @ultramegabicara9837

    @ultramegabicara9837

    2 жыл бұрын

    @@faultinyoutube it still dont work for me :/

  • @naturalnico6097
    @naturalnico6097 Жыл бұрын

    The value of my boss bar decreases, but the number above the boss bar does not change. Can someone help me?

  • @ZodiacPlayzGames
    @ZodiacPlayzGames2 жыл бұрын

    It is a very helpful video but is there a way for it to automatically reset when it runs out of time?

  • @faultinyoutube

    @faultinyoutube

    2 жыл бұрын

    Totally! Since the reset command is run by placing a redstone block at its start, you simply need to have a command in the clock that places that block. Basically you can take command C6 (see video description) and duplicate that onto another command block, but have the XYZ be where you place the redstone block that activates the reset function.

  • @ZodiacPlayzGames

    @ZodiacPlayzGames

    2 жыл бұрын

    @@faultinyoutube Thank You!

  • @samsr2887
    @samsr28873 жыл бұрын

    when I set this up with the same commands, the timer turns into: ":" just the colon, it isn't able to grab the default minutes and seconds :/

  • @faultinyoutube

    @faultinyoutube

    3 жыл бұрын

    Sounds like you didn't setup the variables correctly? Did you run all the setup commands?

  • @HerrSaint
    @HerrSaint5 ай бұрын

    I did everything right, but when the counter reaches zero, it starts reading -1:52 -1:51 -1:50 and so on, and I don't know how to solve it, and I placed the redstone block in the right location

  • @ezenloke8170
    @ezenloke81702 жыл бұрын

    How do we make it so that it counts down a few days, hours, minutes and seconds?

  • @faultinyoutube

    @faultinyoutube

    2 жыл бұрын

    Add additional variables for days and hours and increase the existing variable values to componsate

  • @Ethan_Barnes
    @Ethan_Barnes2 жыл бұрын

    At 4:44 the bossbar doesn't change and when I do it it wont turn to full bossbar and no 10:00 timer appear? Please help ASAP

  • @faultinyoutube

    @faultinyoutube

    2 жыл бұрын

    Are you copy pasting the commands from the description? Maybe you have a typo?

  • @mittelkorn3464
    @mittelkorn34642 жыл бұрын

    Hi, i did it how you said but every time i place the Block (reset) It just replaces the Block.

  • @faultinyoutube

    @faultinyoutube

    2 жыл бұрын

    It replaces which block? The command block? The Redstone block? If it's the command block, you need to offset the position by 1 in the direction of the Redstone block. So example; ~1 ~ ~ instead of ~ ~ ~. You can also do absolute position (the exact number coordinates of the Redstone block instead of using the tilde (~)). If the Redstone block is replacing 'itself' you need to make sure the setback command is placing a block other than RedstoneBlock. I prefer air but solid blocks like stone can work too.

  • @mittelkorn3464

    @mittelkorn3464

    2 жыл бұрын

    @@faultinyoutube i meant the Rest isn`t working

  • @faultinyoutube

    @faultinyoutube

    2 жыл бұрын

    @@mittelkorn3464Make sure your following command blocks are Unconditional Chain blocks that don't need Redstone

  • @mittelkorn3464

    @mittelkorn3464

    2 жыл бұрын

    Thx!

  • @dravosiostheonedravosiosth3543
    @dravosiostheonedravosiosth35432 жыл бұрын

    Why can't I add a bossbar in Minecraft Bedrock? Can you add bossbar in Bedrock Edition?

  • @faultinyoutube

    @faultinyoutube

    2 жыл бұрын

    Bedrock editions commands are built differently, and lack a lot of the good stuff Java had as a result of being 'console/mobile' available. No bossbar command there. Sorry!

  • @fartmcpoo27
    @fartmcpoo272 жыл бұрын

    i dowloaded the map and found a sign that said "theres a secret code in the video. Did you find it?" and im pretty sure its the code at 1:09 at the wall that says "065 071 260". but i have no idea what to do with it.

  • @faultinyoutube

    @faultinyoutube

    2 жыл бұрын

    It's hard to spot, but that's only (1) 8th of the full code 🙃

  • @fartmcpoo27

    @fartmcpoo27

    2 жыл бұрын

    💀

  • @faultinyoutube

    @faultinyoutube

    2 жыл бұрын

    Didn't turn out as clear as I had originally intended 🥶

  • @elsboi
    @elsboi Жыл бұрын

    ****wow****

  • @peterswrath8806
    @peterswrath88063 жыл бұрын

    i copied the layout of the command blocks and redstone and pasted the correct commands into them. the bossbar doesn't change, and nothing happens... idk what i did or did wrong

  • @joshuas.4969

    @joshuas.4969

    3 жыл бұрын

    I figured it out and the chain command blocks have to be always active. It worked for me.

  • @faultinyoutube

    @faultinyoutube

    3 жыл бұрын

    @@joshuas.4969 Glad you solved your problem!

  • @elusivesquid2192
    @elusivesquid21923 жыл бұрын

    for some reason the bossbar isn't moving for me even though the first command block in the tick chain says that it is updating for #TimerEntity, it isn't updating for me. any fix?

  • @faultinyoutube

    @faultinyoutube

    3 жыл бұрын

    Interesting. Thats definitely the block to look at. The only thing that comes to mind is maybe your max value is set wrong? Are you able to change the bar manually using this command? (Replace XX with numbers between 0 and your max) /bossbar set minecraft:1 value XX If that doesnt change anything, then the issue is how you setup the bossbar. Otherwise I have no idea why its not working. :J(

  • @elusivesquid2192

    @elusivesquid2192

    3 жыл бұрын

    @@faultinyoutube i got it to work thanks, one more question, how could i detect if the timer hits 0? ive been playing around with it and im not sure how

  • @faultinyoutube

    @faultinyoutube

    3 жыл бұрын

    @@elusivesquid2192 6:41 in the video. A final command block reads if the timer is less than or equal to 0, then places a redstone block on the 'choke.'

  • @elusivesquid2192

    @elusivesquid2192

    3 жыл бұрын

    @@faultinyoutube ok I got it all figured out thanks so much for the help!

  • @RAYNYT
    @RAYNYT2 жыл бұрын

    Very good tutorial. But I have a problem, when I created this mechanism on my map, this mechanism does not work when I fly further ... I realized that this is due to chunks, when I put more, then the range is also larger, but I I don’t know how to fix it, so as not to do a lot of drawing in the settings, because my PC is bad) On the demo map that you posted, I flew as much as I wanted, the command blocks worked, I didn’t even set the draw distance. Please, who knows how to fix this, tell me! Thanks in advance! P.S. The tutorial is very useful and cool!

  • @faultinyoutube

    @faultinyoutube

    2 жыл бұрын

    Tough one! Chances are the demo world has it built in the spawn chunks? I believe there is a command you can do to 'force load' chunks, maybe look into that? Google 'how to keep a chunk loaded in minecraft' maybe? Good luck! Glad you enjoyed the video

  • @RAYNYT

    @RAYNYT

    2 жыл бұрын

    @@faultinyoutube Thanks for the answer! Yes, I googled and found the answer. Where the mechanism is located, you need to be near it and register the command in the chat: /forceload add ~ ~ ~ ~ After that, the mechanism works for long distances. P.S. Once again, thank you for this guide! Good luck growing your channel!

  • @Azuriiee
    @Azuriiee2 жыл бұрын

    Whenever I start a timer for example 5 minutes, it starts at 5:59 instead of 4:59. How can I fix this?

  • @faultinyoutube

    @faultinyoutube

    2 жыл бұрын

    Does it finish at 0:59? Sound like you just need to set Timer:Minutes 1 less when resetting the clock

  • @Azuriiee

    @Azuriiee

    2 жыл бұрын

    @@faultinyoutube No, whenever it hits the 5:00 mark it resets back to 5:59, it's really weird but I'll set it up again and see if the problem persists

  • @tristanreyes6601
    @tristanreyes66012 жыл бұрын

    Hi how does the world work? i download the world and it doesn't appear in my Minecraft

  • @faultinyoutube

    @faultinyoutube

    2 жыл бұрын

    Are you in java edition? Did you drag the downloaded folder into your worlds folder?

  • @jakypetrik1950
    @jakypetrik1950 Жыл бұрын

    How can i remove it. I got it stuck in my screan and i can't stop it.

  • @bwduels
    @bwduels3 жыл бұрын

    i copied the commands out of desc but as im done with the last two reset command blocks, my bossbar only says : (colon). how to fix that?

  • @faultinyoutube

    @faultinyoutube

    3 жыл бұрын

    Sounds like your command isn't finding the variables. Did you run all the setup commands to create all the scoreboard variables?

  • @bwduels

    @bwduels

    3 жыл бұрын

    @@faultinyoutube yes, I build it like in the tutorial. (i guess)

  • @faultinyoutube

    @faultinyoutube

    3 жыл бұрын

    @@bwduels Did you copy all the commands directly from the description or type them out on your own?

  • @bwduels

    @bwduels

    3 жыл бұрын

    @@faultinyoutube I wrote the first couple ones and copied after one point, there may be a mistake somewhere. I'm gonna check

  • @faultinyoutube

    @faultinyoutube

    3 жыл бұрын

    @@bwduels Yea you must have an error somewhere, I tested the system the other night on a new world, only copying commands from the description, so you might have had a typo during your setup?

  • @donaldarents9561
    @donaldarents95612 жыл бұрын

    the bossbar is completely working, my only problem is that it only shows up for me and not my friends, how do i change that?

  • @faultinyoutube

    @faultinyoutube

    2 жыл бұрын

    Ooh, thats a pretty easy one actually! You'll just want to run this command (A5. /bossbar set minecraft:1 players @a) while your players are _in_ the server!

  • @donaldarents9561

    @donaldarents9561

    2 жыл бұрын

    @@faultinyoutube thank you so much

  • @McDucketh
    @McDucketh2 жыл бұрын

    Help. The minutes don’t appear but the boss bar goes down, once a minute has passed, is still doesn’t appear, not even as 0

  • @faultinyoutube

    @faultinyoutube

    2 жыл бұрын

    Hmm. Do the seconds count down correctly?

  • @fdemon8703
    @fdemon8703 Жыл бұрын

    thanks a lot, but i have a little problem here: /execute if score #TimerEntity TimerScore matches ..-1 run setblock X Y Z minecraft:redstone_block this command wont do anything :( (the xyz values are correct in my command block) very nice video btw :)

  • @faultinyoutube

    @faultinyoutube

    Жыл бұрын

    Hmm that's a tough one, it looks okay according to the description. I recommend splitting the command up and experimenting with each part individually? Start with just the setblock; run the command as if you were trying to just place the block with commands yourself. If the block doesn't show maybe that's your problem? Otherwise try the execute command with something simple like /kill or /say or something. If it doesn't do that then the issues in the first half of the command 🤔🤔🤔

  • @teamlb2213
    @teamlb2213 Жыл бұрын

    Is there a way to fix the 0 like this number 0:09/0:08/0:07 or more?

  • @faultinyoutube

    @faultinyoutube

    Жыл бұрын

    There is, but its a bit complex, and i didnt want to makw the video even more confusing for a little bug. Basically, for the last 9 seconds, youll need individual command blocks with an execute command that checks TimerScore (similar to C6 (description)) but instead of matches..-1 you read that second (matches..6 for example) and then you do the 'name the bossbar' but instead of saying 'minutes' ':' 'seconds' you have it say 'minutes' ':0' seconds, or literally just the direct time for the second (0:06 for the matches..6 example). I think you'd need to 'branch' the command blocks as well so... all in all solving this bug would double the amount of command blocks, but its definitely possible!

  • @teamlb2213

    @teamlb2213

    Жыл бұрын

    I see but thank you for saying about it. I just dont mean about the bug. I mean like i just had to know how i need to use the 0 that are missing after passing by number 10 as a countdown. I can give it a try and will make sure everything is correct. Thank u for tutorial👍

  • @teamlb2213

    @teamlb2213

    Жыл бұрын

    Oh and one thing! I am making a minigame that called "Shrieker Hunters". Just got idea for my own minigame ;)

  • @teamlb2213

    @teamlb2213

    7 ай бұрын

    @@faultinyoutube hey uhhmmm can u say which command block i need to check? (i forgot)

  • @faultinyoutube

    @faultinyoutube

    7 ай бұрын

    @@teamlb2213 You aren't checking a specific command block, you're running a command block that is checking the TimerScore value, and when it is equal to any of those numbers you have it replace the normal 'set bossbar name' command with one that sets the bossbar name with the additional 0 added on in the ':' part of the string creation.

  • @dobby3lf733
    @dobby3lf7332 жыл бұрын

    hello i am a bit confused i am in bedrock edition and the command in 2:17 isn’t working and is giving me an error message

  • @faultinyoutube

    @faultinyoutube

    2 жыл бұрын

    This does not work in Bedrock as Bedrock lacks many of the commands needed

  • @dobby3lf733

    @dobby3lf733

    2 жыл бұрын

    @@faultinyoutube oh ok thank you

  • @bananatheo3796
    @bananatheo37962 жыл бұрын

    why aren't my chain command blocks doing anything? Edit: it's because they were set to needs redstone instead of always active :|

  • @GrayknightYT
    @GrayknightYT3 жыл бұрын

    I’m stuck at 4:11, which command block uses which text?

  • @faultinyoutube

    @faultinyoutube

    3 жыл бұрын

    I can see how that can be a touch confusing! The command at 4:11 goes into the first one, and the execute command at 4:53 goes into the second one.

  • @GrayknightYT

    @GrayknightYT

    3 жыл бұрын

    @@faultinyoutube thank you, I’ll try to see if it works, what I’m trying to do is make a nighttime timer to see how long I have left, I have one command block hooked up to a daylight sensor to get rid of the redstone block and one hooked up to a night sensor to place the redstone.

  • @faultinyoutube

    @faultinyoutube

    3 жыл бұрын

    ​@@GrayknightYT Yea, just have the timer set for 10 minutes (length of a night) and start ticking when the daylight sensor senses the start of a night. When it detects the start of day, simply stop the timer ticking and run the reset!

  • @Zombiemain1
    @Zombiemain1 Жыл бұрын

    Does this work for Bedrock edition?

  • @faultinyoutube

    @faultinyoutube

    Жыл бұрын

    Nope!

  • @Seriousbird
    @Seriousbird2 жыл бұрын

    "unexpected>>bossbar

  • @faultinyoutube

    @faultinyoutube

    2 жыл бұрын

    Bedrock Edition lacks the commands to make this work. Sorry 😞

  • @Seriousbird

    @Seriousbird

    2 жыл бұрын

    @@faultinyoutube darn, im after trying alot of different methods and the closest i came is a wither taking /dmg 1 for 10 mins but the bar doesn't reach far enough. Then i tried ender Dragon and it goes far enough but you cant dmg with commands only player inflicted and end crystals.. but he literally cant die from the crystals

  • @Faontastique_
    @Faontastique_3 жыл бұрын

    hello i don't understand 4:11 can you help me please

  • @faultinyoutube

    @faultinyoutube

    3 жыл бұрын

    Yea that's definitely the hardest command to grasp, but it's necessary for it to work visually. Basically, we are renaming the bossbar to a "Variable : Variable" and because of how Minecraft works, we have to write a lot of stuff for each variable. We have to parse the score {"score:", find the name of the entity {"name : ", and get the value of the variable we want that's on that entity, ,"objective:" Thats how we get our number. Then we want the string to print a colon, so we do {"text":":"}. Finally, we want the second variable, so we do the same check but with the TimerSeconds objective/score instead of TimerMinutes. Hopefully that helps clear it up?

  • @bastianmc-minecraft-roblox3433
    @bastianmc-minecraft-roblox34332 жыл бұрын

    Can you help me this command comes out in red /bossbar set minecraft:1 name ["",{"score":{"name":"#TimerEntity","objective":"TimerMinutes"}},{"text":":"},{"score":{"name":"#TimerEntity","objective":"TimerSeconds"}]]

  • @faultinyoutube

    @faultinyoutube

    2 жыл бұрын

    You end the command with "}]] but you need to end it with "}}] Note the center bracket being squiggly, not square

  • @bastianmc-minecraft-roblox3433

    @bastianmc-minecraft-roblox3433

    2 жыл бұрын

    @@faultinyoutube Thanks!

  • @bastianmc-minecraft-roblox3433

    @bastianmc-minecraft-roblox3433

    2 жыл бұрын

    @@faultinyoutube hey how to fix that when the timer reaches 2:10 the numberops are put like this 2:0 and then it comes out -5:17 and then -10:18

  • @faultinyoutube

    @faultinyoutube

    2 жыл бұрын

    @@bastianmc-minecraft-roblox3433 That's a real funky one; tbh I haven't the slightest idea. Make sure to check your commands against the ones I provided in the description; there is also a downloadable world there as well as a step by step video. Hopefully looking through all those resources can help you solve the bug!

  • @discordtutorial3572
    @discordtutorial35723 жыл бұрын

    I'm on pe it dont have boss bar command

  • @reddishiscool3351
    @reddishiscool3351 Жыл бұрын

    is the real command /scoreboard objectives add TimerScore dummy ???

  • @faultinyoutube

    @faultinyoutube

    Жыл бұрын

    A1. /scoreboard objectives add TimerScore dummy Yes?

  • @reddishiscool3351

    @reddishiscool3351

    Жыл бұрын

    @@faultinyoutube is it with the command??

  • @faultinyoutube

    @faultinyoutube

    Жыл бұрын

    @@reddishiscool3351 I'm sorry I don't know what your asking. With the command blocks?? You do not need command blocks for those Setup commands, you can just use the text console to write them.

  • @6ojl207
    @6ojl2072 жыл бұрын

    Will this work on Minecraft PE?

  • @faultinyoutube

    @faultinyoutube

    2 жыл бұрын

    It will not.

  • @xFlash996
    @xFlash9963 жыл бұрын

    Does this work in 1.16.4?

  • @faultinyoutube

    @faultinyoutube

    3 жыл бұрын

    Yep!

  • @fogy4690
    @fogy46902 жыл бұрын

    Edited: I solve it. I had copied part C1 wrong forgetting "TimerScore 1" Excellent video

  • @RICE_FLOUR
    @RICE_FLOUR Жыл бұрын

    can use it in 1.8.9 to 1.19?

  • @faultinyoutube

    @faultinyoutube

    Жыл бұрын

    I believe I was in 1.18 when I built this? Definitely should work for 1.19, as for older versions might have to try and see. 🤔 Great question!

  • @RICE_FLOUR

    @RICE_FLOUR

    Жыл бұрын

    thank you

  • @abdurrahmanarebi1256
    @abdurrahmanarebi12562 жыл бұрын

    how can i make lucky block apppear every 30 seconds?????

  • @faultinyoutube

    @faultinyoutube

    2 жыл бұрын

    You'll have to have a bit more detail; what is a 'lucky block' and how does it appear? Randomly? Somewhere always around the player?

  • @abdurrahmanarebi1256

    @abdurrahmanarebi1256

    2 жыл бұрын

    Iwant it to appear in my Inventory

  • @abdurrahmanarebi1256

    @abdurrahmanarebi1256

    2 жыл бұрын

    And lucky block is mod

  • @flexerbg3001
    @flexerbg30012 жыл бұрын

    Hey dude u make very cool video But idk why you're subs is low

  • @shadow_xd12
    @shadow_xd12 Жыл бұрын

    Bro it's a good tutorial I see alot of effort put into this but I'm confused i play on ps5 so I have to copy every bit and the part where u showed . . N

  • @faultinyoutube

    @faultinyoutube

    Жыл бұрын

    Does not work on Bedrock Edition

  • @jakypetrik1950
    @jakypetrik1950 Жыл бұрын

    Wery good video. But I´m stupid or some thing becouse it goes in negative. And I put my own coordinates.

  • @jakypetrik1950

    @jakypetrik1950

    Жыл бұрын

    I fix it.

  • @peacockplayz451
    @peacockplayz4512 жыл бұрын

    How did u do the timer

  • @faultinyoutube

    @faultinyoutube

    2 жыл бұрын

    Thats...thats literally the entire video?

  • @peacockplayz451

    @peacockplayz451

    2 жыл бұрын

    @@faultinyoutubethanks , why did u stop posting videos?

  • @faultinyoutube

    @faultinyoutube

    2 жыл бұрын

    @@peacockplayz451 These take a lot of time and effort to put together, time and effort I havent had lately. But I do have another video in the pipeline, so keep an eye out!

  • @peacockplayz451

    @peacockplayz451

    2 жыл бұрын

    @@faultinyoutube oohh

  • @SlaxFS
    @SlaxFS2 жыл бұрын

    will this work on bedrock?

  • @faultinyoutube

    @faultinyoutube

    2 жыл бұрын

    No, bedrock lacks some of the commands that this system uses.

  • @SlaxFS

    @SlaxFS

    2 жыл бұрын

    @@faultinyoutube yeah i saw that so i just made my own

  • @faultinyoutube

    @faultinyoutube

    2 жыл бұрын

    @@SlaxFS Rad! Best of luck with your project!

  • @mrbutterpopcorn1363
    @mrbutterpopcorn13632 жыл бұрын

    I did not understand a thing Can u pls make a video in normal creative

  • @faultinyoutube

    @faultinyoutube

    2 жыл бұрын

    Check this out: kzread.info/dash/bejne/mmmb2dKgc5q-Y5s.html

  • @charlesgarcia285
    @charlesgarcia2859 ай бұрын

    /scoreboard objective add timerscore dummy

  • @Norvemes
    @Norvemes3 жыл бұрын

    My brain not responding

  • @robincollins7722
    @robincollins77222 жыл бұрын

    Is anyone else lost af cuz ngl idk where to put 90 percent of these commands

  • @GiangNguyen-ee2mq
    @GiangNguyen-ee2mq3 жыл бұрын

    link map please :((

  • @faultinyoutube

    @faultinyoutube

    3 жыл бұрын

    Check video description

  • @downfall6288
    @downfall62883 жыл бұрын

    I set it all up but I'm the only one that can see the timer

  • @faultinyoutube

    @faultinyoutube

    3 жыл бұрын

    /bossbar set minecraft:1 players @a This needs to be run while all the players are on the server. Minecrafts fault for this one I'm afraid.

  • @_W3b._.Hannah
    @_W3b._.Hannah2 жыл бұрын

    The credits pls

  • @faultinyoutube

    @faultinyoutube

    2 жыл бұрын

    Uh? Me?

  • @_W3b._.Hannah

    @_W3b._.Hannah

    2 жыл бұрын

    @@faultinyoutube yes

Келесі