Skip to content

Commands

MateoF24 edited this page Aug 15, 2026 · 6 revisions

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.


Making and removing timers

/timer create <name> <h> <m> <s> [countUp] [command]

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!

/timer remove <name>

Deletes the timer permanently and stops every execution of it.

/timer clone <source> <dest>

Copies a timer, settings and all, under a new name.


Running them

/timer start <name> [targets] [shared|each]

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.

/timer pause <name|all> [targets]

Pauses the timer's executions, or every execution on the server with all. Targets narrow it to the executions those players can see.

/timer resume <name|all> [targets]

The opposite.

/timer stop <name|all> [targets]

Stops and resets. A stopped execution is gone; the timer itself remains.

/timer reset <name|all> [targets]

Puts executions back to their starting time without stopping them.

/timer confirm

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.

/timer audience <name> <list|add|remove> [targets]

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]

Time

/timer set <name> <hours> <minutes> <seconds>

Sets the timer's length.

/timer add <name> <hours> <minutes> <seconds>

Adds to it.

/timer expr <create|set|add> <name> <expression>

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.


What it does

/timer commands <name> [add <h> <m> <s> <cmd> | add finish <cmd> | list | remove <index> | clear]

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.

/timer trigger <name> [list|add|remove|clear]

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.

/timer repeat <name> [count|-1] [cooldownSeconds]

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.

/timer sequence <name> [nextName|clear] [cooldownSeconds]

Hands over to another timer when this one ends.

/timer sequence round1 round2 30
/timer sequence round1 clear

How it looks

/timer position <timer> [preset|reset] [x] [y]

Where the counter sits. reset gives it back the server default.

/timer position speedrun top_left
/timer position speedrun custom 40 80

/timer scale <timer> [value|reset]

How big it is drawn, from 0.1 to 5.0.

/timer sound <timer> [soundId|reset] [volume] [pitch]

The sound it ticks with.

/timer sound speedrun block.note_block.hat
/timer sound speedrun ui.button.click 0.8 1.5

/timer title <name> [above|below|left|right] [text|clear]

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.


Per player

/timer hide <targets> <show|hide|toggle>

Shows or hides every counter for those players.

/timer silent <targets> <mute|unmute|toggle>

Mutes the tick sound for those players.


Looking at things

/timer list

Every timer, grouped by whether it is running.

/timer status <name>

Everything about one timer, its executions included.

/timer gui

Opens the Admin Panel.

/timer help [page|command]

The built-in help.


Moving timers around

/timer export <name>

Writes the timer to config/ontime/exports/.

/timer import <filename> [newname]

Reads one back, optionally under a different name.

See Storage and Sharing.


The dashboard

/timer webpanel <start|stop|info> [port]

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.

Clone this wiki locally