Time Speed

Image placeholder

Description

Configurable different speeds for daytime and nighttime.

This mod allows the configuration of two tome speeds. One time speed for a defined night time and one time speed for a defined daytime. The mod stores the original time speed and restores it when the server is shut down normally.

Chat command 🔗

All players with the settime permission are allowed to disable this functionality on runtime. After restarting the server the configuration will be restored and the mod controls the time speed again.

/timespeed start Optional reason
/timespeed stop Optional reason

The starting and stopping is logged to the server’s log file with time, date, and player name.

Configuration 🔗

In the client’s advanced configuration you’ll find a section for the mod. The following options are settable.

timespeed_daytime_start = 4300
timespeed_nighttime_start = 19359
timespeed_daytime_speed = 72
timespeed_nighttime_speed = 360

The daytime start has to be earlier than the nighttime start (of course …). Daytime/Nighttime speed should not be set to 0 because then the time freezes and will never reach daytime/nighttime start. The “millihours” value is used. It ranges from 0 (midnight) to 23999 (“the other side” of midnight).

Known issues 🔗

Since Luanti has a large delay depending on time speed and server connection the change from daytime to nighttime could “flicker” a little before the new time speed gets applied and the time of the day will be corrected. This is not fixable because this is how Luanti works.

The time index values are not accurate. There seems no way to get the current time of the day in “millihours”. The conversion unfortunately is not exact.

Reviews

Review

Do you recommend this mod?

  • No reviews, yet.

Releases

2026-02-28

Download

Luanti 5.15+

2026-02-28 15:24 UTC

2026-02-28 🔗

  • update description and supported games setting
  • make mod title and description translatable in the client

2025-05-24

Download

Luanti 5.12+

2025-05-24 19:48 UTC

2025-05-24 🔗

  • update for most recent Luanti API behavior
All releases

Information

Provides

timespeed

Dependencies

Required
No required dependencies

Information

Type
Mod
Technical Name
timespeed
Languages
English
License
MIT
Maintenance State
Maintenance Only
Added
2023-07-16 19:56 UTC
Maintainers
Linuxdirk