Inventory Exports
This page lists the custom Lumix interfaces added around settings and profile behavior.
Client exports
| Export | Returns / effect |
|---|---|
getPlayerInfo | Returns cached profile data used by the inventory UI |
refreshPlayerInfo | Refreshes profile data and sends it to NUI |
captureMugshot | Captures and saves a mugshot for the current player |
Server exports
| Export | Returns / effect |
|---|---|
GetStaticProfile | Returns the profile payload for a player |
GetPlayerAvatar | Returns the resolved profile avatar URL/data URI |
ClearProfileCache | Clears cached profile data |
SaveMugshot | Saves a base64 mugshot for a player |
GetMugshot | Reads a saved mugshot |
Settings callbacks
| Callback | Purpose |
|---|---|
lumix_inventory:getSettings | Returns sanitized settings values and visibility flags |
lumix_inventory:saveSettings | Sanitizes and persists settings, then returns the saved payload |
Profile callbacks and events
| Name | Type | Purpose |
|---|---|---|
lumix_inventory:server:getProfileStatic | Callback | Returns profile data for the current player |
lumix_inventory:server:getMugshotStatus | Callback | Returns saved mugshot status |
lumix_inventory:server:saveMugshot | Server event | Saves a captured mugshot |
lumix_inventory:client:captureMugshot | Client event | Starts mugshot capture |
lumix_inventory:client:refreshMugshot | Client event | Refreshes profile/mugshot data |
lumix_inventory:client:mugshotSaved | Client event | Receives save result and refreshed profile data |
NUI callbacks
| Callback | Purpose |
|---|---|
getInventorySettings | Loads settings into the settings panel |
saveInventorySettings | Saves the current draft settings |
lumixInventoryScreenBlurSettings | Previews screen blur state |
lumixInventoryCaptureMugshot | Captures profile mugshot from the settings panel |
lumixInventoryRefreshProfile | Refreshes profile data from the settings panel |
WARNING
LumixSettings.Get, LumixSettings.Save, and LumixSettings.ClearCache are internal Lua helpers, not external FiveM exports.