How to Set Up Tebex for FiveM: Store Integration & Monetization Rules [2026 Guide]
fivem

How to Set Up Tebex for FiveM: Store Integration & Monetization Rules [2026 Guide]

fivevault_fivevault_
10 min readviews
fivemtebexmonetizationstoreserver-cfgqbcoreesxtutorialresources

Why Use Tebex for FiveM Server Monetization?

Running a high-population FiveM server costs real money. Between dedicated VPS/bare-metal hosting, DDoS protection, Cfx.re Element Club slots, and premium scripts or custom MLOs, monthly server expenses add up fast.

Tebex is the only official, authorized monetization partner approved by Cfx.re (FiveM) and Rockstar Games.

Using any unauthorized third-party payment gateway—such as direct PayPal links, CashApp, Stripe checkouts, or Discord donation bots—to sell in-game perks violates the FiveM Platform License Agreement (PLA) and can result in your server being permanently blacklisted from the FiveM server list.

With official Tebex integration, you get:

  • 100% Cfx.re & Rockstar compliance: Built-in compliance checks and automated revenue reporting through the official partner platform.
  • Automated instant delivery: FXServer natively embeds the Tebex plugin, delivering vehicles, VIP queue priority, items, and Discord roles within 60 seconds of checkout.
  • Chargeback protection: Built-in fraud screening protects your community from malicious chargeback scammers.
  • Global payment methods: Accepts PayPal, Apple Pay, Google Pay, Paysafecard, credit cards, and 80+ local payment options automatically.

Cfx.re & Rockstar Monetization Rules (Stay 100% Ban-Free!)

Before creating a single package on Tebex, you must understand what you are allowed—and strictly forbidden—to sell on a FiveM server in 2026.

┌─────────────────────────────────────────────────────────────┐
│             CFX.RE MONETIZATION COMPLIANCE RULES            │
├──────────────────────────────┬──────────────────────────────┤
│ ✅ ALLOWED ON TEBEX          │ ❌ STRICTLY FORBIDDEN        │
├──────────────────────────────┼──────────────────────────────┤
│ • Priority Queue access      │ • Real-world branded cars    │
│ • Lore-friendly custom cars  │   (Ferrari, BMW, Ford, etc.) │
│ • Custom clothing / EUP packs│ • Real-world copyrighted     │
│ • Cosmetic pets & housings   │   clothing (Nike, Gucci)     │
│ • Custom license plates      │ • Loot boxes / Gambling      │
│ • Server-wide XP/Job boosts  │   crates with random odds    │
│ • Support/VIP Discord roles  │ • Selling GTA$/in-game cash  │
│                              │   directly (Check local PLA) │
└──────────────────────────────┴──────────────────────────────┘
[!CAUTION]
IP & Trademark Enforcement: Rockstar Games and Cfx.re actively suspend servers selling real-world trademarked vehicles (e.g., selling a "Lamborghini Huracan" or "BMW M4" for \$25) or copyrighted designer clothing. Always use debadged, lore-friendly vehicles on your Tebex store!
Did you know? FiveVault provides clean, lore-friendly vehicles, scripts, and MLOs built specifically to keep monetized servers compliant with Cfx.re guidelines. Browse verified resources on FiveVault →

Prerequisites Before Setting Up Tebex

RequirementDetails
FiveM ServerFXServer running Artifact build 6016 or higher (Tebex plugin is built directly into FXServer!)
Tebex AccountFree creator account registered at tebex.io
Server AccessAccess to edit server.cfg or txAdmin CFG Editor
Inventory / FrameworkQBCore, Qbox, ESX Legacy, or ox_inventory (for automated delivery commands)

Step 1: Create Your FiveM Store on Tebex

  1. Visit tebex.io and click Start For Free.
  2. Choose FiveM as your game platform during onboarding.
  3. Link your Cfx.re account when prompted (required for FiveM Creator verification).
  4. Give your store a name (e.g., FiveVault RP Store) and select your currency (USD, EUR, GBP).
  5. Once inside the Tebex Control Panel, navigate to Game Servers in the left sidebar.
  6. Click Connect Your First Game Server and select FiveM (Built-In).
  7. Tebex will generate a unique Secret Key (sv_tebexSecret). Copy this key.

Step 2: Connect Tebex to Your FiveM server.cfg

Unlike Minecraft or Rust, you do not need to download any external Tebex resource. FiveM has the official Tebex connector compiled directly inside FXServer!

  1. Open your server's server.cfg.
  2. Paste your Tebex secret key at the very top of server.cfg (above your ensure lines):
