Compatibility
Minecraft: Java Edition
Platforms
Tags
Creators
Details
Timer – Stopwatch & Countdown
A minimalist datapack that displays the time right in the game—no mods, no additional software required—simply as a small white MM:SS or H:MM:SS number above the hotbar.
Features Two modes: Stopwatch (counts up) or Countdown (counts down) Automatic hour format: MM:SS for less than 1 hour, automatically switches to H:MM:SS for 1 hour or more Start / Stop / Resume / Reset – full control via chat commands Countdown end: red title screen + sound as soon as the time runs out No mods required; works in any vanilla world with datapacks enabled Commands Command Effect /function timer:start_stopwatch Starts the stopwatch at 00:00 /scoreboard players set Timer timerCountdownSeconds <seconds> Set countdown duration (default: 300 = 5 min) /function timer:start_countdown Starts the countdown with the set duration /function timer:stop Pauses the timer /function timer:resume Resumes the timer from where it was paused /function timer:reset Resets the timer to 00:00 Installation Place the datapack file in saves/<world name>/datapacks/ Load the world (or run /reload) Get started with /function timer:start_stopwatch or /function timer:start_countdown Note
The timer runs globally for the entire world (not separately for each player).


