Перейти к содержимому
Mineforgian

Sync System Time

Adds a new gamerule that syncs in game time with system time

Загрузки
183
Подписчики
12
Обновлён
1 октября 2025 г.
Лицензия
MIT

Опубликован 1 октября 2025 г.

Banner

Sync System Time

This simple mod adds a new gamerule to make in game time reflect system (real) time. That means, for example, if it's 8am for you, it will be 8am in your world too.

Usage

Only the server needs this mod installed to work, users do not need to have it installed on their clients. Installing it on the client will only add the new gamerules to the Game Rules menu when creating a new world, they appear in a new category and are fully localized.

Once the mod is installed, all you have to do is change syncSystemTime gamerule to true by using the /gamerule syncSystemTime true command. You can turn off this game rule at any time to return to normal time flow.

Note: The in game day counter does not progress while synchronizing.

Documentation

The mod comes with 3 new gamerules explained in the table below

Name Description Default Value
syncSystemTime Whether the in game time should follow system time. Synchronization parameters can be modified via other gamerules. Respects doDaylightCycle which will pause synchronization when false. false
gameTimeOffset Offsets synchronization by using ticks. Default value of -6000 will make in game 6am match real 6am. -6000
systemTimeOffset Offsets synchronization by using seconds. Useful for simulating different time zone. 0

Screenshot of Game Rules menu: Screenshot of Game Rules Menu

Translation

The only strings added by this mod appear in Game Rules menu, that is name of the new category as well as name and description for each of the 3 gamerules. If you want to translate them, then feel free to open PRs with new translations on the linked repository!

Credits

Special thanks to people on Fabric Modding Discord server for answering my many questions which helped me make this mod!

Ченджлог

1.0Релиз1.21.8 · 1 октября 2025 г.

Initial Release

Комментарии

Загружаем…