Advanced Weather System

This page explains how to configure the Config.lua file for the Advanced Weather System.
🧪 Development Mode
EnableDevMode
Enables extra logs or debugging features for development purposes.
true
🌤️ Weather Configuration
StartingWeather
Sets the starting weather when the server boots.
"EXTRASUNNY"
WeatherRandomizer
Enables or disables automatic random weather changes.
true
WeatherTypes
List of weather types that can be randomly selected.
{"EXTRASUNNY", "CLOUDS", "BLIZZARD", "THUNDER", "FOGGY", "XMAS", "RAIN"}
WeatherRandomizerTime
Time interval (in milliseconds) between each random weather change.
1800000 (30 minutes)
💡 See all valid weather types on FiveM Native Docs
🕒 Time Configuration
StartingHour
Starting in-game hour.
5
StartingMinut
Starting in-game minute.
45
TimeBetweenMinute
Time (in ms) for each in-game minute to pass.
10000
RealTime
Enable real-world time syncing (disables custom morning/evening settings).
false
Contry
API URL to fetch real-time based on timezone. Replace with your city/region.
"https://www.timeapi.io/api/Time/current/zone?timeZone=Europe/Ljubljana"
❗ If
RealTimeis enabled,Morning/Eveningsettings will be ignored.
🌅 Morning & Evening Time (Only if RealTime = false)
MorningHour
Hour when the game considers "morning" starts.
10
MorningMin
Minute of morning start.
30
EveningHour
Hour when "evening" starts.
19
EveningMin
Minute of evening start.
30
📟 Commands & Permissions
OpenCommand
Command players use to open the weather menu.
"weatherapp"
AllowedLicenses
List of licenses (Rockstar license IDs) allowed to use the command/menu.
Example licenses listed
🔒 Only users with licenses in
AllowedLicenseswill be able to use the/weatherappcommand.
✅ Example Use
To open the weather menu, use:
bashCopyEdit/weatherappOnly players with a license listed in AllowedLicenses can access the UI.
Last updated
