Troubleshooting
On this page
- The sky flickers or the weather keeps changing back
- vMenu keeps overriding the time
- It rains inside houses and shells
- /weather does nothing
- Time changes slowly instead of jumping
- The weather never changes on its own
- The clock doesn't match real time
- A restart lost the weather and time
- Halloween rain or snow shows as clear
The sky flickers or the weather keeps changing back
Another script is setting the weather or time too. Look for the conflict warning in the server console on
start, then remove qb-weathersync, qbx_weathersync, cd_easytime or vSync from server.cfg. See
Other weather scripts.
vMenu keeps overriding the time
vMenu's own sync is on. Add these to server.cfg and restart:
setr vmenu_enable_weather_sync false
setr vmenu_enable_time_sync falseIt rains inside houses and shells
Your housing script pauses the weather through qb-weathersync events. Check that Config.Sync.Compat is
true. If the script calls exports['qb-weathersync'] directly, change it to
exports['saf-weather']:PauseSync(true) on enter and PauseSync(false) on exit.
/weather does nothing
The player isn't staff. Check the add_ace group.admin weather.staff allow line and the player's group. Run
test_ace player.<id> weather.staff in the server console. Framework groups only count when they are in
Config.StaffGroups.
Time changes slowly instead of jumping
That is the ease: clients run the clock forward over Config.Time.EaseSeconds so the sky doesn't snap. Set it
to 0 to jump straight to the new time, or pass instant = true as the third argument to SetTime.
The weather never changes on its own
Dynamic mode is off. Turn it on with the Dynamic button in the panel, Config.Dynamic.Enabled = true, or
exports['saf-weather']:SetDynamic(true). Some presets, like Storm night, turn it off.
The clock doesn't match real time
Config.Time.RealTime follows UTC plus Config.Time.RealTimeOffset. Set the offset to your timezone's hours
from UTC and change it when daylight saving starts or ends.
A restart lost the weather and time
Config.Sync.Save is false, or the server can't write state.json in the resource folder. Check the folder
is writable.
Halloween rain or snow shows as clear
RAIN_HALLOWEEN and SNOW_HALLOWEEN need game build 3095 or newer. Raise sv_enforceGameBuild or remove
those types from the panel.