setGameTime
Set the game time (count-up).
Address
/scoreboard/setGameTime [duration] [uuid] [sceneId]
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 global scoreboard displayed on the PGM scene |
argument 3 | String | Unique ID of a scene, non-essential argument, only required for a private scoreboard |
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