Item setup

These are not usable items. The script never registers registerItemUse. They only need to exist in your inventory so players can sell, buy back, or smelt them.

Skip any name you already have. Copy the matching PNG from [INSTALL]/images/ if you want this art.

ItemLabelTypical use
metalscrapMetal ScrapSell / smelt
ironIronSell / smelt reward
steelSteelSell
copperCopperSell
aluminumAluminumSell
plasticPlasticSell
glassGlassSell
rubberRubberSell
radioRadioSell
phonePhoneSell
laptopLaptopSell
rolexGolden WatchSell / smelt
goldchainGolden ChainSell / smelt
diamond_ringDiamond RingSell / smelt
sapphire_ringSapphire RingSell
emerald_necklaceEmerald NecklaceSell
ruby_ringRuby RingSell
diamond_necklaceDiamond NecklaceSell
goldGold BarSell / smelt reward
diamondDiamondSell / smelt reward

Copy PNGs from [INSTALL]/images/ into:

InventoryImage folder
ox_inventoryox_inventory/web/images/
qb-inventory / ps-inventoryhtml/images/
one_inventoryone_inventory/web/images/

OX is ox_inventory (ESX and Qbox that run ox use this tab). QB is qb-core/shared/items.lua. one_inventory only needs the PNGs in that folder.

⚠️

Do not add server.export and do not mark these usable. Pawn sells and smelts them as normal inventory items. Omit consume.

Add any missing names to ox_inventory/data/items.lua:

['metalscrap'] = { label = 'Metal Scrap', weight = 100, stack = true, close = false },
['iron'] = { label = 'Iron', weight = 100, stack = true, close = false },
['steel'] = { label = 'Steel', weight = 100, stack = true, close = false },
['copper'] = { label = 'Copper', weight = 100, stack = true, close = false },
['aluminum'] = { label = 'Aluminum', weight = 100, stack = true, close = false },
['plastic'] = { label = 'Plastic', weight = 50, stack = true, close = false },
['glass'] = { label = 'Glass', weight = 50, stack = true, close = false },
['rubber'] = { label = 'Rubber', weight = 50, stack = true, close = false },
['radio'] = { label = 'Radio', weight = 1000, stack = true, close = false },
['phone'] = { label = 'Phone', weight = 190, stack = true, close = false },
['laptop'] = { label = 'Laptop', weight = 2000, stack = true, close = false },
['rolex'] = { label = 'Golden Watch', weight = 1500, stack = true, close = false },
['goldchain'] = { label = 'Golden Chain', weight = 1500, stack = true, close = false },
['diamond_ring'] = { label = 'Diamond Ring', weight = 1500, stack = true, close = false },
['sapphire_ring'] = { label = 'Sapphire Ring', weight = 1500, stack = true, close = false },
['emerald_necklace'] = { label = 'Emerald Necklace', weight = 1500, stack = true, close = false },
['ruby_ring'] = { label = 'Ruby Ring', weight = 1500, stack = true, close = false },
['diamond_necklace'] = { label = 'Diamond Necklace', weight = 1500, stack = true, close = false },
['gold'] = { label = 'Gold Bar', weight = 100, stack = true, close = false },
['diamond'] = { label = 'Diamond', weight = 1000, stack = true, close = false },