Installation Instructions
- Add the Script to Your Server: Drag the
dynyx_pocketsfolder into your server’s resources directory and addensure dynyx_pocketsto your server’scfgfile. - Install Dependencies: Ensure all necessary dependencies are installed, including
qb-coreandox_inventory. - Run the SQL File: Execute the provided SQL file to set up the necessary database tables.
- Update Inventory Items: Go to
ox_inventory/data/items.luaand paste the provided code to add the backpack items with their respective capacities and configurations. - Add Backpack Images: Copy the images from the script’s images folder into
ox_inventory/web/imagesfor proper display.
Advanced & Unique Backpack System for FiveM:
This QBCore Script lets players carry more items by using backpacks with different weight and slot capacities.
- Ox Inventory & QBCore: Built for QBCore with ox_inventory; the backpack items are added to
ox_inventory/data/items.lua. - Fully Customizable: Easily configure the script using the provided config file to adjust the backpack capacities, item limits, and other settings to fit your server’s needs.
- SQL-Backed Pocket System: The equipped pocket type is stored in a
pocketstypecolumn of theplayerstable. - Removable Pockets: Players can equip a backpack and remove it again with the
/removepocketscommand; optionally a backpack clothing piece is shown while it is equipped. - Discord Webhook Logs: Automatically sends logs to a Discord server for tracking inventory changes and other important events.
- Variety of Backpack Tiers: Choose from five different backpack tiers, each with varying capacities ranging from 35KG up to 125KG and offering between 35 to 75 inventory slots.