☀️ Time & Weather synchronization for any framework. ⌚
- Weather synced across all clients using Global State
- Time synced across all clients using Global State
- Blackout synced across all clients using Global State
- Exports to disable syncing (for inside shells)
- 0.00ms idle
Download the latest release and place in your resources
directory.
Add the script to your server.cfg
start tclrd-weather
View config.lua
to change the default settings.
Config.TimeScale = 1
- Ratio of in-game minutes to real-world seconds (default: 2)
/time [hour] [minute]
- Defaults to 12 00 if no hour / minute specified
/weather [type]
- See Native Reference - SetWeatherTypeNow for available types
/blackout [true/false]
- Set blackout
---@param status boolean
exports['tclrd-weather']:setSync(status)