Server Commands
Change the Time With Commands
Control the Minecraft day-night cycle with one line. /time set daynightand midnight jump to a moment, while /time add nudges the clock forward. Below: every tick value, how to freeze the sun, and the fixes when it snaps back.
server console, /time
> /time set day
> /time add 6000
> /time set midnight
[Server] Set the time to 1000
<Server> Sun rises over the spawn
> /time query daytime
Reading the tick clock
Minecraft tracks a day as 24000 ticks, looping from dawn (0) through noon (6000), dusk (12000), and back. /time set snaps to an exact tick; the words daynoonnightand midnight are just friendly aliases for 1000, 6000, 13000, and 18000. Use /time add to move forward relative to now without losing the day counter, then lock it all with /gamerule doDaylightCycle false when you want a permanent setting.
Quick answers
+What is the command to make it day?
Type /time set day. That sets the world to tick 1000, just after sunrise. On the server console, drop the leading slash: time set day.
+How do I skip the night?
Use /time set day to jump straight to morning, or /time add 12000 to advance roughly twelve hours. Either clears the night instantly for everyone in that dimension.
+What tick value is each time of day?
Day is 1000, noon is 6000, sunset is around 12000, night is 13000, and midnight is 18000. The full cycle is 24000 ticks and loops back to dawn at 0.
+Why does the time keep changing back?
The daylight cycle is still running. Lock it with /gamerule doDaylightCycle false, then use /time set to pick the moment you want it frozen at.
+Does /time work on a multiplayer server?
Yes. /time set and /time add affect the whole dimension for all players. You need operator status or a permissions plugin granting minecraft.command.time.
+What is the difference between set and add?
/time set jumps to an exact tick. /time add increases the current time by the amount you give, so /time add 1000 moves forward without resetting the day count.
/time at a glance
Syntax
/time <add|query|set> <value>What it does
Changes or queries the in-game time. Can set time to specific values or named periods (day, night, noon,…
Three things /time is actually used for
/time set dayJumps straight to morning, tick 1000, without anyone having to sleep.
/time set 18000Sets midnight, the darkest point of the night and when hostile spawning peaks.
/time add 1000Pushes the clock forward roughly fifty seconds of real time, handy for testing crop growth.
/time sits with the time and weather commands in Minecraft, 1 of them in total. The ones with a guide here: /weather.
Every command with its full argument list lives in the command reference.
Guides that go with this one
How to Use /gamerule Commands in Minecraft
Toggle Minecraft gamerules from the console: keepInventory, doDaylightCycle, mobGriefing and more. Real...
How to Change the Weather with Commands in Minecraft
Use /weather clear, /weather rain or /weather thunder to set the sky instantly. Add a duration in...
How to Use the Teleport Command in Minecraft
Use /tp and /teleport to move players to another player, to exact coordinates, or with relative ~ ~ ~...
How to Install a Forge Server
Run the Forge installer with --installServer, accept the EULA, and boot a modded Minecraft server. Real...
How to Set the World Spawn in Minecraft
Use /setworldspawn to fix where new players appear, and /spawnpoint to send specific players to a chosen...
WorldEdit, Generation Commands (//generate)
Master the worldedit generate command for creating spheres, cylinders, tori, and custom math-based...