-
Notifications
You must be signed in to change notification settings - Fork 4
Synchronization with real time
It is possible to synchronize ingame time with server PC system time. Here's how:
Open chat and type command /taw switch-system-time-sync <true/false>
Type /taw set-global-sys-time-properties <sunrise hour> <sunset hour> <UTC Timezone>
. Sunrise hour is when the sunrise should happen by default its gonna happen at 5am or 5:00. Sunset hour is when sunset should occur. By default it will happen at 8am or 20:00. The time zone is the UTC timezone that should be used by default its +3 or 3:00
Alternatively if your modded game have more dimensions with time cycle(in vanilla only overworld has day cycle) then you can enable separate configuration for each dimension. Use /taw switch-sys-time-per-dimension true
to do so
Then you can configure configuration for each dimension using /taw set-system-time-properties <world-id> <sunrise hour> <sunset hour> <UTC Timezone>
command. World id of dimension you are currently in can be obtained by typing in chat /taw get-current-world-id
After all changes to configuration have been made use /taw reload to apply changes
All of above can be customized by editing configuration files directly
To enable synchronization with system time go to config/time-and-wind/config.json
and change syncWithSystemTime
to true
To enable separate configs per dimension in the same file set systemTimePerDimensions
to true
To customize configurations system time sync go to config/time-and-wind/system-time-data-global.json
or system-time-data.json
if you have systemTimePerDimensions
enabled and make changes there.
After all changes to configuration have been made use /taw reload to apply changes