Tebex
The Tebex module: store products for FiveM and RedM servers are paid for on Tebex, and the site delivers them through GameLink.
The module sells store products for FiveM and RedM servers through Tebex, the only payment service the Cfx platform license allows. The buyer pays the package price on the Tebex page, and the site delivers whatever the product holds through the FluteFiveMConnect resource.
| Dependencies | Games | Permissions | Studio blocks | Bot commands | Cron tasks |
|---|---|---|---|---|---|
| Flute 2.0, the Shop and Rewards modules; suggests FiveMKit | FiveM (GTA 5), RedM | admin.tebex | none | none | "Tebex package sync", hourly |
Install and first setup
Install the module from the marketplace together with Shop and Rewards. The admin menu gains a "Tebex" row with the "Overview", "Payments" and "Settings" tabs: AdminTebexOverview.

Set the store token
In Tebex, open Integrations → Webstore and copy the public token. On the "Settings" tab, paste it into "Webstore public token". While the field is empty, the pay button says "Payment for this server is not set up yet".
Connect the webhook
On the "Overview" tab, copy the "Tebex webhook address"; it looks like https://<YOUR_DOMAIN>/api/tebex/webhook. In Tebex, open Developers → Webhooks → Endpoints, add this address and copy the secret into "Webhook secret". Send a test request from Tebex: in "Setup", the "Webhook" item changes to "The Tebex test request arrived".
Link products to packages
Create one-off packages without commands in Tebex. From there you can either pull them into the store as products or pick a package on the card of an existing product.
Connect a server
At least one FiveM or RedM server must be connected through the FluteFiveMConnect resource, otherwise nothing can deliver the purchase. Installing it is covered on the FiveM and RedM page.
Tebex packages need no commands
The site delivers the product through GameLink. A Tebex command left in the package gives the player the purchase twice.
Products and packages
To create products from packages, open AdminShopProducts and click "Pull from Tebex". Every one-off package without a product becomes a product with its name, description, picture and price. The products start switched off: fill in "What the buyer gets" and switch them on.
For an existing product, open its card and click "Pick a package" in the "Payment via Tebex" block. An empty value unlinks the package, and the product stops being sold.

Not everything can be linked to a package. Tebex subscriptions and per-day prices do not fit, and the product must be delivered to at least one FiveM or RedM server. Balance, coins and game currency cannot be sold through Tebex: the platform rules forbid it.
The buyer never sees the product's price on the site, they pay the package price. So such a product may keep the price 0 the import gives it, as long as "Where it works" is set to "The buyer picks" and only FiveM or RedM servers are ticked. Any other free product needs a limit of purchases per account. "All servers at once" with a FiveM or RedM server does not work: such a product is sold neither through Tebex nor for the balance.
The module syncs prices and deleted packages with Tebex every hour. To sync now, click "Sync with Tebex" on the "Overview" tab. When a package is deleted in Tebex, nobody can buy the product until another package is picked.
How the buyer pays
A product for a FiveM or RedM server shows "Pay on Tebex · amount" instead of the usual button. The usual button spends the site balance, which is topped up through payment providers. The buyer first signs in with Cfx.re, then pays on the Tebex page. Once paid, the server gives the item to the linked account.
Only a buyer with a linked FiveM account can purchase: the server uses it to know who gets the product. Products for FiveM and for other servers in one cart have to be ordered separately.
Payments, refunds and disputes
Every Tebex notice shows on the "Payments" tab: AdminTebexPayments. A row with an order opens it along with what was given.

A refund or a lost dispute revokes the store order. A payment that does not match the site basket gets the "Needs review" result, for example when the payer's Cfx account is not linked to the buyer. A notice the site failed to process stays at "Failed, waiting for retry", and Tebex sends it again.
What else reaches these servers
The module makes sure nothing that breaks the Cfx rules reaches FiveM and RedM servers. Site balance and coins are never given there. Tebex purchases and orders placed by hand always go through.
Other rewards pass only when their source is ticked in "What else may be given on these servers". By default these are "By hand", "Voting", "Daily bonus", "Achievements" and "Subscription tasks". Rewards from other sources, such as cases, the battle pass or GiveCore privileges ("Granted by hand"), do not reach these servers until you add them to the list.
Settings
AdminTebexSettings| Field | What it changes | Default |
|---|---|---|
| "Webstore public token" | token from Tebex: Integrations → Webstore | empty |
| "Webhook secret" | secret from Tebex: Developers → Webhooks → Endpoints; without it payment notices are refused | empty |
| "Accept notices only from Tebex addresses" | notices are accepted only from Tebex's two addresses | on |
| "What else may be given on these servers" | reward sources besides Tebex that reach FiveM and RedM servers | "By hand", "Voting", "Daily bonus", "Achievements", "Subscription tasks" |
The admin.tebex permission opens every screen of the module, the "Payment via Tebex" block in a product card and the "Pull from Tebex" button.
Troubleshooting
For any other message, use the error lookup.
Tebex did not answer. Check the token and try again.
The store token is wrong, or Tebex cannot be reached from the site's server. Copy the token again from Integrations → Webstore and click "Sync with Tebex".
No notices from Tebex yet
The webhook does not reach the site. Check the address in Tebex and the secret in the settings. If the site sits behind a proxy that hides the sender address, turn off "Accept notices only from Tebex addresses": otherwise the site answers notices with 404.
| Message | What to do |
|---|---|
| "Link your FiveM account to buy" | the buyer links their Rockstar license: Profile → Settings → Linked accounts |
| "This product cannot be bought yet: it is not linked to a Tebex package." | pick a package on the product card |
| "Products sold by the day cannot be bought through Tebex." | give the product a fixed price |
| "The product is not delivered to any FiveM or RedM server." | add a reward that is delivered to a FiveM or RedM server |
| "Subscriptions are not sold through Tebex here; pick a one-off package." | create a one-off package in Tebex |
| "Payment accepted. The product arrives once Tebex confirms it, usually within a minute." | wait for the Tebex notice; the result shows on the "Payments" tab |