Weather and time control, by m-Scripts
STORM

Rain on cue. Sun on demand.

One panel for the weather and the clock of the whole server. Presets, a scheduler, player votes, real weather from a city you pick, and a temperature that players feel.

The server dashboard with the current weather, game time and next change
Weather control with 12 weather types and the fine tuning sliders
The quick presets page
The freeze panel for weather and time
Creating a new weather schedule with a repeat option
The weather scheduler with daily and weekly schedules
Players voting for the next weather
The system logs inside the panel
01Dashboard

The sky.
At a glance.

Open /weather and see the weather, temperature, rain, fog and wind, the game clock, what is frozen and what comes next.

02Control

Pick it.
Tune it.

12 weather types. Sliders for temperature from -20 to 50 °C, and rain, fog and wind from 0 to 100%. One click sends it to every player.

03Presets

One click.
Whole mood.

Perfect Summer, Heavy Storm, Dense Fog, Cloudy Day and Freezing Winter come ready. Save your own from the panel.

04Freeze

Hold the weather.
Hold the clock.

Freeze the weather for an event and the auto cycle leaves it alone. Freeze the time and the day stops where it is.

05Schedule

Set a date.
Let it rain.

Pick a date, a time, the weather and its values. Run it once or repeat it daily, weekly or monthly.

06Scheduler

Plan the week.
Forget about it.

Schedules are saved in the database and survive restarts. Turn one off, edit it or delete it from the list.

07Vote

Players choose.
The sky obeys.

5 minutes before the next change a 60 second vote opens for everyone. Players can change their vote until the time runs out.

08Logs

Who changed it.
And when.

Every change, freeze and schedule lands in the panel logs. Add a webhook and the same goes to Discord.

See it running

The full tour.
In one video.

Temperature players feel

Dress for it.
Or pay for it.

Every weather has its own temperature range. A small card shows each player how cold or hot they are, and what they wear changes it. Every number below is a default in the config.

The temperature card on the player's screen
The temperature card
A cold weather warning telling the player to put on a jacket
Warnings when it gets cold
The forecast card with the next weather and when voting opens
The forecast before a change
01 · Too cold, too hot

Four limits

Below 5 °C it is cold and below -5 °C it is freezing. Above 35 °C it is hot and above 45 °C it burns. Each limit can take health and shake the screen.

-5 / 5 °C35 / 45 °CHealth loss
02 · What warms you

Layers and shelter

Jacket, t-shirt, trousers, shoes and mask each add warmth. A car or a building adds 10 °C, a fire up to 20 °C, and running for 10 seconds adds 15 °C for a minute.

5 clothing layers+10 °C inside+20 °C by a fire
03 · What cools you

Water and height

Water takes 15 °C off, and swimming in water under 15 °C counts double. The higher you climb, the colder it gets.

-15 °C in waterDouble when coldAltitude
0Weather types
0Presets ready to use
0Chat commands
0Exports for developers
0Real weather providers
Everything in the box

Not just /weather.
The whole sky.

Admin panel

/weather opens the panel. Dashboard, control, presets, freeze, scheduler and logs in one place.

group.admin

12 weather types

From clear sky to blizzard, Christmas snow included. Blacklist any type you never want to see.

Weather

Fine tuning

Temperature from -20 to 50 °C and rain, fog and wind from 0 to 100%, on top of the weather type.

Sliders

Quick presets

5 ready presets with weather, temperature, rain, fog and wind. Make more from the panel.

Presets

Smooth transitions

The weather blends into the next one over 15 seconds instead of snapping.

Transitions

Weather freeze

Lock the weather for an event. Changes from the panel and the auto cycle wait until you unlock it.

Freeze

Time control

/day, /night and /time 14:30 from chat, or set the hour and minute in the panel.

Clock

Time freeze

Setting the time also freezes it, so the day cycle does not move it until you let it go.

Clock

Day length

Set how many real milliseconds one game minute lasts and the hour the server starts at.

Config

Auto cycle

A new weather every 30 minutes, picked by the chances you set for each type.

Automatic

Forecast

