Skip to content

Time formatter

RageOfFire edited this page Sep 6, 2026 · 3 revisions

Time formatter

In config.yml you will see something like this: 1mo 5d 6h 30m 20s
That's short for 1 month 5 days 6 hours 30 minutes 20 seconds.
This is the Time formatter - here is a list of every unit you can use:

Short key Time Notes
mo month Treated as exactly 30 days
d day
h hour
m minute
s second

You can combine as many units as you like, in any order, separated by spaces: "1mo 5d 6h 30m 20s", "7d", "90s", and "1mo" are all valid.

Note for Login rewards: the time value there means "how often this can be claimed" (an interval), not "how long the player has to wait through" - time: "1d" on a login reward means "once every 24 hours since it was last claimed", checked the moment they log in. For offline and online rewards, time is a wait/duration as described above.

If a time value can't be parsed (a typo, an unknown unit), the plugin logs a warning in the console naming the exact reward and the bad text, instead of silently treating it as 0 (which would otherwise make that reward fire instantly).

Clone this wiki locally