cfg
# =================================================================
#                       TEBEX STORE INTEGRATION
# =================================================================
sv_tebexSecret "YOUR_SECRET_TEBEX_KEY_HERE"
  1. Save server.cfg and restart your FiveM server.
  2. Watch your txAdmin Live Console during startup. You should see:

   [tebex] Authenticating with Tebex...
   [tebex] Store successfully connected: FiveVault RP Store!
   

[!IMPORTANT]
Never share your sv_tebexSecret key with anyone or upload your server.cfg to GitHub. Anyone with your secret key can intercept store commands!

Step 3: Create Automated Delivery Commands (Lua Integration)

When a player buys a package on Tebex, Tebex sends an RCON-style console command to your FXServer (for example: tebex_givecar {sid} {id} sultanrs).

Because FiveM frameworks (QBCore, Qbox, ESX) do not ship with built-in Tebex console commands out of the box, you should create a lightweight server-only resource to handle package deliveries cleanly and securely.

Folder Structure:

resources/
└── [tools]/
    └── fv_tebex/
        ├── fxmanifest.lua
        └── server.lua

1. fxmanifest.lua

lua
fx_version 'cerulean'
game 'gta5'

author 'FiveVault Development Team'
description 'Secure Console-Only Tebex Package Delivery Handler'
version '1.0.0'

server_scripts {
    '@oxmysql/lib/MySQL.lua',
    'server.lua'
}

2. server.lua (Console-Locked Delivery Commands)

lua
-- Security Check: ONLY allow FXServer console / Tebex to run these commands!
local function IsConsole(source)
    return source == 0
end

-- Example 1: Deliver a Custom Item / Reward Box (ox_inventory compatible)
RegisterCommand('tebex_giveitem', function(source, args)
    if not IsConsole(source) then return end -- Blocks players from running in F8!

    local targetId = tonumber(args[1]) -- Player's Server ID or Online Check
    local itemName = tostring(args[2])
    local amount = tonumber(args[3]) or 1

    if targetId and itemName and GetPlayerName(targetId) then
        exports.ox_inventory:AddItem(targetId, itemName, amount)
        TriggerClientEvent('ox_lib:notify', targetId, {
            type = 'success',
            description = ('Thank you for supporting the server! Received %sx %s.'):format(amount, itemName)
        })
        print(('^2[Tebex] Delivered %sx %s to Player ID %s^7'):format(amount, itemName, targetId))
    else
        print('^1[Tebex] Delivery delayed: Target player is offline.^7')
    end
end, true)

-- Example 2: Deliver a Custom Plate or Garage Vehicle directly to SQL (QBCore / Qbox)
RegisterCommand('tebex_givevehicle', function(source, args)
    if not IsConsole(source) then return end

    local fivemId = tostring(args[1]) -- Tebex {id} passes the player's FiveM Cfx ID
    local model = tostring(args[2])

    if not fivemId or not model then return end

    -- Generate a unique random license plate
    local plate = 'VIP' .. math.random(10000, 99999)

    -- Find player's citizenid using their license/fivem identifier (Adjust column as needed)
    MySQL.query('SELECT citizenid, license FROM players WHERE license LIKE ? LIMIT 1', { '%' .. fivemId .. '%' }, function(result)
        if result and result[1] then
            local citizenid = result[1].citizenid
            local license = result[1].license

            MySQL.insert('INSERT INTO player_vehicles (license, citizenid, vehicle, hash, mods, plate, garage, state) VALUES (?, ?, ?, ?, ?, ?, ?, ?)', {
                license,
                citizenid,
                model,
                GetHashKey(model),
                '{}',
                plate,
                'pillboxgarage',
                1
            })
            print(('^2[Tebex] Added vehicle %s (Plate: %s) to CitizenID %s^7'):format(model, plate, citizenid))
        end
    end)
end, true)

Add ensure fv_tebex to your server.cfg and restart your server!


Step 4: Configure Your Package in the Tebex Panel

  1. In your Tebex Dashboard, go to Packages > Add New.
  2. Set the package Name (e.g., Diamond Priority Queue), Price, and Description.
  3. Under Deliverables, select Game Server Commands > Add Command.
  4. Choose your connected FiveM server.
  5. Configure when the command executes:

- Require player to be online: Check Yes for in-game item delivery (tebex_giveitem {sid} vip_token 1), or No for offline database inserts / Discord role syncing.

