NX CreativeNX CreativeDocs
ScriptsFourseasons

Commands

Chat commands registered by nx_fourseasons.

Player commands

/forecast

Open the forecast UI. Gated by Config.UI.EnableForecast.

/togglescreenweather

Toggle the screen weather overlay (screen-space raindrops and weather FX). Preference is stored on the client.

Admin commands

/weatheradmin

Open the ox_lib admin menu. Set weather, time, season, temperature, trigger seasonal events, and run test actions. Gated by the framework admin check. A keybind can also be registered through Config.AdminKeybind.

Debug commands

The following commands are only registered when Config.Debug = true. They are for development and should stay off in production.

/testwarning

Show a weather warning banner at a given level. Usage: /testwarning [1-3].

/weatherwarning

Lower-level test that sends a warning directly to the notification system. Usage: /weatherwarning [level].

/displayformat

Switch the HUD display format. Usage: /displayformat [icon|text|both].

/format

Alternate HUD format switch used by the NUI. Usage: /format [icon|text|full].

/updateforecast

Request a forecast refresh from the server.