QB Inventory Installation
Add Jim G Trading Cards items to qb-inventory
Item definitions are in jim_g_trading_cards\install\qb\qb_items.txt. Copy entries into your qb-core shared items file (typically qb-core/shared/items.lua).
Steps
- 1. Open
install/qb/qb_items.txtfrom the resource - 2. Paste the item blocks into your QB shared items table
- 3. Add inventory icons — use the debug screenshot command (
/testjimgcardscreenshot) to save 200×200 icons toui/inv_images/, then copy into your qb-inventory html images folder - 4. Ensure unique-use items (cards, grading_case, binders) are not stackable where specified
- 5. Restart qb-core / qb-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 (unique, 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'] = {
['name'] = 'card_grizzlethorn',
['label'] = 'Grizzlethorn',
['weight'] = 1,
['type'] = 'item',
['image'] = 'card_grizzlethorn.webp',
['unique'] = true,
['useable'] = true,
['shouldClose'] = 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).