Repository navigation
Commands
Every command lives under /timer. Anything a command does can also be done
from the Admin Panel or the Web Panel.
/timer help lists them in game, and /timer help <command> explains one.
Who may use them: operators (permission level 2), or anyone holding the
matching permission node — see LuckPerms Integration. Command blocks, the
console, datapack functions and RCON may all use /timer without any of that.
<targets> is always a player name or a vanilla selector: Bob,
@a, @a[team=red], @s.
Creates a timer. countUp counts up to the length instead of down to zero, and
defaults to false. command is optional and becomes the timer's first finish
command.
A name may hold letters, digits and _ . + -, up to 32 characters.
/timer create event 1 0 0
/timer create speedrun 0 30 0 true
/timer create race 0 5 0 false say Race finished!
Deletes the timer permanently and stops every execution of it.
Copies a timer, settings and all, under a new name.
Starts the timer. With no targets it runs for everybody. With targets it runs for those players only.
shared gives that audience one clock between them; each gives every player
their own. The default is shared.
/timer start speedrun
/timer start speedrun @a[team=red]
/timer start speedrun @a each
Starting many executions at once asks for confirmation first — see
/timer confirm below.
Pauses the timer's executions, or every execution on the server with all.
Targets narrow it to the executions those players can see.
The opposite.
Stops and resets. A stopped execution is gone; the timer itself remains.
Puts executions back to their starting time without stopping them.
Runs the operation you just staged. Anything that would create more executions at once than the configured threshold waits for this instead of running straight away — see Settings.
Inspects or changes who sees a running timer, without restarting it.
/timer audience speedrun list
/timer audience speedrun add Bob
/timer audience speedrun remove @a[team=red]
Sets the timer's length.
Adds to it.
The same three things, with the number worked out when the command runs.
/timer expr create round 60 * players_online
/timer expr add round 30
See Expressions for what an expression may contain.
The list of commands a timer runs: at the end, or at any point along the way. Several commands may share a moment.
/timer commands event add 0 0 10 say 10 seconds left!
/timer commands event add finish say The event is over!
/timer commands event list
/timer commands event remove 2
See Timer Commands, including the pause each command can carry.
What starts or ends the timer besides its own clock. Every trigger says which of the two it does.
/timer trigger event add player_death finish
/timer trigger event add dimension_change minecraft:the_nether start
/timer trigger event add scoreboard kills 10 finish all players Bob,Ann
/timer trigger event add expression finish players_online > 4
See Triggers for the kinds, and for combining them.
Starts the timer again on its own when it finishes. A count limits how many
more times; -1 means always. The cooldown is a pause before each new run.
Hands over to another timer when this one ends.
/timer sequence round1 round2 30
/timer sequence round1 clear
Where the counter sits. reset gives it back the server default.
/timer position speedrun top_left
/timer position speedrun custom 40 80
How big it is drawn, from 0.1 to 5.0.
The sound it ticks with.
/timer sound speedrun block.note_block.hat
/timer sound speedrun ui.button.click 0.8 1.5
Decorative text around the counter, as plain text or tellraw-style JSON.
/timer title event above Boss Fight
/timer title event above clear
See Display for all of the above in detail.
Shows or hides every counter for those players.
Mutes the tick sound for those players.
Every timer, grouped by whether it is running.
Everything about one timer, its executions included.
Opens the Admin Panel.
The built-in help.
Writes the timer to config/ontime/exports/.
Reads one back, optionally under a different name.
See Storage and Sharing.
Starts, stops or describes the web dashboard. start prints the address, with
the access token already in it.
/timer webpanel start
/timer webpanel start 9000
/timer webpanel info
See Web Panel.