Skip to Content
WeatherHubInstallation

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_weatherhub

Remove 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-Weathersync

Restart 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 allow

Troubleshooting

ProblemFix
Panel won’t openThe player needs a role: a framework admin group, or an ACE such as weatherhub.admin
Weather won’t changeCheck the freeze toggle, an active schedule, or a zone override
Weather flickersAnother weather resource is running — stop it
Other scripts’ weather exports fail after you restart WeatherHubRestart those scripts too; they cache the qb-weathersync export
“Too many requests”Raise maxBurst in Config.RateLimits
Time not movingCheck the freeze time toggle