Configuration
There are two places:
server.cfg convars (setup/server.cfg)
The base ox_inventory options: framework, slots, weight, keys, markers, loot tables, log level…
config.lua
Everything this rework adds: theme, branding, logs, throwing, drops, keys, clothing, trunks…
4.1 Main convars
inventory:framework
esx
esx, qb, qbx, ox, nd
inventory:slots
50
Player slots
inventory:weight
30000
Player max weight (grams)
inventory:dropslots / dropweight
50 / 30000
Ground drop size
inventory:keys
["F2","K","TAB"]
Open inventory / open secondary / quick-use wheel
inventory:target
false
Use ox_target instead of markers
inventory:dropprops
true
Show props for drops instead of markers
inventory:dropmodel
prop_med_bag_01b
Generic drop bag
inventory:police
["police","sheriff"]
Groups treated as police (evidence, searching)
inventory:loglevel
1
0 = no logs (Discord too), 1 = normal, 2 = also every add/remove/purchase
inventory:clearstashes
6 MONTH
Delete stashes unused for this long
inventory:enablestealcommand
true
Enables /steal
inventory:validhosts
["r2.fivemanage.com","i.fmfile.com"]
Hosts allowed for custom item images (metadata.imageurl)
inventory:webhook
""
Webhook that checks custom images. If it is empty, every image URL is accepted.
inventory:discordtoken
""
Discord bot token for player avatars. Always use set, never setr: a replicated convar can be read by every client.
See setup/server.cfg for the complete, commented list.
4.2 config.lua
With Config.Clothing.Enabled = false:
clothing items, the character preview, outfits,
/giveclothandCreateClothingItemare disabled;the backpack, parachute and bulletproof vest keep working.
Use this if you want to keep your usual clothing script.
Last updated