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.

Download Herearrow-up-right

FiveM Forums Postarrow-up-right

YouTube Showcase Videoarrow-up-right

Translate



INSTALLATION GUIDE

Step 1 - Download

circle-info

1. Download your resource from GitHubarrow-up-right.

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_easytime


Step 2 - Fxmanifest

circle-info

Depending on your framework and dependencies, you may need to make some changes inside [cd_easytime/fxmanifest.lua]. We have simplified this process by commentingarrow-up-right on the lines that you may need to modify.


Step 3 - Configure Resource

circle-info

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"arrow-up-right at the end of each line to understand the purpose of each config option.

The most important sections are those under the Frameworkarrow-up-right and Importantarrow-up-right categories at the top of the config.lua. Everything else is optional.


Step 4 - How Do I Use It?

circle-info
  • 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:

      1. Open the [cd_easytime/configs/config.lua].

      2. Find the line that says Config.Permissions.

      3. Add the permission groups you want to allow access to the UI.


Step 5 - Real Time & Weather

circle-exclamation
circle-info
  1. Go to https://openweathermap.orgarrow-up-right and create an account.

  2. The API key should be automatically generated after account creation. To access it click on your profile name > My API Keysarrow-up-right Double click the key and copy it.

  3. Paste this API key into Config.APIKey.

  4. Set Config.Time.METHOD and/or Config.Weather.METHOD to "game" and configure to suit your servers needs.

circle-info

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 Guidearrow-up-right 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_easytime folder, 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.lua file. After downloading, replace the new config.lua with your backup.

  • Specific Files: Simply copy and paste the specific updated files over the old ones, then restart your server.

circle-exclamation

20/03/2021 - 22/03/2021

v1.1.4 - v1.1.7

Files Changed:

Changelog:

circle-check
circle-info

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.

circle-exclamation

Last updated

Was this helpful?