> For the complete documentation index, see [llms.txt](https://daikirai.gitbook.io/scripting/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://daikirai.gitbook.io/scripting/world/weather.md).

# Weather

Use it to set a local time, control lightning, or show rain during clear weather.

## Set the time

`Time` sets the time of day shown by your client. Its value can be set from `0` to `24`. Set it to `0` to use the vanilla server time.

## Control lightning

`Lightning` controls how often lightning appears on your screen. `Disabled` hides it. `Vanilla` uses the normal Minecraft frequency. `Uncommon`, `Common`, `Frequent`, and `Intense` use progressively higher frequencies. `Chaotic` selects the chaotic frequency.

## Control rain

Enable `Rain` to show rain even when the server sends clear weather. Disable it to hide rain even when the server sends rain.
