setCountDownTime
Set the time of countdown timer.
Address
/scoreboard/setCountDownTime [duration]
Arguments
Type | Description | |
---|---|---|
argument 1 | Int | The duration of countdown, in ms |
Example
Set the duration of countdown to 10 minutes.
/scoreboard/setCountDownTime 600000
Note: Floating point numbers will be rounded down.
/scoreboard/setCountDownTime 1.9 = /scoreboard/setCountDownTime 1