World / Server paper/world_time

World Time

Gets or sets the time of a world.

Note: 0 = dawn, 6000 = noon, 12000 = dusk, 18000 = midnight.

Inputs

NameTypeOptionalDescription
exec exec Incoming execution.
world any World object or world name string.
time number New time in ticks (for SET).

Outputs

NameTypeDescription
exec exec Continues after the operation.
time number Current world time in ticks.

Properties

KeyTypeDefaultDescription
op select "GET" Operation
time number 6000 Time (ticks)