Documentation

Installation & requirements

Prerequisites, supported dependencies, and start order for Jim G Trading Cards

📋 Prerequisites

This script uses inventory metadata for individual cards, grading, and CVG slabs. Binders and deck boxes store card slots in MySQL via oxmysql (table auto-creates on start).

Metadata support required

Your inventory must support item metadata. Without metadata, cards cannot track condition or grading and the script will not function.

Supported dependencies

  • • oxmysql (required)
  • • community_bridge (required)
  • • jim_g_trading_cards_props (required — start before main script)
  • • ox_lib (optional)
  • • Inventories: ox_inventory (fully supported), qb-inventory, tgiann, or any metadata-capable inventory

Database

Binder and deck box card data is stored in MySQL table jg_tc_container_cards. The script creates this table automatically on first start — no manual SQL needed. Optional one-time import: install/sql/jg_tc.sql. Existing binders and deck boxes migrate automatically the first time they are opened after updating.

📥 Installation steps

1) Start order

Start after your framework, inventory, target, and bridge resources. Incorrect order can prevent item registration.

2) Server configuration

Use this as a template and adapt resource names to match your folders.

ensure oxmysql
ensure ox_lib
ensure your_framework_name      # qb-core, es_extended
ensure your_inventory_name      # ox_inventory, qb-inventory, etc.
ensure your_target_name         # ox_target, qb-target, etc.
ensure community_bridge
ensure jim_g_trading_cards_props
ensure jim_g_trading_cards

Install – Images

Inventory item icons can be generated with the debug screenshot command (saved to ui/inv_images/) or copied into your inventory images folder manually. Card artwork for in-game UI is served from Jim G's Cloudflare CDN by default — no hosting required. Optional local overrides go in ui/i/.

Go to Images Setup →