Nevera FiveM Realtime Weather and Clock is a script for FiveM servers that synchronizes real-time weather and clock in-game using data from the real world through an API.
GitHub Repository: Nevera FiveM Realtime Weather and Clock
Requirements
- Framework: The script is compatible with ESX, QBCore, and Standalone.
- FiveM Server: The latest version of the FiveM server.
Features
- Real-time synchronization: Fetches real-time data from the API for Country/City.
- Automatic weather updates: Weather conditions are updated every 10 minutes.
- Notification display: Weather and time notifications are shown for 15 seconds.
- Fog disable option:
set disable_fog "true"
to disable fog (useful for areas like Dalmatia, where fog is rare).
View Images
-
Data synchronization:
-
Data update:
-
Resmon value in game:
-
Clock display in the upper left corner every 10 minutes, with a duration of 15 seconds:
-
Rain:
-
Sun:
Installation
- Download the script and place it in the
resources
folder of your FiveM server. - Configure your
server.cfg
file:server.cfg
to run the script:
set my_sync_key "YOUR_API_KEY" # Your API key
set my_sync_timezone "Europe/Zagreb" # Your country/city
set my_sync_city "Split" # Your city
set disable_fog "true" # Set to "false" if you want to enable fog
How to Get Your API Key
- Visit the OpenWeatherMap website.
- Sign up for a free account : Click on “Sign Up” and fill in your details to create an account.
- Once registered, go to the API keys section in your profile.
- Generate a new API key and use it in the server.cfg file.
Usage
The script automatically fetches real-time weather and clock data and sets it in-game. Weather condition notifications are shown every 10 minutes.
Contributions
If you would like to contribute to the project, feel free to open an issue or submit a pull request.
License
Released under the MIT license.
Latest Version - Improvements and Fixes
GitHub Repository:
-
Visit the releases/tag/v1.0.0 Latest Version
-
Added support for snow conditions
-
Fixed rain that didn’t stop
-
Improved performance and optimizations