90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

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.


Project members

Lafolie

Owner

Details

Licensed LGPL-3.0-only
Published a year ago
Updated a year ago