Easytime
Step-by-step installation guide, common issues & solutions, code snippets, error codes, config previews, locales previews and changelogs; all in 1 easily accessible place.
Translate
INSTALLATION GUIDE
Step 1 - Download
1. Download your resource from GitHub.
2. Unzip the cd_easytime.zip folder and place this folder in your server's resource folder.
3. Add the resource to your server start config (server.cfg). Make sure cd_easytime is listed below your framework resource e.g., es_extended, not above it.
ensure es_extended
ensure cd_easytimeStep 2 - Fxmanifest
Depending on your framework and dependencies, you may need to make some changes inside [cd_easytime/fxmanifest.lua]. We have simplified this process by commenting on the lines that you may need to modify.
Step 3 - Configure Resource
You must read all configurable options inside [cd_easytime/configs/config.lua] and adjust them to fit your server's needs. Please pay attention to the "commented out help text" at the end of each line to understand the purpose of each config option.
The most important sections are those under the Framework and Important categories at the top of the config.lua. Everything else is optional.
Step 4 - How Do I Use It?
Open the User Interface:
To access the UI, use the command:
/easytime.
Permissions:
The script comes pre-configured to work with several frameworks, including ESX, QBCore, QBox, vRP, ACE permissions, and specific user identifiers for flexible permission management.
To set up the desired permission groups:
Open the
[cd_easytime/configs/config.lua].Find the line that says
Config.Permissions.Add the permission groups you want to allow access to the UI.
Step 5 - Real Time & Weather
Easytime does not require a paid plan on Open Weather Map!
It is designed with the free plan in mind.
Go to https://openweathermap.org and create an account.
The API key should be automatically generated after account creation. To access it click on your profile name > My API Keys Double click the key and copy it.
Paste this API key into
Config.APIKey.Set
Config.Time.METHODand/orConfig.Weather.METHODto "game" and configure to suit your servers needs.
The free limit on OpenWeatherMap is
60 requests per second
1 million requests per month
Easytime should never exceed these limits, since by default it only makes 1 request every 30 minutes.
COMMON ISSUES
Please check out our Troubleshooting Guide before contacting our support.
🔔 Folder Name Make sure the name of the folder is cd_easytime.
🔔 Encrypted Files Do not edit the encrypted files in any way.
Screen Flickering?
eg., if your screen is flickering while using cd_easytime.
Permission Checks Error?
eg., if you are having errors related to the permission checks for the /easytime command.
Footprints?
eg., if players are seeing footprints when the weather is not snowing (e.g., during summer or clear weather).
CHANGELOG
Files Changed
Not every update requires replacing the entire folder, as we understand it’s a hassle to redo configs for each update.
All Files: Delete the old
cd_easytimefolder, download the latest version, reconfigure the configs folder, and restart your server.All Files Except config.lua: Follow the steps above, but first back up your existing
config.luafile. After downloading, replace the newconfig.luawith your backup.Specific Files: Simply copy and paste the specific updated files over the old ones, then restart your server.
Skipping Updates
If you’ve skipped previous updates, it’s best to update all files to ensure compatibility. For example, if you're on v4.0.1, skipped v4.0.2, and now want to update to v4.0.3, use the "All Files" method for safety.
20/03/2021 - 22/03/2021
v1.1.4 - v1.1.7
Files Changed:
Changelog:
Add
Added a version check to ensure you stay updated with the progress.
Edit
Reworked the FORCED time changes so the changes are a lot smother.
Reworked the natural weather changes so the changes are a lot smoother and barely noticeable.
Reworded the config to be a bit more user friendly.
Added a wait before syncing a players time and weather to ensure stability.
Fix
Fixed a typo in causing the time cycle to speed up.
Fixed a small issue which would cause the weather to change to clear Instantly when entering a shell due to the pervious updates.
File clean-up, removed the old client file which was renamed.
Fixed a typo in the client.lua causing a error.
15/05/2021 - 29/06/2021
v1.2.0 - v1.2.1
Files Changed:
Changelog:
Add
Added the ability to toggle the instant time and weather change on the in game UI instead of it being a config option, meaning you can choose whether you want to instantly change the time or make the time change slowly so its barely noticeable to players in game.
Added a new config option to allow you to walk around while the UI is open.
Added a fail safe check to make sure the time and weather is synced when a player joins the server.
Added drag and drop compatibility for qbus and ace permissions (read Step 1 for more information).
The settings now automatically save when the script is restarted.
Edit
Now when you click the "Save Settings" button on the in game UI, your chosen settings will be saved to the settings.txt file and applied in game, then the UI will close. (previously you needed to open the UI, choose your settings, click the "Change" button, reopen the UI and then click the "Save Settings" button).
Edited the Config.NUI_keepinput to disable mouse movement and punching/firing weapons while the UI is open.
Fix
Fixed time not syncing for new players when the FreezeTime option is enabled.
18/12/2021
Files Changed:
Changelog:
Add
Tsunami warning (pre-restart warning): This feature adds visual and sound effects to warn players that a server restart is about to happen while keeping it in-character. It changes the weather to Halloween, then shortly after it enables a city wide blackout and plays a tsunami warning alert sound just before the server restart.
Added pre-set permissions for each framework config option.
Edit
Rewrote parts of the script as some were outdated.
Fix
Fixed issues with the weather not being synced on ESX/QBCore servers.
Other minor bug fixes.
20/04/2022
Files Changed:
Changelog:
Add
Added a option to use a identifier based permission system (steam/license).
Added a new config option to allow vehicles lights to stay turned on during blackouts.
Edit
Updated the blackout native.
Removed unused framework job code.
Fix
Fixed QBCore perms.
Fixed aceperms.
28/04/2022
Files Changed:
Changelog:
Add
Added drag-and-drop compatibility for cd_easytime to be used on QBCore servers and in replacement for vSync, meaning; dependencies don't need to be removed and events don't need changing when switching from QBCore or vSync to cd_easytime.
Fix
Fixed the time and weather not changing when clicking the "Save Settings button".
Fixed the client-side errors related to users not being on a high enough game build to support the new blackout natives.
13/06/2022
Files Changed:
Changelog:
Add
Added server and client exports to get the weather data. See docs.
31/7/2025
Files Changed:
Changelog:
Add
Added Real Time and Real Weather. The can be used together or independently, such as game time but real life weather.
Added auto detect for framework and notification resources.
Added discord roles as a permission method.
Added QBox compatibiliy.
Edit
Time changes (minute to minute) are much smother now.
Last updated
Was this helpful?

