Offline Daylight Stop

Offline Daylight Stop

Disables server daylight cycle when no players are connected.

by
2.1K Downloads
fabricgame-mechanicsmanagementutility
Rent Server with this Mod

Screenshots

Console log

About this Mod

Offline Daylight Stop

Offline Daylight Stop is a Fabric mod for Minecraft 1.20.1

Features

Offline Daylight Stop pauses Minecraft's Daylight cycle while there are no players on the server.

This mod is extremely lightweight (a single Java file), and does little by itself, but enhances immersion when using other mods such as Fabric Seasons.

How it works

  • When the server has 0 players online, a timer is started. Once the timer expires, the doDaylightCycle gamerule is set to false.
  • When a player connects, the doDaylightCycle gamerule is set to true.

The timer is set to a random value between 12 and 24 in-game hours (10 and 20 minutes in real time, respectively). This small time window keeps the little surprise of the time of day being different each time you join intact, and allows some time for things like weather to pass.

Obviously, this mod is intended for use on Survival servers that do not toy with the doDaylightCycle gamerule.


Offline Daylight Stop is a Fabric Mod and is developed exclusively for the Fabric mod loader. The LGPL license means that you are free to port Offline Daylight Stop to another mod loader, such as NeoForge.

Builds can be found on Modrinth, or the github repo.

Client / Server

Offline Daylight Stop is a server-side mod. It does not need to be installed on clients to work.

Dependencies

Minecraft version: 1.20.1

Name Version Modrinth Page GitHub Repository Client/Server
Fabric API 0.85.0+ link link Server

Authors

Lafolie - developer.

License

Offline Daylight Stop is licensed under the GNU Lesser General Public License v3.

Available Versions

Offline Daylight Stop 1.0.0+1.20.1release
MC 1.20, 1.20.1fabric
July 31, 2023

How to Install Offline Daylight Stop on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.20.1).

3

Install Mod

Open the mod browser in the dashboard and search for "Offline Daylight Stop". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabric

Minecraft Versions

1.20.1, 1.20

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Offline Daylight Stop server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.20.1). You can switch loaders with one click in the panel.

Is Offline Daylight Stop compatible with fabric?

Offline Daylight Stop officially supports fabric for Minecraft 1.20.1, 1.20. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Offline Daylight Stop – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Offline Daylight Stop consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Offline Daylight Stop with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
GNU Lesser General Public License v3.0 only
Server-side
Required

Supported Versions

1.20.11.20