Installation
About two minutes. The resource creates its own database tables on first boot, so there is no SQL to run.
Only one weather resource can run. Stop Renewed-Weathersync,
qb-weathersync, cd_easytime, vSync or any similar script first —
WeatherHub replaces them, and two of them fighting for the same state is the
most common cause of flickering weather.
Copy the resource
Copy gravitas_weatherhub into your server’s resources/[gravitas]/ folder.
Add to server.cfg
Ensure it after ox_lib, oxmysql and your framework:
ensure ox_lib
ensure oxmysql
ensure qbx_core # Or qb-core / es_extended / mythic-base
ensure gravitas_weatherhubRemove your old weather resource
Delete or comment out its ensure line. If it lives in a category folder that
is ensured as a whole, stop it explicitly after the category:
ensure [standalone]
stop Renewed-WeathersyncRestart the server
On first boot WeatherHub creates its tables. If another weather resource is still running you will see a warning in the console naming it.
Requirements
Giving staff access
By default framework admins can open the panel. For finer control use the ACE roles in Configuration:
add_ace group.admin weatherhub.admin allow
add_ace group.mod weatherhub.mod allowTroubleshooting
| Problem | Fix |
|---|---|
| Panel won’t open | The player needs a role: a framework admin group, or an ACE such as weatherhub.admin |
| Weather won’t change | Check the freeze toggle, an active schedule, or a zone override |
| Weather flickers | Another weather resource is running — stop it |
| Other scripts’ weather exports fail after you restart WeatherHub | Restart those scripts too; they cache the qb-weathersync export |
| “Too many requests” | Raise maxBurst in Config.RateLimits |
| Time not moving | Check the freeze time toggle |