• check_circle Functions
  • 4,163 views, 3 today
  • 390 downloads, 0 today
  • 3
  • 4
  • 2
AltruPax's Avatar AltruPax
Level 16 : Journeyman Engineer
1

Global Timer Datapack Guide

--- What is this datapack for ---

This Datapack adds a Timer/Stopwatch that will be shown at the bottom of the screen (above the hotbar). You can choose from 15 standard minecraft colors by using the specific folder with the color you wish in the Zip package. The timer counts up/down, works in single player mode and on a server.

- On server -
The timer is global, so every player uses the same timer.
The timer will keep running if nobody is connected to the server so keep in mind that you need to pause it manually.

See down below for all functions.

--- How to install ---

skip step 1&2 if you downloaded the timer from mediafire
1. Unzip the file
2. Choose the color you want
3. Browse to your minecraft datapacks directory
4. Paste the chosen timer into this folder

If you want to use the datapack in an ongoing world..
a. Browse to your minecraft saves directory
b. Choose your world where you want to use the timer
c. Open the datapacks folder in that world
d. Paste the chosen Timer in this folder
Remember, Cheats must be allowed in this World to use datapacks.

- Tips -
Press 'Win + R' and type
  '%appdata%\.minecraft\datapacks' to open your datapacks folder.
  '%appdata%\.minecraft\saves' to open your worlds folder.

Trick to use datapacks if your singleplayer world does not have cheats allowed
  Do all steps as described above.
  Then join your minecraft world, hit ESC and go on 'Open to Lan'.
  Now click on Allow Cheats so it says 'Allow Cheats: ON' and click on 'Start LAN World'.
  Don't worry nobody can join your server if he/she isn't in your LAN (home).

--- Functions ---

/function timer:countdownLets the timer count down
/function timer:countupLets the timer count up [​Default]
/function timer:helpLists all timer functions
/function timer:hideMakes the timer invisable (to all players) [​Default]
/function timer:loadLoads the timer datapack
/function timer:resetResets the timer
/function timer:showMakes the timer visable (to all players)
/function timer:startStart the timer (resumes when paused)
/function timer:stopStops the timer (pauses when running)

Dont use functions with 'z/' (e.g. /function timer:z/countd).
They are intended to work internally and are activated by other functions.
Using these functions could cause your timer to stop working properly. So be careful :)

--- Change Variables (for countdown) ---

replace 'x' with your desired number

days/scoreboard players set days timer x
hours/scoreboard players set hours timer x
minutes/scoreboard players set minutes timer x
seconds/scoreboard players set seconds timer x

--- Reboot the Timer ---

Enter these two commands in the chat to reboot the timer if it's not working properly.
 /scoreboard objectives remove timer
 /function timer:load

If you have any questions write a comment. Enjoy :)
CompatibilityMinecraft 1.15
toMinecraft 1.19
Tags

Create an account or sign in to comment.

2
02/07/2023 12:15 pm
Level 1 : New Miner
Fuller 2022
Fuller 2022's Avatar
Hi I'm Fuller 2022 .Your Mod ist very cool .
2
02/07/2023 12:46 pm
Level 16 : Journeyman Engineer
AltruPax
AltruPax's Avatar
Thanks, if you notice something that could be improved, let me know :)
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome