Skip to Content

Configuration

The Flux UI customization is in config.lua at the root of the resource.

Profile Picture

Config.PFP = 'discord' -- 'discord' or 'steam'

Sets where player profile pictures are fetched from.

Clothing Toggle

Config.EnableClothing = true

Enables the clothing toggle system in the inventory UI. See Clothing System for details.

Notification Settings

Config.NotificationConfig = { position = 'top-right', -- Notification position on screen duration = 3000, -- Duration in milliseconds }

Color Theme

Config.ColorSettings = { primaryColor = '#ff0040', -- Primary accent color (hex) gradient = true, -- Enable gradient effects }

Set a single hex color and the entire UI theme is generated automatically.

Locale / UI Text

Config.Locale = { pocket = 'Pocket', hotbar = 'Hotbar', secondary = 'Secondary', mainTitle = 'Inventory', }

Customize the text labels shown in the inventory UI.

Server Convars

These are set in server.cfg, not in config.lua:

ConvarDefaultDescription
inventory:slots50Number of inventory slots
inventory:weight30000Maximum carry weight
inventory:target0Enable target-based interaction
inventory:police["police", "sheriff"]Police job names (JSON array)
inventory:autoreloadAuto-reload weapons
inventory:screenblurBlur screen when inventory is open
inventory:keysF2/K/TABKeys to open inventory
inventory:itemnotifyShow item pickup notifications
inventory:weaponnotifyShow weapon equip notifications
inventory:randompricesRandomize shop prices
inventory:randomlootEnable random loot in containers
inventory:vehiclelootEnable vehicle loot
inventory:dumpsterlootEnable dumpster loot

Full Config Example

Config = {} Config.PFP = 'discord' Config.EnableClothing = true Config.NotificationConfig = { position = 'top-right', duration = 3000, } Config.ColorSettings = { primaryColor = '#ff0040', gradient = true, } Config.Locale = { pocket = 'Pocket', hotbar = 'Hotbar', secondary = 'Secondary', mainTitle = 'Inventory', }
Last updated on