- check_circle Functions
Published Feb 6th, 2023, 2/6/23 7:14 pm
- 4,163 views, 3 today
- 390 downloads, 0 today
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 mediafire1. 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:countdown | Lets the timer count down |
/function timer:countup | Lets the timer count up [Default] |
/function timer:help | Lists all timer functions |
/function timer:hide | Makes the timer invisable (to all players) [Default] |
/function timer:load | Loads the timer datapack |
/function timer:reset | Resets the timer |
/function timer:show | Makes the timer visable (to all players) |
/function timer:start | Start the timer (resumes when paused) |
/function timer:stop | Stops 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 numberdays | /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 :)
Compatibility | Minecraft 1.15 |
to | Minecraft 1.19 |
Tags |
tools/tracking
5848188
119
global-timer
Create an account or sign in to comment.