Minecraft Blogs / Tutorial

MAP MAKING TUTORIAL: HOW TO MAKE AN IN-GAME CLOCK/TIMER

  • 653 views, 2 today
  • 1
  • 0
  • 1
Caamflyer64's Avatar Caamflyer64
Level 27 : Expert Blockhead
10
Hey Guys Caamflyer here,
If the vid didn't work the click this link: here
After several hours of tests and re-tests I finally figured out how to make a timer on the side of anyone's minecraft. This timer will time the player going through any parkour course or whatever map they want to time until they finish. The time can be reset (which is a nice feature if you ask me).

Anyway I made a youtube tutorial instead of trying to explain the entire thing in this forum post.Here are the commands for the 4 command blocks. Copy and paste the code.

Command Block 1 Code: /scoreboard objectives add timer deathCount Time
What Command Block one does is sets up the scoreboard. The word "timer" is used to set a value so all of the other command blocks can recognize the scoreboards value. For "deathCount" it counts your deaths but that shouldn't matter. I chose that because it was easier to setup and use rather than a dummy variable Finally the word "Time" is the name the scoreboard will show on the side bar.

Command Block 2 Code: /scoreboard objectives setdisplay sideBar timer
This Command Block sets up the display so it can be shown on the side of the screen.

Command Block 3 Code: /scoreboard players add @a timer 1
This Command block is in charge of adding a second every time a certain amount of ticks pass by. You need to use a clock system in order for this to work but it is explained in the video.

Command Block 4 Code: /scoreboard players set @a timer 0
This Command Block will reset all player scores. Pretty straight forward if you ask me.

Remember that to set up the timer you must be in a server. Any server will do even if you home host it so don't worry. I tried this in survival and became super frustrated and gave up.

Reminder!: This setup has to be made in a server but will work in survival once finished.

I hope you guys found this tutorial helpful and please share this with many other people. Don't forget to subscribe to my youtube channel for more map making tutorials and see you soon!

Here is my youtube Channel:
Please sub for more!
Tags

Create an account or sign in to comment.

1
03/22/2014 11:51 pm
Level 34 : Artisan Creeper Hugger
ThatEazyRider
ThatEazyRider's Avatar
Can you make it work to make someone automatically released. (Like Run From the Beast)
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome