Ox Inventory Install
Step 1: Locate the OX Inventory Folder
Navigate to your FiveM server directory.
Open the
resources
folder.Find and open the ox_inventory resource folder.
Step 2: Open the data/items.lua
File
data/items.lua
FileInside the ox_inventory folder, go to:
ox_inventory/data/items.lua
Open
items.lua
using Notepad++, VS Code, or another code editor.
Step 3: Add Your New Item
Add a new entry for your item inside the
items.lua
file.Use the following format:
Items Config
['djs_box_beefpatties'] = {
label = 'Beef Patties',
weight = 1,
stack = true,
close = true,
client = {
status = { hunger = 2000000 },
anim = { dict = 'anim@djs@food@plated', clip = 'djs_food_plate_bite_loop' },
prop = {model = 'djs_box_beefpatties',
bone = 18905,
pos = vec3(0.140000, 0.000000, 0.000000),
rot = vec3(0.000000, 0.000000, 0.000000)
},
propTwo = { model = 'djs_fork',
bone = 58868,
pos = vec3(0.000000, -0.014000, 0.030000),
rot = vec3(6.608002, 0.000000, 94.989883)
},
usetime = 17500,
cancel = true,
notification = 'You have satistfied your hunger'
},
},
['djs_box_goatcurryandrice'] = {
label = 'Goat Curry and Rice',
weight = 1,
stack = true,
close = true,
client = {
status = { hunger = 2000000 },
anim = { dict = 'anim@djs@food@plated', clip = 'djs_food_plate_bite_loop' },
prop = {model = 'djs_box_goatcurryandrice',
bone = 18905,
pos = vec3(0.140000, 0.000000, 0.000000),
rot = vec3(0.000000, 0.000000, 0.000000)
},
propTwo = { model = 'djs_fork',
bone = 58868,
pos = vec3(0.000000, -0.014000, 0.030000),
rot = vec3(6.608002, 0.000000, 94.989883)
},
usetime = 17500,
cancel = true,
notification = 'You have satistfied your hunger'
},
},
['djs_box_grizzadatarts'] = {
label = 'Grizzada Tarts',
weight = 1,
stack = true,
close = true,
client = {
status = { hunger = 2000000 },
anim = { dict = 'anim@djs@food@plated', clip = 'djs_food_plate_bite_loop' },
prop = {model = 'djs_box_grizzadatarts',
bone = 18905,
pos = vec3(0.140000, 0.000000, 0.000000),
rot = vec3(0.000000, 0.000000, 0.000000)
},
propTwo = { model = 'djs_fork',
bone = 58868,
pos = vec3(0.000000, -0.014000, 0.030000),
rot = vec3(6.608002, 0.000000, 94.989883)
},
usetime = 17500,
cancel = true,
notification = 'You have satistfied your hunger'
},
},
['djs_box_jamicanshortribs'] = {
label = 'Jamican Short Ribs',
weight = 1,
stack = true,
close = true,
client = {
status = { hunger = 2000000 },
anim = { dict = 'anim@djs@food@plated', clip = 'djs_food_plate_bite_loop' },
prop = {model = 'djs_box_jamicanshortribs',
bone = 18905,
pos = vec3(0.140000, 0.000000, 0.000000),
rot = vec3(0.000000, 0.000000, 0.000000)
},
propTwo = { model = 'djs_fork',
bone = 58868,
pos = vec3(0.000000, -0.014000, 0.030000),
rot = vec3(6.608002, 0.000000, 94.989883)
},
usetime = 17500,
cancel = true,
notification = 'You have satistfied your hunger'
},
},
['djs_box_jerkchicken'] = {
label = 'Jerk Chicken',
weight = 1,
stack = true,
close = true,
client = {
status = { hunger = 2000000 },
anim = { dict = 'anim@djs@food@plated', clip = 'djs_food_plate_bite_loop' },
prop = {model = 'djs_box_jerkchicken',
bone = 18905,
pos = vec3(0.140000, 0.000000, 0.000000),
rot = vec3(0.000000, 0.000000, 0.000000)
},
propTwo = { model = 'djs_fork',
bone = 58868,
pos = vec3(0.000000, -0.014000, 0.030000),
rot = vec3(6.608002, 0.000000, 94.989883)
},
usetime = 17500,
cancel = true,
notification = 'You have satistfied your hunger'
},
},
['djs_box_jerkpork'] = {
label = 'Jerk Pork',
weight = 1,
stack = true,
close = true,
client = {
status = { hunger = 2000000 },
anim = { dict = 'anim@djs@food@plated', clip = 'djs_food_plate_bite_loop' },
prop = {model = 'djs_box_jerkpork',
bone = 18905,
pos = vec3(0.140000, 0.000000, 0.000000),
rot = vec3(0.000000, 0.000000, 0.000000)
},
propTwo = { model = 'djs_fork',
bone = 58868,
pos = vec3(0.000000, -0.014000, 0.030000),
rot = vec3(6.608002, 0.000000, 94.989883)
},
usetime = 17500,
cancel = true,
notification = 'You have satistfied your hunger'
},
},
['djs_box_oxtailmac'] = {
label = 'Oxtail & ,Mac',
weight = 1,
stack = true,
close = true,
client = {
status = { hunger = 2000000 },
anim = { dict = 'anim@djs@food@plated', clip = 'djs_food_plate_bite_loop' },
prop = {model = 'djs_box_oxtailmac',
bone = 18905,
pos = vec3(0.140000, 0.000000, 0.000000),
rot = vec3(0.000000, 0.000000, 0.000000)
},
propTwo = { model = 'djs_fork',
bone = 58868,
pos = vec3(0.000000, -0.014000, 0.030000),
rot = vec3(6.608002, 0.000000, 94.989883)
},
usetime = 17500,
cancel = true,
notification = 'You have satistfied your hunger'
},
},
['djs_box_oxtailrice'] = {
label = 'Oxtail & Rice',
weight = 1,
stack = true,
close = true,
client = {
status = { hunger = 2000000 },
anim = { dict = 'anim@djs@food@plated', clip = 'djs_food_plate_bite_loop' },
prop = {model = 'djs_box_oxtailrice',
bone = 18905,
pos = vec3(0.140000, 0.000000, 0.000000),
rot = vec3(0.000000, 0.000000, 0.000000)
},
propTwo = { model = 'djs_fork',
bone = 58868,
pos = vec3(0.000000, -0.014000, 0.030000),
rot = vec3(6.608002, 0.000000, 94.989883)
},
usetime = 17500,
cancel = true,
notification = 'You have satistfied your hunger'
},
},
['djs_box_rastapasta'] = {
label = 'Rasta Pasta',
weight = 1,
stack = true,
close = true,
client = {
status = { hunger = 2000000 },
anim = { dict = 'anim@djs@food@plated', clip = 'djs_food_plate_bite_loop' },
prop = {model = 'djs_box_rastapasta',
bone = 18905,
pos = vec3(0.140000, 0.000000, 0.000000),
rot = vec3(0.000000, 0.000000, 0.000000)
},
propTwo = { model = 'djs_fork',
bone = 58868,
pos = vec3(0.000000, -0.014000, 0.030000),
rot = vec3(6.608002, 0.000000, 94.989883)
},
usetime = 17500,
cancel = true,
notification = 'You have satistfied your hunger'
},
},
['djs_box_seafoodgumbo'] = {
label = 'Seafood Gumbo',
weight = 1,
stack = true,
close = true,
client = {
status = { hunger = 2000000 },
anim = { dict = 'anim@djs@food@plated', clip = 'djs_food_plate_bite_loop' },
prop = {model = 'djs_box_rastapasta',
bone = 18905,
pos = vec3(0.140000, 0.000000, 0.000000),
rot = vec3(0.000000, 0.000000, 0.000000)
},
propTwo = { model = 'djs_fork',
bone = 58868,
pos = vec3(0.000000, -0.014000, 0.030000),
rot = vec3(6.608002, 0.000000, 94.989883)
},
usetime = 17500,
cancel = true,
notification = 'You have satistfied your hunger'
},
},
['djs_box_steaknshrimp'] = {
label = 'Steak n Shrimp',
weight = 1,
stack = true,
close = true,
client = {
status = { hunger = 2000000 },
anim = { dict = 'anim@djs@food@plated', clip = 'djs_food_plate_bite_loop' },
prop = {model = 'djs_box_rastapasta',
bone = 18905,
pos = vec3(0.140000, 0.000000, 0.000000),
rot = vec3(0.000000, 0.000000, 0.000000)
},
propTwo = { model = 'djs_fork',
bone = 58868,
pos = vec3(0.000000, -0.014000, 0.030000),
rot = vec3(6.608002, 0.000000, 94.989883)
},
usetime = 17500,
cancel = true,
notification = 'You have satistfied your hunger'
},
},
['djs_plate_jerkchicken'] = {
label = 'Jerk Chicken',
weight = 1,
stack = true,
close = true,
client = {
status = { hunger = 2000000 },
anim = { dict = 'anim@djs@food@plated', clip = 'djs_food_plate_bite_loop' },
prop = {model = 'djs_plate_jerkchicken',
bone = 18905,
pos = vec3(0.140000, 0.000000, 0.000000),
rot = vec3(0.000000, 0.000000, 0.000000)
},
propTwo = { model = 'djs_fork',
bone = 58868,
pos = vec3(0.000000, -0.014000, 0.030000),
rot = vec3(6.608002, 0.000000, 94.989883)
},
usetime = 17500,
cancel = true,
notification = 'You have satistfied your hunger'
},
},
['djs_plate_oxtail'] = {
label = 'Oxtail',
weight = 1,
stack = true,
close = true,
client = {
status = { hunger = 2000000 },
anim = { dict = 'anim@djs@food@plated', clip = 'djs_food_plate_bite_loop' },
prop = {model = 'djs_plate_oxtail',
bone = 18905,
pos = vec3(0.140000, 0.000000, 0.000000),
rot = vec3(0.000000, 0.000000, 0.000000)
},
propTwo = { model = 'djs_fork',
bone = 58868,
pos = vec3(0.000000, -0.014000, 0.030000),
rot = vec3(6.608002, 0.000000, 94.989883)
},
usetime = 17500,
cancel = true,
notification = 'You have satistfied your hunger'
},
},
["djs_prop_coconutdrink"] = { --checked
label = "Coconut Mix",
stack = true,
close = true,
weight = 2,
client = {
status = { hunger = 2000000 },
anim = { dict = 'anim@djs@drink@soda', clip = 'djs_drink_soda_sip_long' },
prop = {model = 'djs_prop_coconutdrink',
bone = 57005,
pos = vec3(0.130000, -0.010000, -0.060000),
rot = vec3(-75.000000, -47.000000, -1.000000)
},
usetime = 17500,
cancel = true,
notification = 'You have satisfied your hunger'
},
},
["djs_prop_pineapple"] = { --checked
label = "Pineapple Mix",
stack = true,
close = true,
weight = 2,
client = {
status = { hunger = 2000000 },
anim = { dict = 'anim@djs@drink@soda', clip = 'djs_drink_soda_sip_long' },
prop = {model = 'djs_prop_pineapple',
bone = 57005,
pos = vec3(0.130000, -0.010000, -0.060000),
rot = vec3(-75.000000, -47.000000, -1.000000)
},
usetime = 17500,
cancel = true,
notification = 'You have satisfied your hunger'
},
},
Adjust label, weight, stack, animations, and props as needed.
Step 4: Add Item Image
OX Inventory allows you to display custom images for items in the inventory.
Where to Place Item Images
Navigate to:
ox_inventory/web/images/
Place your item image inside the
images/
folder.
Step 5: Save the File & Restart Server
Save the
items.lua
file.Restart your FiveM server using one of the following methods:
Console Command:
restart ox_inventory
Full Server Restart: Stop and start the server manually.
Step 6: Test the Item
Spawn the item using an admin command:
/giveitem yourID prop_name 1
(Replace
yourID
with your actual player ID andburger
with your item name.)Open OX Inventory (
F2
default key).Verify the item appears and functions correctly.
Step 6: Debugging & Adjustments
If the item does not show, check the server console for errors.
Verify spelling and commas in
items.lua
.Ensure
ox_inventory
is running properly.Look at the FiveM forums or Discord for troubleshooting help.
Last updated