15 minutes before a change, players see the next weather and when they can vote.

Players

Weather voting

A 60 second vote on 7 options, with at least 2 players online. /voteweather opens it again.

Players

Scheduler

Weather on a date and time, once or every day, week or month. Saved in the database.

Schedules

Real weather

Copy the live weather and temperature of any city, and its time if you want, from OpenWeatherMap or WeatherAPI.

Optional

Temperature ranges

Each weather has a minimum and maximum temperature, so a blizzard never feels like summer.

Per weather

Temperature card

Players see their temperature, the base value and what their clothes add. /checktemp shows the details.

Players

Clothing layers

5 clothing slots add warmth. Give single hoodies more warmth, or ignore tops that should not count.

Clothes

Shelter

Inside a car or a building the cold and heat ease off by 10 °C each.

Shelter

Fires and running

Stand near a fire to warm up, or run for 10 seconds for a warmup that lasts a minute.

Warm up

Water and altitude

Swimming cools players down, more in cold water. Mountains are colder than the beach.

World

Effects you can switch

Health loss, screen effects and warnings each have their own switch, or turn the whole temperature system off.

Config

Logs and Discord

The panel keeps the last 100 actions. Fill in the webhook and the same actions go to Discord.

Logs

Exports

Read or set the weather, time, freeze, schedules, presets and temperature effects from other scripts.

Developers

English and Portuguese

Both languages included. Pick one in the config.

Locales
The panel

Every screen.
Up close.

The Weather System panel
Control12 weather types and the fine tuning sliders
Straight answers

What you get.
What you need.

Included

  • The script with its own panel, in English and Portuguese
  • 12 weather types, 5 presets and the auto cycle chances ready
  • The temperature system with clothing, shelter, fire, water and altitude
  • Weather voting and the forecast card for players
  • An SQL file, though the tables are also created on start

Good to know

  • Needs ox_lib and oxmysql
  • Set Config.Framework to standalone, esx or qbcore. Qbox uses the qbcore bridge
  • Real weather needs a free API key from OpenWeatherMap or WeatherAPI. It is off by default
  • Run one weather and time script at a time, so two scripts do not fight over the sky
  • The panel opens for group.admin by default
Plugs into your server

Any framework.
Or none.

The bridge loads only the framework you pick. Standalone servers get the script's own notifications.

Framework

StandaloneESXQBCoreQbox

Commands

/weather/day/night/time/checktemp/voteweather

Real weather

OpenWeatherMapWeatherAPI

Languages

EnglishPortuguese

Needs

ox_liboxmysql

For developers

The weather.
From any script.

-- server: set the weather for everyone
exports['m-Weather']:SetWeather('THUNDER', 18, 90, 30, 70)  -- weather, temperature, rain, fog, wind
exports['m-Weather']:ApplyPreset(2)
exports['m-Weather']:SetTime(22, 0)
exports['m-Weather']:SetFreeze(true)

-- turn temperature effects off for one player, for example in a cutscene
exports['m-Weather']:SetTemperatureEffects(source, false)

-- client: read what the player sees
exports['m-Weather']:GetCurrentWeather()
FAQ

Before you buy.

Does it need a framework?

No. It runs standalone with its own notifications. On ESX, QBCore and Qbox it uses the framework for names, permissions and notifications.

Who can open the panel?

Players with group.admin or the command.weather ace by default. On ESX the admin groups count, and on QBCore and Qbox the framework permissions count too.

Can players pick the weather?

Yes. With voting on, a vote opens before every auto cycle change when at least 2 players are online. The winner becomes the next weather.

Can I use the real weather of my city?

Yes. Turn on real-time weather, add a free key from OpenWeatherMap or WeatherAPI and type the city. It can copy the weather, the temperature and the time.

Can I turn the temperature damage off?

Yes. Health loss, visual effects and warnings each have a switch, and the whole temperature system can be turned off.

Will an event keep its weather?

Yes. Freeze the weather and the auto cycle skips its change. Freeze the time and the clock stays where you set it.

CHANGETHE SKY.

Available now for 18.45 EUR.

Buy Weather System