Skip to content

Duration Format

Ontey6 edited this page Sep 21, 2026 · 1 revision

This is the format you need to follow when specifying durations, for example in title times or cooldowns.

Logic

An empty String will evaluate to 0s

An expression is a number followed by one of the available suffixes. You can have one or more expressions that may be spaced.

Suffixes

Suffix Unit Conversion to next smallest
d Days 24h
h Hours 60m
m Minutes 60s
s Seconds 1000ms or 20t
t Ticks 50ms
ms Milliseconds -

Examples

Format Written out
10m 10 Minutes
1d 24m 1 Day 24 Minutes
50ms 50 Milliseconds
1s 50ms 1 Second 50 Milliseconds

Clone this wiki locally