Trading Cards Updates
Latest features, improvements, and version releases for the Jim G Trading Cards system.
Latest Update
Version 1.2.0 β MySQL Storage for Binders & Deck Boxes
πΎ MySQL Storage
- β’ Binder and deck box card slots stored in MySQL table
jg_tc_container_cards - β’ Slim item metadata β binders keep
binderId+ counts; deck boxes keepdeckId+ counts - β’ SQL table auto-creates on resource start (optional manual import:
install/sql/jg_tc.sql) - β’ Legacy binders/decks with cards in metadata migrate automatically on first open
π¦ New Dependency
- β’ oxmysql added as a required dependency β ensure it starts before jim_g_trading_cards
β οΈ Required
- β’ Update
fxmanifest.lua,server/main.lua,server/storage.lua,client/main.lua - β’ Ensure oxmysql is running and connected to your database
Recent Updates
Version 1.1.8
Bulk Sell, Inventory Fixes & UI Polish
- β’ Sell All Cards / Sell All CVG buttons in Card Buyer and TC Machine
- β’ tgiann inventory slot fixes; pack reward lock improvements
- β’ Trading Card Shop opens instantly; CVG slab 3D tilt view
- β’ Update ui folder, client/main.lua, server/main.lua, and jim_g_trading_cards_props
Version 1.1.7
Auto Rarity & Auto Effects
- β’ Auto rarity β set
rarity = 'Auto'in configcards.lua; odds in Config.AutoRarity.weights - β’ Auto effect β set
effectType = 'Auto'for random holo effects from effectRoll.pool - β’ maxHighPerPack caps Rare+ Auto rolls per 6-card pack
- β’ Sleeve fullProtect now blocks wear on direct card use (not only Show Player)
- β’ Update: fxmanifest.lua, server/main.lua, client/main.lua, config.lua
Version 1.1.6
Shop Basket, Daily Stock & Economy Rebalance
- β’ Shop & TC Machine basket drawer with checkout inside panel
- β’ Optional per-item
dailyStock+ globaldailyStockRestockHours - β’ Sell/CVG payouts now stable (deterministic from condition); hourly price jitter removed by default
- β’ Rebalanced Config.CVG.gradeMultipliers + Config.SellShop.sellPricing
- β’ Shop, sell, grading, collector, TC machine each independently toggled via enabled flags
- β’ Config.TargetPedDistance, TargetTcMachineDistance, DrawTextPedDistance
- β’ Update: ui folder, client/main.lua, server/main.lua, config.lua, configshop.lua
Version 1.1.5
Card Sleeves & CVG Label Skins
- β’ Card Sleeves (card_sleeves) β protect cards from condition wear; Config.Sleeves
- β’ 19 CVG Label Skins β apply custom slab label art; shop category CVG labels
- β’ Shop items support custom
labelfield for clean display names - β’ Card viewer hover-follow movement; grading shop independent of TC machine toggle
- β’ Update: ui, client/main.lua, server/main.lua, config.lua, configshop.lua
Version 1.1.4
Collector, CVG Binder & Visual Overhaul
- β’ Collector NPC with rotating requests (configcollector.lua)
- β’ CVG Sell Shop tab, safer slab pricing, serial KVP registry
- β’ CVG Binder (cvg_binder), CVG Case Splitter, Config.BrandURL / CVGBrandText
- β’ TC Machine graded slab selling with correct slot handling
Version 1.1.3
Major Update - New Brands & Visual Overhaul
π New Card Brands
Four new collectible brands added: Ammunation Elite, Full Throttle, LS Legends, LS Landmark
π¨ Card & UI Visual Overhaul
- β’ 3D depth to card elements with embossed look
- β’ Double Stroke card frame borders with metallic accents
- β’ Gemstone style rarity badges with highlights and shadows
- β’ Holo-Glass stats panel design with frosted glass effects
β‘ Performance & Binder
- β’ ImageCache system to prevent repeated file checks
- β’ Reduced lag for TC Machine and Sell Shop
- β’ Thicker card borders, physical page numbers, new binder themes
- β’ Improved checklist with slim scrollbar
Version 1.1.2 (Small Update)
Stats Removal Feature
π§ What Changed
- β’ Only cards.js has been updated
- β’ Now allows removing stats and stats UI from cards by commenting out in config
π How To Remove Card Stats
- β’ Open configcards.lua
- β’ Find any stats line and delete or comment out using: --
- β’ Stats and UI will be completely removed from card display
Version 1.1.2
Major Configuration & Booster Improvements
βοΈ Configuration File Restructure
- β’ Main config.lua split into multiple files in configs_settings folder
- β’ Move existing configcards.lua and configshop.lua into new folder
- β’ Replace all other files in configs_settings with new versions
π Booster Pack Enhancements
- β’ Config.BoosterBoxes and Config.BoosterPacks moved to configs_settings/configbooster.lua
- β’ Each booster pack supports individual rarityRules
π§© Inventory & Item Changes
- β’ Added inventory check for 6 slots to open booster packs
- β’ Added 2% condition removal feature for items
- β’ Added "show player" button to preview cards
Version 1.1.1
Shop Blip Control & Performance
πΊοΈ New Feature
- β’ Added blipenabled option to Config.GradingShop, Config.Shop, Config.SellShop
- β’ Located inside configshop.lua
- β’ Allows individual control over whether each shop ped displays a map blip
π¨ HOTFIX RELEASED
- β’ Small hotfix to resolve UI issue
- β’ Update cards.css only
- β’ Navigate to: jim_g_trading_cards\ui\c
Version 1.1.0
UI Fixes & Webhook System
π Bug Fixes
- β’ Fixed unclickable Sell buttons on the TC Machine UI
- β’ Resolved CSS overlay and z-index conflicts causing UI interaction issues
π§ Webhook & Logging Improvements
- β’ Reworked webhook configuration for cleaner management
- β’ Renamed webhook table from Endpoints to DiscordHook across entire script
- β’ Added full Fivemanage logging support alongside Discord webhooks
β οΈ Files to Update
- β’ Update all files
- β’ DO NOT update or replace: config.lua, configcards.lua, configshop.lua
Version 1.0.9
Binder System Enhancements
β οΈ IMPORTANT UPDATE NOTICE
- β’ UPDATE ALL FILES
- β’ DO NOT update or replace: configcards.lua, configshop.lua
- β’ All other files must be updated
π Binder System Enhancements
- β’ π Brand Enforcement: Config.BindersEnforceBrand (default: true)
- β’ π« Duplicate Protection: Config.BindersDuplicatesCheck (default: true)
- β’ π Binder Checklist: Config.BindersChecklistEnabled (default: true)
- β’ Live checklist on page 20 that refreshes automatically
π§© Binder Configuration Update
- β’ Updated Config.Binders table
- β’ Each binder now includes required brand parameter
- β’ Enables brand-specific card filtering and enforcement
Version 1.0.8
Critical Hotfix
β οΈ IMPORTANT FAST PATCH UPDATE
- β’ Only server.lua and client.lua have been updated
- β’ No other files were changed
- β’ Update these files as soon as possible
π§ ESX + ox_inventory Users (IMPORTANT)
- β’ Must remove all existing trading cards from player inventories
- β’ Why? Metadata was not applied correctly to older cards
- β’ Cards without metadata can cause issues with Trading Card Book
ποΈ Required Action
- β’ Delete all cards without metadata
- β’ Allow players to obtain new cards after update
- β’ Check inventory: if no % condition visible, card has no metadata
Version 1.0.7
Configuration Overhaul & Economy Rebalance
π§ Configuration Overhaul
- β’ Split configuration into separate files for easier management
- β’ config.lua β Core settings
- β’ configcards.lua β Card definitions
- β’ configshop.lua β Shops & pricing
π° Economy Rebalance
- β’ Rebalanced Sell Shop base prices
- β’ Large price reductions for Uncommon, Rare, Epic, Legendary
- β’ Changes apply across all card brands
π Booster Pack Improvements
- β’ Added pity-off rarity targeting system
- β’ Epic: ~1/2,000, Legendary: ~1/3,000
- β’ Holo: ~1/4,000, Original Art: ~1/5,000
π Rarity System Updates
- β’ Original Art handled as independent rarity bucket
- β’ Better server-side control and rule customization
- β’ Direct weight-based selection for Epic, Legendary, Holo, Original Art
- β’ packGate disabled for these rarities
Version 1.0.6
CVG Rebrand & UI Overhaul
π·οΈ The CVG Rebrand
- β’ Official CVG (Card Value Grading) branding replacing PSA
- β’ Updated across all UI elements, items, and locale files
- β’ Updated item descriptions for grading_case and empty_grading_case
- β’ Rich metallic Gold (#D4AF37) score circle for premium feel
π UI & UX Improvements
- β’ Redesigned Interfaces: Modernized Shop and Buy UIs
- β’ Enhanced Grading Shop: Visually upgraded for better user flow
- β’ TC Machine Upgrade: Intuitive new interface
β‘ UI Architecture Overhaul
- β’ Dramatic Optimization: UI code reduced to 1 line per file
- β’ Enhanced Performance: Faster and smoother user experience
Version 1.0.5
Custom TC Machine & Web UI
π° Custom TC Machine Prop
- β’ Shop Overhaul: New Machine Prop replaces buy shop and sell shop
- β’ PED Options: Option to disable grading card shop PED
- β’ Item-Based Grading: Use grading system directly through items
π οΈ Script Improvements & New Item
- β’ Multiple script-wide performance improvements
- β’ Added empty_grading_case item
- β’ Required for receiving graded card cases from shop or item usage
π New Trading Card Web UI
- β’ Customization: Use default brand or create unique card sets
- β’ Save Progress: Work saved for later completion
- β’ Easy Export: Download Lua file or copy to config
Version 1.0.3
Stability & Logic Fixes
π Stability & Logic Fixes
- β’ Binder Fix: Cards now save correctly within the binder
- β’ Bridge Logic: Corrected bridge function for proper framework integration
- β’ Sync Improvements: Effect movement synchronization perfected
π¨ Visual & UI Enhancements
- β’ Smooth Transitions: Improved layout animation transitions
- β’ Rendering Quality: Enhanced visual quality of card displays
- β’ Cleaner and more professional look
Version 1.0.2
Image Format Upgrade
π Image Format Upgrade
- β’ All card, booster pack, booster box, and accessory images converted from PNG to WEBP
- β’ All image URLs across configs and card definitions now use .webp format
- β’ Updated client-side image references for seamless rendering
π Assets Optimization
- β’ Local image size reduced from 306 MB to 25 MB (91% reduction)
- β’ No loss in image quality
- β’ Assets folder and configuration fully updated
π οΈ Full Script Update
- β’ Entire script overhauled including all configurations
- β’ Updated image references and asset paths
- β’ Replace full script and assets folder when updating