ScriptsAboutBlogToolsKnowledge BaseReviewsFAQBasketDocsSupport
QBCoreshared

QBCore.Shared.Items

QBCore shared documentation with a FiveM Lua example.

Summary

The table of all defined items in QBCore. Read it to look up an item's label, weight, and metadata, e.g. when showing item info.

Returns

table — keyed by item name.

Example

local item = QBCore.Shared.Items['water']
print(item.label, item.weight)

Common pitfalls

  • Item must be defined here or lookups return nil.
  • On ox_inventory servers, items live in ox_inventory's items.lua instead.

Related functions

Related guides

Managing jobs on your server?

Viper Multi-Job lets players hold several jobs and switch between them with grade, salary and duty handled — QBCore, QBox and ESX, validated server-side.

See Viper Multi-Job →