
Day Night Control
Take complete control of your Minecraft server’s day and night cycle.
Day Night Control is a lightweight, server-side NeoForge mod that lets administrators configure the real-world duration of daytime and nighttime independently. It can also synchronize the world clock with any real-world time zone.
Players do not need to install the mod on their clients.
Features
-
Set custom real-time durations for day and night
-
Synchronize Minecraft time with a real-world time zone
-
Supports all standard IANA time zones, including
Europe/Warsaw,America/New_York, andAsia/Tokyo -
Time-zone autocomplete
-
Smooth server-side time progression
-
Correct handling of
/time setcommands -
Correct handling of time skips caused by sleeping
-
Persistent per-world configuration
-
Administrator-only commands
-
No client-side installation required
-
No configuration files or additional dependencies
Commands
All commands require permission level 2 or higher.
-
/setday <duration>
Sets the real-world duration of the complete daytime phase. -
/setnight <duration>
Sets the real-world duration of the complete nighttime phase. -
/realtime on <timezone>
Enables real-time synchronization for the selected time zone. -
/realtime off
Disables real-time synchronization and restores custom day and night durations. -
/realtime status
Displays the current mode, day duration, night duration, and configured time zone. -
/daynight status
Alternative command for displaying the current configuration.
Examples
-
/setday 10min -
/setnight 20min -
/setday 30s -
/setnight 1.5h -
/realtime on Europe/Warsaw -
/realtime on America/New_York -
/realtime off -
/daynight status
Supported duration formats
Durations can use:
-
s— seconds -
min— minutes -
h— hours
Decimal values are supported. The allowed range is from 1 second to 168 hours.
Real-time synchronization
Minecraft’s clock is mapped to real-world time as follows:
-
06:00 — sunrise
-
12:00 — midday
-
18:00 — sunset
-
00:00 — midnight
Daylight-saving-time changes are handled automatically by Java’s time-zone database.
Persistence
The selected mode, time zone, and custom day and night durations are stored in the world save and survive server restarts.
Compatibility
-
Minecraft Java Edition 1.21.x - 26.2
-
Dedicated and integrated servers
This is a server-side utility mod. It does not add blocks, items, entities, textures, or client-side interfaces.

