Format Reference
How durations and amounts are written.
Durations in commands
When you list an item with /ah sell, the duration uses short units:
| Unit | Means |
|---|---|
d | days |
h | hours |
m | minutes |
s | seconds |
Examples: 1d, 12h, 30m. So /ah sell 1000 12h lists for twelve hours.
Durations in config.yml
The expiry settings in config.yml use a fuller format that can combine units in one value:
| Unit | Means |
|---|---|
y | years |
mo | months |
w | weeks |
d | days |
h | hours |
m | minutes |
s | seconds |
Examples: 30d, 2w, 1w2d12h, 90d. ISO-8601 also works, such as P1M or PT12H. An empty value or 0 turns that duration off.
Prices
Prices accept a plain number or a shorthand suffix:
| Suffix | Multiplies by |
|---|---|
k | one thousand |
m | one million |
b | one billion |
Examples: 100, 1k, 1.5m, 2b. So /ah sell 2.5m lists at two and a half million.