OX Inventory Installation
Add Jim G Trading Cards items to ox_inventory
Item definitions are in jim_g_trading_cards\install\ox\ox_items.txt. Copy entries into your ox_inventory items file (typically ox_inventory/data/items.lua).
Steps
- 1. Open
install/ox/ox_items.txtfrom the resource - 2. Paste the item blocks into your ox_inventory items table
- 3. Add inventory icons — use the debug screenshot command (
/testjimgcardscreenshot) to save 200×200 icons toui/inv_images/, then copy into your ox_inventory web images folder - 4. Ensure metadata-capable items (cards, grading_case, binders) use
stack = falsewhere specified - 5. Restart ox_inventory, then jim_g_trading_cards
Important items (v1.2.0)
- •
empty_grading_case— required to submit cards for CVG grading - •
grading_case— graded slab (stack = false, holds metadata) - •
card_sleeves— condition protection (v1.1.5+) - •
cvg_binder,cvg_case_splitter— CVG storage tools (v1.1.4+) - •
cvg_label_*— 19 label skin items (v1.1.5+) - •
*_deck— 8 deck box items (one per brand) - • All
card_*entries — one per card in configcards.lua (847+)
Example entry
['card_grizzlethorn'] = {
label = 'Grizzlethorn',
weight = 1,
stack = false,
close = true,
description = 'A trading card',
},Card metadata (condition, rarity, grade) is applied by the script on first use. Binders and deck boxes store their card slots in MySQL (handled automatically).