Skip to main content
Version: 0.0.50

RandomWeatherPlugin

Plugin that changes weather randomly.

note

For smooth weather transitions and rain you need to set EnableWeatherFx to true in extra_cfg.yml.

Configuration

Enable the plugin in extra_cfg.yml

EnablePlugins:
- RandomWeatherPlugin

Example configuration (add to bottom of extra_cfg.yml)
For a list of weather types that can be used with WeatherWeights see WeatherFX Types

---
!RandomWeatherConfiguration
# Weights for random weather selection, setting a weight to 0 blacklists a weather, default weight is 1.
WeatherWeights:
LightThunderstorm: 2.0
Thunderstorm: 0.0
Hurricane: 0.5
# Minimum duration until next weather change
MinWeatherDurationMinutes: 15
# Maximum duration until next weather change
MaxWeatherDurationMinutes: 60
# Minimum weather transition duration
MinTransitionDurationSeconds: 180
# Maximum weather transition duration
MaxTransitionDurationSeconds: 600