Skip to main content
Version: 0.0.52

TimeDilationPlugin

Plugin to dynamically adjust the time multiplier based on the sun position. It can be used to make time pass faster during daytime and slower during nighttime for example.

Configuration

Enable the plugin in extra_cfg.yml

EnablePlugins:
- TimeDilationPlugin

Example configuration (add to bottom of extra_cfg.yml)

---
!TimeDilationConfiguration
# Table to map sun angles to time multipliers. SunAngle is the altitude of the sun in degrees. 90° = sun directly overhead, -90° = sun directly underneath.
# Example config for 4x during the night, then slowly accelerating to 8x after sunrise, and then slowing down again to 4x shortly before sunset
LookupTable:
- { SunAngle: 6, TimeMult: 4 }
- { SunAngle: 12, TimeMult: 8 }