Returns a table of all registered items. The format is as defined in data/items.lua (opens in a new tab).
exports.ox_inventory:Items()
The following snippet can be used in crafting resources such as okokCrafting or core_crafting, rather than retrieving information from the server.
local itemNames = {}
for item, data in pairs(exports.ox_inventory:Items()) do
itemNames[item] = data.label
end