Repository navigation
Display
Everything about how a counter looks belongs to the timer that draws it. A timer takes a copy of the server defaults when it is created, and from then on it is its own: changing a default later affects new timers only.
All of it can be set from the Admin Panel or by command.
/timer position <timer> [preset|reset] [x] [y]
| Preset | Where |
|---|---|
BOSSBAR |
as a boss bar at the top |
ACTIONBAR |
in the action bar above the hotbar |
TOP_LEFT TOP_CENTER TOP_RIGHT
|
along the top |
CENTER |
the middle of the screen |
BOTTOM_LEFT BOTTOM_CENTER BOTTOM_RIGHT
|
along the bottom |
CUSTOM |
wherever you put it |
CUSTOM takes an x and a y:
/timer position speedrun custom 40 80
In the panel, choosing CUSTOM opens a placement screen instead: the world
behind, the counter under your pointer, and nothing else drawn. Drag and save.
reset gives the timer back the server default.
Several at once. When a player can see more than one execution, they are given separate slots automatically, in the server's order. Two counters never overlap.
/timer scale <timer> [value|reset]
From 0.1 to 5.0. 1.0 is the normal size.
A counter changes colour as it runs out. Three colours and two thresholds:
| Default | When | |
|---|---|---|
| Plenty left | white | above the first threshold |
| Running low | yellow | between the two |
| Almost out | red | below the second |
The thresholds are percentages of the timer's length — 30 and 10 by
default. A count-up timer uses the same scale, measured against how much is
left to reach its length.
Set them in the panel; they are per timer.
/timer sound <timer> [soundId|reset] [volume] [pitch]
The counter ticks once a second.
/timer sound speedrun block.note_block.hat
/timer sound speedrun ui.button.click 0.8 1.5
Volume runs 0.0 to 1.0 and pitch 0.5 to 2.0. Any sound the server knows
about will do, including ones from datapacks and other mods.
Silencing it. A whole timer can be silent, in the editor. A single player
can mute every timer with /timer silent <targets> mute.
Only one counter is ever audible at a time, however many a player can see.
/timer title <name> [above|below|left|right] [text|clear]
Four slots. Plain text, or tellraw-style JSON for colour and formatting:
/timer title event above Boss Fight
/timer title event above {"text":"Boss Fight","color":"red","bold":true}
/timer title event above clear
/timer title event clear
Invalid JSON is refused rather than drawn.
During a cooldown. A timer waiting out a repeat can either sit there stopped or disappear until it starts again. Per timer, with a server default.
Per player. /timer hide <targets> <show|hide|toggle> hides every counter
for those players. Their timers keep running; they simply do not see them.