πŸ’ΏInstallation

πŸ“¦ Installation

Before you start, make sure your server meets all the requirements listed below.


βœ… Requirements

Dependency
Version
Notes

oxmysql

Latest

Required for database storage

ox_lib

Latest

Required for notifications and UI components

ox_target

Optional

For target-based bag interaction

qb-target

Optional

Alternative target system

circle-info

If you don't use ox_target or qb-target, the script will automatically fall back to key-based interaction (G to pick up, E to open)


πŸ—‚οΈ Step 1 β€” Add the Resource

  1. Download the resource from your Tebex keymasterarrow-up-right

  2. Extract the folder and place it inside your server's resources directory

resources/
└── [0bug]/
    └── 0bug_outfitbag/
        β”œβ”€β”€ client/
        β”œβ”€β”€ server/
        β”œβ”€β”€ html/
        β”œβ”€β”€ config.lua
        └── fxmanifest.lua
  1. Add the following line to your server.cfg:

circle-info

Make sure oxmysql and ox_lib are started before 0Bug_OutfitBag in your server.cfg.


πŸ—„οΈ Step 2 β€” Import the SQL (Optional - We use auto create)

Run the following SQL in your database (via phpMyAdmin, HeidiSQL, or any MySQL client):


πŸŽ’ Step 3 β€” Add the Bag Item

Add the outfitbag item to your inventory resource.


QBCore β€” qb-core/shared/items.lua


ESX β€” Insert into database


ox_inventory β€” ox_inventory/data/items.lua

πŸ“Έ Place the item image outfitbag.png (included in the resource) into your inventory's images folder


βš™οΈ Step 4 β€” Configure the Script

Open config.lua and set your framework:

Set your target system (or disable for key-based):

See the full Configuration page for all available options.


▢️ Step 5 β€” Start & Test

  1. Restart your server (or use ensure 0Bug_OutfitBag in the console)

  2. Give yourself the item in-game:

  1. Use the item from your inventory to place the bag

  2. Press F4 or type /clothing to open the wardrobe

circle-check

❗ Troubleshooting

The bag item doesn't work / nothing happens when I use it

  • Make sure the item is registered correctly in your inventory resource

  • Confirm oxmysql and ox_lib are started before 0Bug_OutfitBag

  • Check your server console for any Lua errors

Target interaction doesn't appear on the bag

  • Verify your Config.Target.system matches your installed target resource

  • Make sure ox_target or qb-target is started before 0Bug_OutfitBag

  • If neither is installed, set Config.Target.enabled = false to use key interaction

Last updated