Agora

Selling on your server with Tebex

Tebex takes the payment and delivers, Agora displays: create your Tebex store and packages, connect the public key in Agora, pick the delivery, test a purchase without paying.

Updated on Oct 3, 2026, 6:39 p.m.

On this page
  1. Create your Tebex store
  2. Create your packages
  3. Connect Tebex to your FiveM server (delivery)
  4. Show your store in Agora
  5. Make a test purchase
  6. Who does what

In short. To sell something on your server for real money, Tebex takes the payment, handles taxes, refunds and disputes, and delivers. Agora only displays: it shows your store to your players and sends them to Tebex to pay. Agora never touches the money and is never a party to a sale.

Important

Cfx.re's rules only allow selling in-game advantages for real money through Tebex. Any other way of charging for an in-game advantage puts you, and your FiveM key, at risk.

The official Tebex documentation is the reference for everything that happens at Tebex (screens, setting names, fees). The links below point to the right page.

1. Create your Tebex store #

  1. Create your account on creator.tebex.io, then your webstore for the game FiveM.
  2. Fill in the name, currency and payout details Tebex asks for: they decide where the money goes.

📖 Cfx.re guide: Setting Up a Tebex Store.

2. Create your packages #

A package is what the player buys: a name, a price, an image, a category, and what happens on purchase (the commands your server runs, for example giving a vehicle or a rank).

  1. Create a category, then a first package.
  2. In its commands, use Tebex's variables to target the right player; never hard-code an identifier.
  3. Choose whether delivery requires the player to be online: it is often safer for an in-game item.

3. Connect Tebex to your FiveM server (delivery) #

Tebex delivers, through its FiveM integration (built into FXServer, nothing to download).

  1. In Tebex: Integrations → Game Servers → Connect Game Server → Plugin, name your server, then copy the secret key shown.
  2. Add it at the end of your server.cfg: sv_tebexSecret your-secret-key. In Agora, you can do it from Server → .cfg editor.
  3. Restart the server (Server → Console), then check in the console that Tebex connects.

📖 FiveM — Tebex documentation.

Warning

The secret key gives access to your store: put it only in server.cfg, never in a message or a support ticket.

4. Show your store in Agora #

From Agora 0.2, your signed-in players can see your packages and buy from the Shop page, at your site's /concession/boutique address (no menu or home page block leads there yet: give them the address); payment always happens at Tebex. See The dealership's Tebex catalogue.

  1. In Tebex, open Developers → API Keys and copy the public key (shaped like xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx). It can only read the storefront: no access to money or orders.
  2. In Agora, open Moderation → Dealership, paste it into Store public key, then Connect. Agora checks the key with Tebex.
  3. Under Purchase delivery, keep Tebex's official FiveM plugin delivers (recommended).

📖 Public key (Headless API).

Note

Option: Agora delivers (signed webhook → game database). Instead of Tebex's FiveM plugin, you can pick Agora delivers in Delivery of purchases: paste into Tebex (Store → Webhooks) the webhook address the screen shows once the store is connected, then give the package → vehicle mapping ({"12": "adder"}: package no. 12 gives the spawn vehicle adder). A purchase of several units is not delivered automatically (deliver them by hand or refund the difference at Tebex). Regenerate the webhook secret changes the secret without changing the address. Purchases delivered by Agora appear in Purchases received (webhook), with Redeliver and Mark as refunded: see Redeliver, refund, take a vehicle back. Agora still never touches the money: the refund is made at Tebex.

5. Make a test purchase #

Before opening the store to everyone, make a purchase without real payment:

  1. In Tebex: Settings → Checkout → Test Mode. A Test Payments method, which always succeeds, appears at checkout.
  2. Buy a package with your own account, connected to the server, choosing Test Payments.
  3. Check that the delivery arrives only once and in time.
  4. Before going public: Settings → Checkout → Remove Test Payments.

📖 Testing a purchase.

Important

Test purchases create real records at Tebex (and real events): don't forget to remove test mode.

Who does what #

TopicTebexAgoraYou
Payment, taxes, refunds, disputes✅—You set up your store at Tebex
Show the store to your playersIts own storefront✅ public key (Agora 0.2+)—
In-game delivery✅ FiveM integration"Agora delivers" option (see the step 4 note)You set sv_tebexSecret (delivery by Tebex)
Follow Cfx.re's rules——✅

Was this article helpful?