Skip to content

NUI Configuration

NUI-related settings are configured in /data/nui.lua.

Options

  • DefaultDescription string — Default description when description is not defined in the recipe

  • ItemMax number — Maxmimum number of items the player can craft at one click

  • ImagePath? string — The image path of the item images

  • PrimaryColor string — Primary color of the NUI

  • EnableStar boolean — Whether to turn on the stars effect on the background of the NUI

Default settings

lua
local nui = {
    DefaultDescription = 'No description available.',
    ItemMax = 20,
    ImagePath = 'nui://ox_inventory/web/images/',
    PrimaryColor = '#9333ea',
    EnableStar = true,
}

return nui