/time
Changes or queries the world's game time
Syntax
time add <time>
Adds <time> to the in-game daytime.
time query (daytime|gametime|day)
Queries current time
time set (day|night|noon|midnight|sunrise|sunset)
time set <time>
Sets the internal daytime.
Arguments
<time> String or Number
Specifies the time to add or set.
Must be a number with an optional unit suffix. Units include:
d: an in-game day, 24000 tickss: a second, 20 tickst(default and omittable): a single tick, the default unit.
(Note: "ticks" don't really apply to Minetest, they're just defined here as 1/24000 of a day).
daytime|gametime|day String
Specifies the time to query. Must be daytime, gametime or day.
daytime- the number of game ticks since dawn. (the internal daytime modulo 24000)gametime- the age of the world in game ticks. (the game time modulo 2147483647)day- the number of in-game days passed. (the internal daytime divided by 24000, then modulo 2147483647)
day|night|noon|midnight|sunrise|sunset String
Specifies the time to set. Must be day, night, noon, midnight, sunrise, or sunset.
day= 7000night= 19000noon= 12000midnight= 0sunrise= 5000sunset= 18000
Examples
To set the time to 1,000:
time set 1000
v1.0
Added /time
Last updated