Configuration

Everything is in config.lua.

General

OptionDefaultWhat it does
Config.DebugfalsePrints every add, remove and refusal, and why the inventory did not open

Player bag

OptionDefaultWhat it does
Config.MaxSlots41Slots a player carries
Config.MaxWeight120000Weight a player carries (on ESX the weight comes from ESX)

Stashes and dropped bags

OptionDefaultWhat it does
Config.StashSize{ slots = 50, maxweight = 400000 }Size of a stash
Config.DropSize{ slots = 30, maxweight = 100000 }Size of a dropped bag
Config.DropTime0Minutes a dropped bag lasts; 0 keeps it until a restart
Config.ItemDropObject'prop_med_bag_01b'Prop used for a dropped bag
Config.DropstrueLeave bags on the ground when something is dropped
Config.SaveInterval30Seconds between stash saves; stashes also save when closed

Vehicles

Config.VehicleStorage sets trunk and glovebox size by GTA vehicle class. default covers any class not listed.

Config.VehicleStorage = {
    default = { trunkSlots = 30, trunkWeight = 38000, gloveboxSlots = 5, gloveboxWeight = 10000 },
    [1]  = { trunkSlots = 35, trunkWeight = 50000,  gloveboxSlots = 5, gloveboxWeight = 10000 },
    [8]  = { trunkSlots = 10, trunkWeight = 15000,  gloveboxSlots = 0, gloveboxWeight = 0 },
    [12] = { trunkSlots = 45, trunkWeight = 90000,  gloveboxSlots = 5, gloveboxWeight = 12000 },
}

Classes 0 to 20 are listed in the file (Compacts, Sedans, SUVs, Coupes, Muscle, Sports classics, Sports, Super, Motorcycles, Off-road, Industrial, Utility, Vans, Cycles, Boats, Helicopters, Planes, Service, Emergency, Military, Commercial).

Config.VehicleAccess sets how trunks and gloveboxes open:

OptionDefaultWhat it does
how'tab''tab': the inventory key opens the trunk at the back of a car, or the glovebox when seated. 'prompt': a help text line, opened with key. 'target': qb-target or ox_target option on the car
key51Control for 'prompt' (E)
near2.5How close the player has to be, in meters

Keys

OptionDefaultWhat it does
Config.Keybinds.Open'TAB'Opens the inventory
Config.Keybinds.Hotbar'Z'Shows the hotbar

Players can rebind these in the pause menu. On a controller the inventory opens with LB.

Weapons

OptionDefaultWhat it does
Config.UseWeaponResourcetrueHands ammunition and attachments off to the weapon resource
Config.WeaponResource'qb-weapons'The weapon resource to use
Config.QuickSlotstrueController quick-use row of four slots on a held button

Look

OptionDefaultWhat it does
Config.Skin'auto'Starting look. 'auto' uses the framework's own (QBCore red, ESX yellow), or name one: 'qb', 'esx', or a shop look. Players can still change it in the panel
Config.Dim0.3How dark the screen is behind the open inventory, 0 clear to 1 solid