跳到正文

Offline Daylight Stop

作者:Lafolie

Disables server daylight cycle when no players are connected.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

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.

常见问题

Offline Daylight Stop 支持哪些 Minecraft 版本?

Offline Daylight Stop 支持 Minecraft Java 版 1.20–1.20.1,共 2 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Offline Daylight Stop 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分