Read a time
Read a length of time like 1h30m, 45s or 2d (weeks, days, hours, minutes, seconds), or plain seconds.
A Minecraft element (a value) in Commands. Needs the Basic plan or higher to go live; building and testing are free.
Example
When a player uses /mute → Read a time from the line → Mute them for that many seconds.
Also called
time argument, duration, 1h30m, parse time, length of time
Works as a data pack?
No. This one needs the Elementium plugin on a Paper server.
What you give it
- Text
What it gives back
- Value
- Seconds
- Worked
- Problem