Installation
Install and start Nexra Outfit Bag on your FiveM server.
Installation
- Ensure ox_lib is installed and started.
- Place
nexra_outfitbagin your resources folder. - Add the following to
server.cfg:
ensure ox_lib
ensure nexra_outfitbag- Add the
outfitbagitem to your inventory (see Item setup), unless you are using standalone mode. - Restart the server (or start the resource).
Dependencies
Required
| Resource | Notes |
|---|---|
| ox_lib | Required — loaded in fxmanifest.lua |
Auto-detected
These are picked up when started. No extra config is required for common stacks.
| Integration | Supported |
|---|---|
| Framework | qbx_core, qb-core, es_extended, custom, standalone |
| Inventory | ox_inventory, qb-inventory, qs-inventory, codem-inventory, origen_inventory, tgiann-inventory, core_inventory, jaksam_inventory, m-Inventory, one_inventory, custom |
| Clothing | illenium-appearance, fivem-appearance, qb-clothing, esx_skin, internal, custom |
| Target | ox_target, qb-target, tgiann-target, sleepless_interact, core_focus, custom |
| TextUI | ox_lib, lation_ui, okokTextUI, jg-textui, cd_drawtextui, lab-hintui, zsx_uiv2, custom |
| Notifications | ox_lib, lation_ui, okokNotify, wasabi_notify, mythic_notify, brutal_notify, pnotify, t-notify, fl-notify, vms_notifyv2, zsx_uiv2, solaire_notify, codem-notification, custom |
A clothing resource is strongly recommended so outfits save and apply correctly.
Framework support
Works with Qbox, QBCore, ESX, and standalone. For other frameworks, edit framework/custom/.
- Framework / item mode: players use the
outfitbaginventory item. - Standalone: set
Config.Framework = 'standalone'and use/outfitbag— no item or inventory required.
Item setup
Item name must match Config.ItemName (default outfitbag). Also add outfitbag.png to your inventory image folder where required.
['outfitbag'] = {
label = 'Outfit Bag',
weight = 2000,
stack = false,
close = true,
description = 'A duffel bag used to store and change outfits.',
client = {
image = 'outfitbag.png',
},
},Locales
Locale files live in locales/. Set Config.Locale in config.lua.
Included: en, de, es, fr, nl, pt-br, tr, cs
Branding
Replace the default UI logo by putting your image in the NUI build folder and pointing config at it.
- Add your logo file here:
nexra_outfitbag/web/build/logo.png- Set the filename in
config.lua:
Config.Brand = {
logo = 'logo.png',
name = 'Nexra',
}Config.Brand.logo can be:
- A file in
web/build/(example:'logo.png'→web/build/logo.png) - A path inside the resource
- A full
https://ornui://URL
Config.Brand.name is the brand text shown in the UI.
Data files
Outfits are stored as JSON — no SQL install is required.
| File | Purpose |
|---|---|
data/outfits.json | Saved player outfits |
Editable files
These remain open for customization (escrow ignore):
config.lualocales/*.jsondata/*.jsoninstall/**item snippetsserver/*.luaframework/**bridges andcustomstubsmodules/**/custom/*.lua
