setGameTime
Set the game time (count-up).
Address
/scoreboard/setGameTime [duration] [uuid]
Arguments
Type | Description | |
---|---|---|
argument 1 | Int | The game time, in ms |
argument 2 | String | Unique ID of the scoreboard, non-essential argument, without which is considered to control the scoreboard displayed on the PGM scene |
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