Skip to main content

Time & Dimension

Time Set

Sets the map to use a certain time on match load, measured in ticks.

<world>
<!-- Sets map to midnight -->
<timeset>18000</timeset>
</world>

Random Time

World time can be set from one of six possible times at random when a match loads.

<world>
<randomtime/>
<!-- 1000, 6000, 12610, 13000, 14000, 18000 -->
<!-- day noon dusk night midnight -->
</world>

Time Lock

Locks the time to a certain time, either from <timeset> or from the world data. Time lock must be specifically turned off if one wishes to have the time cycle. This can also be accomplished with the doDaylightCycle gamerule.

<world>
<timelock>off</timelock> <!-- Defaults to on -->
</world>