Qbcore Tebex ((link)) -
RegisterNetEvent('tebex:purchase') AddEventHandler('tebex:purchase', function(package_id, player_id) if package_id == 101 then -- Gold Donator package local Player = QBCore.Functions.GetPlayer(player_id) Player.Functions.AddItem("gold_watch", 1) Player.Functions.AddMoney("bank", 50000) end end)
Config.Framework = "qb-core" -- Change from "esx" to "qb-core" Config.WebhookSecret = "your-tebex-secret-here" -- Found in Tebex Control Panel qbcore tebex
Always perform a test purchase using a "100% off" coupon code to ensure the items are being delivered to the correct CitizenID without requiring a server restart. Legal Compliance and Best Practices qbcore tebex