Advanced Search
Search Results
113 total results found
Integration API Overview
Nord Inventory exposes a Nord-native API with familiar slot-inventory contracts so other FiveM resources need minimal inventory-specific code. Server vs client Use server exports for anything that changes inventory state or requires trusted access checks. Use ...
Server Exports · Catalog & Opening
Inventory/catalog exports Export Purpose GetInventoryType() Returns nord_inventory GetItemDefinition(name) Get one definition GetItems() Public item registry list GetItemList() Alias-style public registry list Items(itemName?) Registry keyed by name or single...
Server Exports · Add, Remove & Carry
AddItem local ok, result = exports.nord_inventory:AddItem( source, 'water', 2, { quality = 100 }, nil ) Signature: AddItem(target, itemName, amount, metadata?, slot?, callback?) On success, the returned result is public slot data. Common fa...
Server Exports · Read & Search
Inventory data local inv = exports.nord_inventory:GetInventory(source) Public inventory data includes: { id = 'player:...', key = 'player:...', label = 'Inventory', type = 'player', slots = 40, weight = 12500, maxWeight = 80000, ...
Server Exports · Metadata & Inventory Management
Metadata exports.nord_inventory:SetMetadata(target, slot, metadata) exports.nord_inventory:GetMetadata(target, slot) exports.nord_inventory:UpdateMetadata(target, slot, patch) SetMetadata replaces the slot metadata with the supplied object after normalization/...
Client Read-Only Exports
Nord maintains a lightweight local player-inventory snapshot so common read-only exports work even when the NUI is closed. Available exports exports.nord_inventory:Search(searchType, item, metadata?) exports.nord_inventory:GetPlayerItems() exports.nord_invento...
Registering Stashes & Custom Inventories
RegisterInventory exports.nord_inventory:RegisterInventory('mechanic_storage', { label = 'Mechanic Storage', type = 'stash', slots = 80, maxWeight = 200000, jobs = { mechanic = 0 }, coords = vector3(-347.1, -133.3, 39.0) }) Supported re...
Usable Items & Hooks
RegisterUsableItem Use a trusted server resource to attach behavior to an item: exports.nord_inventory:RegisterUsableItem('repairkit', function(source, item, definition) -- validate your own resource state here -- return false to block the use retu...
Runtime Item Registration
Trusted server resources can register an item definition without editing shared/items.lua. local ok, def = exports.nord_inventory:RegisterItem('service_token', { label = 'Service Token', description = 'Issued by another resource', weight = 5, ...
OX / QB Migration Examples
Nord intentionally exposes familiar helpers so resource integration can be small. Item count OX-style concept: local count = exports.ox_inventory:Search(source, 'count', 'water') Nord: local count = exports.nord_inventory:Search(source, 'count', 'water') Add i...
Complete Export Index · v1.6.11
Server · Core and registry GetInventoryType, GetItemDefinition, GetItems, GetItemList, Items, ItemList, RegisterItem, RegisterInventory, RegisterStash. Server · Opening OpenInventory, openInventory, forceOpenInventory. Server · Mutation and currencie...
Item Definition Reference
The normalized definition supports these core fields: Field Purpose label Player-facing item name description Item description weight Weight per unit volume Optional volume value stack Allow stacking when metadata matches close Close inventory on use category ...
Configuration Reference
This page lists the main configurable groups in v1.6.11. Config Default / purpose Config.Framework auto Config.Locale en Config.Debug false Config.OpenCommand inventory Config.OpenKey TAB Config.AdminCommand norditems Config.AdminAce admin Config.AdminCommands...
Database & Persistence
Item definition precedence Nord uses one deterministic rule: If a row exists in nord_inventory_custom_items for an item name, that DB row owns the definition. Only when no DB row exists does Nord fall back to shared/items.lua / shared/weapons.lua. A disable...
Security & Server Authority
Nord Inventory is intentionally designed so the UI/client does not become the authority for inventory state. Server-controlled operations The server validates or controls: item movement and transfer; weight/slot capacity; item use completion; authoritative met...
Troubleshooting
Admin Studio says access denied Confirm the ACE exists and the group is assigned to the player: add_ace group.admin nord_inventory.admin allow Also confirm: Config.AdminAce = 'nord_inventory.admin' Inventory does not start Confirm oxmysql is installed. Start ...
Update Guide · v1.6.8 → v1.6.11
Use this page when updating from the previous prop-fallback build. 1. Replace resource files Back up your existing resource and database, then update the code while preserving intentional server-specific configuration changes. 2. Review the new server-only con...
Production Checklist
Before releasing Nord Inventory on a live server, verify the following. Server oxmysql starts before Nord Inventory. Database connection is stable. nord_inventory resource folder name has not been changed. Framework mode is correct or auto-detection repo...