Giter Club home page Giter Club logo

cd_easytime's Introduction

Easytime - FiveM Time and Weather

674x458

674x458

674x458

Easytime is a small standalone but useful UI for FiveM server administrators which allows them to manipulate time and weather with a click of a button!

Full documentation

https://docs.codesign.pro/free-scripts/easytime-time-and-weather-management

How do I use?

The default command to open the UI is /easytime. Make sure to configure the Config.Framework.

Conflicts

It is possible that Easytime conflicts with other time and weather scripts such as vMenu or vSync.

Preview

https://www.youtube.com/watch?v=-7SMZLyZWcY

cd_easytime's People

Contributors

dsheedes avatar eevee911 avatar elenawinters avatar geeknessfr avatar itsanobrainer avatar janblk avatar lizarragaeneko avatar polar1s7 avatar rampbst avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

cd_easytime's Issues

weather and time not sync properly

weather and time not sync properly ,
if we changed time to night and one player exited from server while he reconnect again may be time ll be morning for that player,
many time tried
any fix

but the time transition is very smooth ,i loved it

and add one more feature if can ,like while changing time please try to give some wait and a smooth transition ,no players should not know that time changed, now in this script if we change time its changing very quickly.

Tsunami

When you toggle the Tsunami event in /easytime it doesn't update the value in the toggle and it gets stuck on it.

Time Sync

I have a small issue, I edited the time to be realistic but now there is flickering and the sun keeps looking like its going to move them gets jerked right back to where it was like the time keeps resetting itself. Any solutions to that? Thanks.

Settings.txt

If i change the hours here does this make days longer....looking for close to real time

no rain seen

No Rain. all other weather works, however, you can not see the raindrops or any puddles on the ground.

2023-05-08.11-51-39.mp4

no errors, and no one is seeing the rain at all. we see the fog, clouds, lighting, no water

weather dont change

with the lasted update of your script, the weather does not change when you select it and press change. no error in console

The commands don't work

cd_easytime/server/server.lua:214: attempt to index a nil value (global 'ESX')
I had change my strigger to my own one esx_getsharedobjets

20210321212102_1

[BUG] nui focus

Doesn't set the nui focus to false whenever you click the change weather option.

ESX Legacy 1.10.5

[ERROR] Resource cd_easytime Used the getSharedObject Event, this event no longer exists!

freezes

when i use this it stops my doin a 360 camera view plus crashed my t/ menu and cause my t/menu to flicker

Snow not synced

Onesync issues?
So many people see snow while the other half do not see any snow at all.

Any ideas?

Tsunami Event

When I set the tsunami event, nothing happens, only the tsunami alert. Should anything else happen or just that?.

Dynamic Weather setting not saving through server restart

Hey, resource has been working great so far, I have noticed that if you disable dynamic weather to keep it snowing as an example the setting isn't saved through a restart, the server will restart and have the previously saved weather however the dynamic weather setting ends up resetting and the weather will end up changing.

You dont have the Permission....

Hey,

after hours of locking at the screen i finally write this here cause i hate it too when ppl first ask and then look...but i dont know what i did wrong.

So, i have rewritten the config file for QB and i dont get any errors in my Console or Server Log, but i still get the massage that i dont have the permission to use this command.

I first tried it with "admin" and then with "god" but i still cant open the Menu.
I dont have any other weather script on my Server but it wont work.

I have read the Guide over and over but i cant help myself.

So if you have a bit of spare time, maybe you know what is wrong^^

This is my config file:
Config.FrameworkTriggers = { --You can change the esx/qbcore events (IF NEEDED).
main = 'QBCore:GetObject', --ESX = 'esx:getSharedObject' QBCORE = 'QBCore:GetObject'
load = 'QBCore:Client:OnPlayerLoaded', --ESX = 'esx:playerLoaded' QBCORE = 'QBCore:Client:OnPlayerLoaded'
job = 'QBCore:Client:OnJobUpdate', --ESX = 'esx:setJob' QBCORE = 'QBCore:Client:OnJobUpdate'
resource_name = 'qb-core' --ESX = 'es_extended' QBCORE = 'qb-core'
}

Config.NotificationType = { --[ 'esx' / 'qbcore' / 'mythic_old' / 'mythic_new' / 'chat' / 'other' ] Choose your notification script.
server = 'qbcore',
client = 'qbcore'
}

Config.Command = {
OpenUI = 'easytime', --The command for staff to open the UI.

Perms = { --You decide which permission groups can use the staff command ^.
    ['qbcore'] = {'god', 'admin'}
}

}

Thx to you guys^^

Set minutes

Is it possible to set minutes too? I would be awesome for example i want to set the time 18:27, or 5:33 etc...

aceperms not working

aceperms isnt properly checking if someone has the certain permission to open the easytime menu, it will just let everyone open it

Not working with ESX

Hellow there, first of all nice script !

I have an issues with your script and ESX.

First on startup the permissions check fail

[  script:cd_easytime] SCRIPT ERROR: @cd_easytime/server/server.lua:205: attempt to index a nil value (global 'ESX')
[  script:cd_easytime] > PermissionsCheck (@cd_easytime/server/server.lua:205)
[  script:cd_easytime] > ref (@cd_easytime/server/server.lua:39)

Next after a restart IG you can see those errors (screen down there)

image

And finaly the command "easytime" look like to work cause it pop up my mouse but the visual does not appear.

Thanks. ^^

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.