Referral System
Core overview and runtime behavior for gcm_referral.
Overview
gcm_referral is a referral and points-based reward system with:
- Referral code generation per player.
- Points and claim progression.
- Admin management for categories, items, claims, and player points.
- NUI panel for users and staff.
Core Flow
- Player loads and server initializes/loads referral profile.
- Player opens panel using command or keybind.
- User can submit code, claim rewards, and buy items with points.
- Admins can manage categories, claims, items, and player balances.
Integrations
- Framework auto-detection:
qb-core/es_extended - Inventory auto-detection:
ox_inventory,qs-inventory,origen_inventory,codem-inventory,qb-inventory,core_inventory - Database persistence through
oxmysql