Configuration
Every Weather System setting in Script Studio, who can open the panel, and the language.
Open /ggsettings in game and pick Weather System. Changes apply straight away, with no restart.
Time and Weather
| Setting | Default | What it does |
|---|---|---|
| Real Time | Off | The clock follows the real time in your server's time zone. |
| Start Time | 12:00 | The time when the server starts. |
| Start Weather | Sunny | The weather when the server starts. |
| Freeze Time | On | The clock stays put. Off, it runs at GTA's pace: a game day every 48 minutes. |
| Freeze Weather | On | The weather stays put and no events come by themselves. Off, it changes by itself every 20 to 40 minutes, blending in slowly, with now and then an event. |
| Remember After Restart | On | Carry on from the last time, weather and sky look when the server restarts. |
Real Time
With Real Time on, a game minute is a real minute and the clock shows the real time where your server is. Set the zone in /ggsettings under Shared Settings, General, Time Zone.
While it is on, Start Time and Freeze Time do nothing and nobody can set or freeze the time. The panel and the console say so, and weather freeze freezes only the weather.
Events
| Setting | Default | What it does |
|---|---|---|
| Random Sky Events | On | Starfall, Aurora, Meteors and hurricanes now and then, while the weather is not frozen. |
| Random Earthquakes | On | At most one earthquake each server restart, sometime in its first 3 hours, mostly small, while the weather is not frozen. |
| Announce Events | On | Tell everyone when an event starts. |
| Cars and People React | On | Hurricanes and earthquakes rock cars and scare people. |
| Push Players | On | Strong wind and shaking push the cars players drive and make players stumble. |
| Power Cuts | On | Hurricanes and big earthquakes cut the city lights for a while. |
| Screen Shake | 100% | How hard earthquakes and meteors shake the screen, for every player. |
Admins can always start any event from /weather, whatever these say.
Before a Restart
| Setting | Default | What it does |
|---|---|---|
| Weather Before Restart | Off | 10 minutes before each restart the Restart Weather rolls in, so everyone knows a restart is coming. |
| Restart Times | Empty | When your server restarts, in its time zone. Add as many as you like. |
| Restart Weather | Thunder | Any weather, sky show or hurricane, or Earthquake. |
The weather blends in over a minute and stays until the server goes down, even with Freeze Weather on. An earthquake strikes in the last minute instead. Players get a notice that the server restarts in 10 minutes, if Announce Events is on.
Restarts you schedule in txAdmin (Settings, Restarter) work by themselves: Weather System hears txAdmin's warnings, so they need no Restart Times, and txAdmin tells players itself. If a restart is skipped in txAdmin, the sky goes back. Remember After Restart keeps the sky from before it, so the server never comes back to the storm.
Access
| Setting | Default | What it does |
|---|---|---|
| Allowed Players | Empty | Players who can use /weather without being admins. |
| Only Allowed Players | Off | Only the players on the list can use /weather, admins too. |
| Weather Reports for Everyone | On | /weatherstatus and /weatherforecast for every player. |
Your admins get in on their own. gg_lib finds them the same way for every GG script: its own admins, your framework's admin groups, ACE permissions (the stock add_ace group.admin command allow line counts, and so does command.weather), and anyone logged in to the txAdmin menu.
To let in someone who is not an admin, open Allowed Players, press Add, and fill in a name and one of their IDs (license:, discord:, steam: or fivem:). Players never see the list.
Anyone else who types /weather gets gg_lib's no-access screen with their license ready to copy and every way in, in your server's colour and language. With Only Allowed Players on, it only tells them to ask an admin.
Language
Weather System speaks the language you set for every GG script: /ggsettings, Shared Settings, General, Language. Its panel, reports, notices and Script Studio page come in English, Deutsch, Español, Français, Nederlands, Português (Brasil), Русский, 日本語 and 简体中文, and switch with no restart.
