setGameTime
Set the game time (count-up).
Address
/scoreboard/setGameTime [duration]
Arguments
Type | Description | |
---|---|---|
argument 1 | Int | The game time, in ms |
Example
Set the game time to 10 minutes.
/scoreboard/setGameTime 600000
Note: Floating point numbers will be rounded down.
/scoreboard/setGameTime 1.9 = /scoreboard/setGameTime 1