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 = trueEnables 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:
| Convar | Default | Description |
|---|---|---|
inventory:slots | 50 | Number of inventory slots |
inventory:weight | 30000 | Maximum carry weight |
inventory:target | 0 | Enable target-based interaction |
inventory:police | ["police", "sheriff"] | Police job names (JSON array) |
inventory:autoreload | — | Auto-reload weapons |
inventory:screenblur | — | Blur screen when inventory is open |
inventory:keys | F2/K/TAB | Keys to open inventory |
inventory:itemnotify | — | Show item pickup notifications |
inventory:weaponnotify | — | Show weapon equip notifications |
inventory:randomprices | — | Randomize shop prices |
inventory:randomloot | — | Enable random loot in containers |
inventory:vehicleloot | — | Enable vehicle loot |
inventory:dumpsterloot | — | Enable 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