- Command syntax:

     tebex_giveitem {sid} vip_pack 1
     

  1. Add Discord Role Action (Optional):

- Click Add Action > Discord.

- Link your Discord server and select your Diamond VIP role. Tebex will automatically assign the role on purchase and remove it if a monthly subscription expires!

Pro tip: Always enable Tebex's built-in Discord integration for VIP Priority Queue roles! When paired with Badger_Discord_API and connectqueue, players get their queue priority automatically within seconds of checkout—zero manual staff work required.

Step 5: Test Your Tebex Integration Without Spending Real Money

Before launching your store to players:

  1. In the Tebex Dashboard, go to Payments > Payments > Create Manual Payment.
  2. Enter your Cfx.re / FiveM username (or test user ID).
  3. Select your test package and set price to 0.00 (Free manual trigger).
  4. Click Create.
  5. Connect to your server in-game and watch your txAdmin console—within 60 seconds, Tebex will fire your command and deliver the package!

Troubleshooting Common Tebex Issues

❌ [tebex] Failed to authenticate secret key in console

Cause: Typo in sv_tebexSecret, or the secret key was regenerated in the Tebex dashboard. Solution: Copy the exact secret key from Tebex > Game Servers, verify it is wrapped in quotes in server.cfg, and ensure sv_tebexSecret is placed at the top of server.cfg.

❌ Purchase succeeded on Tebex, but nothing happened in-game

Cause: The player wasn't online when an online-only command fired, or the package command used {username} instead of FiveM's {sid} / {id} variable. Solution: In FiveM Tebex commands, use {sid} for the player's active Server ID (e.g., 1, 14) and {id} for their permanent Cfx.re ID. Check Tebex > Payments > [Order] > Command Queue to see if the command is still pending.

❌ Server console says Access denied for command tebex_giveitem

Cause: You accidentally registered the command with an extra space or ran it from an unauthorized source. Solution: Ensure if source ~= 0 then return end is used in your Lua script and test triggering the command manually inside txAdmin's Live Console first (tebex_giveitem 1 vip_pack 1).

Recommended Server Tools & Verified Resources

ResourcePurposeBenefit
Tebex Official PlatformStorefront & BillingOnly Cfx.re-authorized payment gateway with built-in FXServer support
ox_inventoryItem DeliveryClean server exports (AddItem) for instant package fulfillment
FiveVault Lore-Friendly CarsCompliant VehiclesDebadged custom vehicles that pass Cfx.re trademark & PLA checks
Badger_Discord_API + ConnectQueueVIP Priority SyncAutomatically awards queue priority when Tebex grants a Discord VIP role
txAdminServer ConsoleLive verification of Tebex handshakes and delivered console commands
Browse clean, compliant resources on FiveVault →

Final Best Practices for FiveM Monetization

  • ✅ Only sell via Tebex—never accept PayPal, Venmo, or Stripe directly for in-game perks.
  • ✅ Remove real-world car logos and designer brand names before listing custom assets in your store.
  • ✅ Lock all Tebex commands with if source ~= 0 then return end so players can never abuse them in F8.
  • ✅ Sync VIP Queue roles via Tebex's Discord integration to automate monthly renewals and expirations.
  • ✅ Keep clear Terms of Service & Refund Policies visible on your Tebex store header.

Frequently Asked Questions

Q: Can I sell real-world cars like BMW or Lamborghini on Tebex if I call them something else?

A: No. Even if you rename a Ferrari to "Custom Super Car" in your Tebex listing, if the 3D model still contains trademarked logos, badges, or distinctive protected designs, Cfx.re can issue a takedown or suspend your server key. Always use debadged, lore-friendly models.

Q: How fast does Tebex deliver items in FiveM?

A: FXServer polls the Tebex command queue roughly every 60 seconds. Once a player is online (for online-required packages), delivery typically happens within 15 to 60 seconds.

Q: Does Tebex take a fee on FiveM transactions?

A: Tebex's standard Starter plan is free to set up with no monthly fee and charges a small percentage fee per transaction (plus standard payment gateway fees like PayPal/Stripe). Higher-volume servers can upgrade to reduce platform fees.

Q: Can I test Tebex on my Localhost development server?

A: Yes! As long as your localhost server has an active internet connection and sv_tebexSecret in its server.cfg, it will connect to Tebex and execute test manual payments just like a live VPS.


Need help securing your FiveM server or auditing your resources? Join our Discord — 17,000+ members and counting.