• check_circle Functions
  • 4,684 views, 2 today
  • 1,038 downloads, 0 today
  • 2
  • 7
  • 8
PurpleLama's Avatar PurpleLama
Level 39 : Artisan Llama
7
Description

This Datapack adds a Timer that will be shown at the bottom of the Screen in multiple different colors. The color can be changed by using a different Folder that is included and labeled in the Zip package.

The counter will work on server and single player world because.
In multiplayer, the time will only go up if someone is on the Server (If you need it to always go up, write me a comment)

It is super simple and not intrusive (unless you choose a bright color)

If you only want either seconds, minutes or hours (or combinations) write me a comment



Installation

1. Unzip the file using WinRaR or else
2. Choose the color you want
3. go into the world file and drag and drop one of the folder into \saves\ NAME OF WORLD \datapacks



Where is my Minecraft world?

1. Press Win + R
2. type %appdata% and hit open
3. go into ".minecraft"
4. go into your World (It is the same name that you put while creating the world)



Known bugs:

- The timer randomly stops or stops working after a reload or a lag-spike or other triggers. This can mostly be fixed with this command: "/scoreboard players set #timer tick 0"

- Triple digits. This can be fixed by using the same command as the top one, except to change the word "tick" with the corresponding troublemaker the timer is build like this: 04:21:35

All characters in the timer have different names, for example the 21 is divided into 2 and 1 which stands for "hour2" and "hour". That means if you have a problem that looks like this: 04:221:35 then you will need to replace the reset the value "hour2". The "hour2" is the digit that is causing the bug so you want to use the command "/scoreboard players set #timer hour2 0" to reset the value. You can also see the different names of the timer on the last picture uploaded.
-> Fixed


Changelog:

1.1
Fixed a multiplayer bug where the time counted up the amount of players on the server (3 players on the server = timer goes by 3x)
1.2
+ Added an explanation in the Minecraft Chat
+ Added function for a countdown
+ Added function for time freeze
+ Added function to add time to the counter
- visual bug fixes
- Fixed bug where timer would stop and timer would go into triple digits
CompatibilityMinecraft 1.13
toMinecraft 1.19
Tags

Create an account or sign in to comment.

1
02/03/2023 7:31 pm
Level 1 : New Miner
Hyper_Lexus
Hyper_Lexus's Avatar
hey, would it by any chance be possible to make the timer show my playtime in the world? i'd love to have a timer that shows total playtime in my world :D
1
02/23/2023 12:19 pm
Level 39 : Artisan Llama
PurpleLama
PurpleLama's Avatar
The Timer only goes up if a player is actually on the world, so even on multiplayer server the time will only go up if someone is actually playing, and also in the statistics (if you press esc there is an option called statistics) you can scroll down and there will also be your total playtime. So if you are playing on a Singleplayer world then the number at the bottom is the time that you played
1
01/07/2023 3:02 pm
Level 1 : New Miner
marvin94
marvin94's Avatar
How do I start the timer? It is 0:00:00
1
01/02/2023 9:23 am
Level 1 : New Miner
Aperio
Aperio's Avatar
Wondering if it is possible to add opposite functionality ie: countdown timer.... So, for example, if you have a challenge that must be completed in x amount of time, it does a countdown to zero.
1
01/07/2023 6:13 pm
Level 39 : Artisan Llama
PurpleLama
PurpleLama's Avatar
Working on it :D
1
01/12/2023 12:30 pm
Level 1 : New Miner
Aperio
Aperio's Avatar
Awesome, thank you!!!
1
01/24/2023 3:14 pm
Level 39 : Artisan Llama
PurpleLama
PurpleLama's Avatar
I have just finished your request, the update is on this very page, you just have to download the new version right here
1
01/27/2023 9:25 am
Level 1 : New Miner
Aperio
Aperio's Avatar
Oh that's fantastic ... i will give it a workout! lol Seriously, thank you so much. I super appreciate it!
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome