Wiki 9Minecraft Wiki 9Minecraft

How to Change and Lock World Time

Whether you are setting up a custom minigame or building in creative mode, you can control the exact hour in any world or freeze the sky in place using commands or the administration menu.

Setting the Time

If you prefer not to type out full commands, run /tm gui to open the multi-page graphical administration menu and adjust the world time directly from there.

To set the time via chat, use the following command structure:

/tm set time [ticks|daypart|HH:mm:ss] [world]

You can specify the new time using standard game ticks, a named part of the day, or a standard clock format (HH:mm:ss). Be sure to include the name of the target world at the end of the command if you are managing multiple dimensions or worlds.

Freezing and Resuming the Cycle

Once the sun or moon is in the position you want, you can stop the day-night cycle from moving:

1. Run /tm lock <world> [time|here|realtime] to freeze time progression in that world. You can lock it to a specific time, hold it at the current moment (here), or match it to real-world time (realtime).

2. When you are ready for the cycle to move again, run /tm unlock <world> to resume normal time progression.

To verify your changes, type /tm checkTime [all|server|world] to inspect the current world time, server uptime, and active speed values.