How to Make a Timer Using Command Blocks

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ธ.ค. 2024

ความคิดเห็น • 63

  • @brecons3509
    @brecons3509 ปีที่แล้ว +5

    Hey man I just wanna say thank you. I've been working on a mini-game for me and the boys and this video helped me a serious amount. Like fr thank you bro I would not have been able to complete it without this video.

    • @cashykid420
      @cashykid420 11 หลายเดือนก่อน +1

      Yo bro what mini game ? I’ve been doing the same thing for me and my boys lol

  • @kristoffereiler
    @kristoffereiler 2 ปีที่แล้ว +4

    thx so much helped me set my server up without using 2000 repeaters!

  • @Mikan_Gaming
    @Mikan_Gaming 2 ปีที่แล้ว +3

    And i also used this in a build battle! Also thanks for the tutorial! Even tough i made some differences

    • @legends7867
      @legends7867 9 หลายเดือนก่อน

      same

  • @En_General
    @En_General 4 หลายเดือนก่อน

    Hey! I tried it myself and made sure every command is well written and The title and subtitle command doesn't work. Do you know what i can do ?

  • @Ositokingen
    @Ositokingen ปีที่แล้ว +3

    Can you slow the timer down on the side?

    • @silent_assassins
      @silent_assassins  ปีที่แล้ว +3

      You could make another scoreboard objective that counts up every tick. Then, whenever it hits 20, add one to the main score that is displayed on the side. You can change this to make it go even slower if you want. Just use a different number in place of 20.

    • @Ositokingen
      @Ositokingen ปีที่แล้ว +1

      Okay

  • @IDKwhattoupload
    @IDKwhattoupload 2 ปีที่แล้ว +6

    why isnt it working?

    • @silent_assassins
      @silent_assassins  2 ปีที่แล้ว +4

      It worked for me. Maybe try checking all of the commands again. Sometimes if fails for me because of a spelling mistake or typo. If that's not it, maybe try checking for any errors given by the command blocks. If you still can't figure it out, you could join my Discord and I could help you there.

    • @Mikan_Gaming
      @Mikan_Gaming 2 ปีที่แล้ว +1

      I thik its becuse of you not putting one of the command blocks on always active

    • @grxmborne
      @grxmborne ปีที่แล้ว

      Make sure you followed the steps

  • @dvm6049
    @dvm6049 2 หลายเดือนก่อน

    I'm trying to make a CSGO bomb in a minecraft map I'm making. What commands will make the 'bomb' function to:
    1. Start a 30 second timer, causing red colored title to say "Bomb's Armed"
    2. When Deactivated, timer will reset and title text will say "Bomb disarmed"
    3. If bomb reaches 30 second mark, firrworks appear at the bomb's location and red text will say "Boom!"
    Any help will be much appreciated. I’m using bedrock

  • @Mikan_Gaming
    @Mikan_Gaming 2 ปีที่แล้ว +3

    Also reset also works 5:20

  • @MARTOZ_MC
    @MARTOZ_MC หลายเดือนก่อน

    do you now how to make a timer but one that activates when a block is placed and stops/resets when the player dies

    • @CrazyKorok
      @CrazyKorok 23 วันที่ผ่านมา

      Use a repeating always active command block with this command: testforblock "block" ~ ~ ~ and replace the "block" with whatever block you want and the ~ ~ ~ with the coordinates of where the block needs to be placed. Then just have a redstone comparator coming out of the back (it doesn't matter what side) and hook that up to whatever you want it to do when that block is placed. I'm not sure how to have it reset when the player dies, other than just having the player walk over a pressure plate when the come out of the spawn room, and that pressure plate would have a command that sets the block from earlier to air. Hope that helps and sorry for the novel lol

    • @MARTOZ_MC
      @MARTOZ_MC 23 วันที่ผ่านมา

      @CrazyKorok Thanks man👍

    • @silent_assassins
      @silent_assassins  21 วันที่ผ่านมา

      CrazyKorok has some good ideas. Another way (using scoreboard objectives) would be to setup an objective for the criteria of placing a block and then also for player death. I know "death" is a criteria option. I'm not sure, but I think you can use the "used" criteria and compound it with the block name to detect when a player places a certain block. Then, you can simply have a repeating command block that searches for players with either score, and either start or stop the timer accordingly. Remember to reset the score after you run the command! I hope this helps.

  • @FlameBoyyant216..17
    @FlameBoyyant216..17 10 หลายเดือนก่อน

    i sub btw thanks for the tutorial!

    • @silent_assassins
      @silent_assassins  5 หลายเดือนก่อน

      No problem, thanks for the sub!

  • @Mikan_Gaming
    @Mikan_Gaming 2 ปีที่แล้ว +2

    But i want the thing on the side to go up one every second not tick

    • @Mikan_Gaming
      @Mikan_Gaming 2 ปีที่แล้ว +2

      Nevermind i fixed it myself

    • @thesweetbunny-fazbear
      @thesweetbunny-fazbear ปีที่แล้ว +1

      ​@@Mikan_Gaming Can i have your solution please ?

    • @Mikan_Gaming
      @Mikan_Gaming ปีที่แล้ว +1

      ​@@thesweetbunny-fazbear Sorry but i forgot the solution

    • @PixelPulse210
      @PixelPulse210 11 หลายเดือนก่อน +1

      @@thesweetbunny-fazbear you just have to set the delay in ticks to 20 in the first command block

  • @Doubleaa500
    @Doubleaa500 7 หลายเดือนก่อน

    So I can start a timer and other always active command blocks would be able to activate code based off of the specific integer the timer is at?

    • @silent_assassins
      @silent_assassins  7 หลายเดือนก่อน +1

      Yes, that's exactly right!

  • @Hoodie_42
    @Hoodie_42 5 หลายเดือนก่อน

    It says error at the scoreboard players add [your-ign]. Part can you help me?

    • @silent_assassins
      @silent_assassins  5 หลายเดือนก่อน

      Sure! Does it give you any form of error? Feel free to join my discord server as well: discord.com/invite/u44zRk3CBP

  • @Butttickler23
    @Butttickler23 3 ปีที่แล้ว +3

    Cool good video yes mhm

  • @dbvggbbb1744
    @dbvggbbb1744 ปีที่แล้ว +1

    I wouldeve like to have an escape timer like in pizza tower

    • @silent_assassins
      @silent_assassins  ปีที่แล้ว

      You can repurposed this for anything! You can change the command that runs when the timer hits 0.

    • @basian7365
      @basian7365 ปีที่แล้ว

      @@silent_assassins Hey, i had a question involving the targeting part of the commands... im trying to use this for a minigame but the command block would need to target all players within a certain distance of the command blocks... how would i do that?

    • @silent_assassins
      @silent_assassins  ปีที่แล้ว

      @basian7365 you could use @a[distance=..20] to select all players within 20 blocks. You might want to check my work on that, but you can use this along with other selectors to filter out which players you would like to target the command.
      Edit: here's a link to some selectors minecraft.fandom.com/wiki/Target_selectors

  • @TheDuck309
    @TheDuck309 หลายเดือนก่อน

    how can i change it to use armor stands instead?

    • @silent_assassins
      @silent_assassins  หลายเดือนก่อน

      @@TheDuck309 you could select armor stands via their name, but it would probably be better to use UUID. I believe you can summon an armor stand with a custom UUID that you can then type in the command in place of the player name.

    • @TheDuck309
      @TheDuck309 หลายเดือนก่อน

      @silent_assassins thank you, i will look in to that. Great video btw

    • @TheDuck309
      @TheDuck309 หลายเดือนก่อน

      Would the armor stand need to be loaded by a player at all times? Or could you use the force chunkload command?

    • @silent_assassins
      @silent_assassins  หลายเดือนก่อน

      @TheDuck309 I'm not sure if that's necessary since armor stands should be persistent. You might want to make it invulnerable, though. Maybe make it a marker.

  • @lebkeo5838
    @lebkeo5838 9 หลายเดือนก่อน

    When I leave the game and rejoin there is another name of myself on the scoreboard and it won’t disappear

    • @silent_assassins
      @silent_assassins  8 หลายเดือนก่อน +1

      Sorry, but I've never experienced that before. I hope you get it figured out. If you still need help, feel free to join the discord and I'll see what I can do.

  • @PixelPulse210
    @PixelPulse210 11 หลายเดือนก่อน

    Does this work on bedrock, I followed the steps exactly multiple times and the title didn’t work

    • @silent_assassins
      @silent_assassins  11 หลายเดือนก่อน

      Some commands (possible the title command) are different on Bedrock edition. If the scoreboard command follows the same syntax, then it should work fine besides the title. Otherwise, you'll probably have to look up the syntax for each command in Bedrock edition. Apart from the syntax, this method should work on Bedrock as well.

  • @TheChessGhoul
    @TheChessGhoul 6 หลายเดือนก่อน

    Is this on java or bedrock?

    • @silent_assassins
      @silent_assassins  6 หลายเดือนก่อน

      Java, but you can try it on Bedrock.

    • @TheChessGhoul
      @TheChessGhoul 6 หลายเดือนก่อน

      I don’t have java I play on console

  • @KaedenJanson
    @KaedenJanson ปีที่แล้ว

    does the word display command not work on console?

    • @silent_assassins
      @silent_assassins  ปีที่แล้ว

      I think it should. Maybe check your spelling?

  • @StrengthnessMC
    @StrengthnessMC 4 หลายเดือนก่อน

    Is it working on 1.8.8?

    • @silent_assassins
      @silent_assassins  4 หลายเดือนก่อน

      @@StrengthnessMC probably not. Most Minecraft commands were changed in 1.13, so this only works for versions since then.

  • @CaptainEO1986
    @CaptainEO1986 ปีที่แล้ว

    How to remove the display of the timer on the screen

    • @silent_assassins
      @silent_assassins  ปีที่แล้ว +1

      I haven't tried it myself, but it should remove the display if you run the command but omit the objective. For example: /scoreboard objectives setdisplay sidebar
      I hope that works for you.

    • @PixelPulse210
      @PixelPulse210 11 หลายเดือนก่อน

      /scoreboard objectives remove timer works, but you have to re add the timer dummy

  • @koxbalon
    @koxbalon ปีที่แล้ว

    Thx

  • @yeetcathaha
    @yeetcathaha ปีที่แล้ว +1

    0:44

  • @the_undead
    @the_undead ปีที่แล้ว

    Add timestamps into your tutorials and make it so that anybody who knows nothing about how any of this works can watch the full video and learn everything or so the people who know parts of this information can use the stupid timestamps to more easily get the information they need. I have spent 3 hours trying to figure this out and this video isn't helping because because there is information that I do not have that no tutorial has included so far. Why is it so hard to at least show how to address an entity other than a player.

    • @the_undead
      @the_undead ปีที่แล้ว

      Also don't copy and paste commands in a territorial actually type them out

    • @silent_assassins
      @silent_assassins  ปีที่แล้ว

      That's a great idea. I'm sorry you're having a hard time with this. I didn't include this in the video, and didn't type out the commands, because I was mainly trying to make it a short video. You can address an entity using @e[attribute=value] where attribute could be something like "type" (type of entity) or "uuid" (unique identifier). The value would be the entity type or UUID of the entity. I hope this helps.

  • @Tidal_Rekoon
    @Tidal_Rekoon ปีที่แล้ว

    what is yur discord??

    • @silent_assassins
      @silent_assassins  ปีที่แล้ว

      discord.com/invite/u44zRk3CBP
      It's also near the bottom of the description.