Tebex is the payment and delivery platform most FiveM servers use to sell donor perks, vehicles, priority queue, and other in-game rewards. It was previously known as BuyCraft, and you will still see that name in older guides and some legacy URLs. The platform gives you a hosted webstore, a checkout that handles tax and fraud screening, and a native server integration that turns a completed purchase into an in-game action. This guide covers the full setup so a purchase on your store reliably delivers the reward in your server.
Before you start, understand the split of responsibilities. Tebex hosts the store, processes the money, and acts as the merchant of record. Your FiveM server uses the built in Tebex integration to receive completed purchases and execute the commands you defined. FiveM has native Tebex support, so there is no resource to download for the standard setup. You connect the two with a secret key. Get that link right and the rest is mostly content work.
Step 1: Create a Tebex account and add a webstore
Sign up at the Tebex creator dashboard with an email and password. After verifying your email you will create your first webstore. Tebex asks which game or platform the store is for, and you select FiveM. This matters because it sets the correct integration type and unlocks the FiveM specific options later.
During webstore creation you pick a store name, a URL slug, and a base currency. The base currency is the currency Tebex uses internally for your pricing and reporting, so choose the one that matches your main payout account. You can still show localized prices to buyers in other regions, which is covered further down.
Once the store exists you land on the store dashboard. From here you manage packages, categories, payments, and the appearance of the public storefront. The public store has its own address, usually yourname.tebex.io, which you share with your community.
Step 2: Connect a payment gateway
No store can take money until at least one payment gateway is connected. In the dashboard open the payments or gateways section and link an account. Common options for FiveM creators include PayPal and Stripe, with additional methods such as cards, Apple Pay, and various local methods available depending on your region and Tebex plan.
Tebex operates as the merchant of record, which means Tebex is the entity that legally sells to the buyer and remits to you on a payout schedule. This is helpful because Tebex handles sales tax and VAT collection and a layer of fraud and chargeback screening. Your job is to connect a valid gateway and complete any identity or business verification the gateway requires before payouts release.
Connect more than one gateway if you can. If a single provider has an outage or limits a transaction, a second gateway keeps sales flowing. Test a small live purchase yourself once a gateway is active so you know the money path works end to end.
Step 3: Plan categories and packages
A category is a section of your store, and a package is a single item a buyer can purchase. Plan the structure before you create items so the store reads cleanly. A typical FiveM store has categories like Donor Ranks, Vehicles, and Quality of Life, with packages inside each.
When you create a package you set its name, price, image, and description, then attach it to a category. You also choose whether the package is a one time purchase or a recurring subscription. Subscriptions are how monthly donor tiers work, and Tebex bills the buyer automatically each cycle. For each package you also decide what actually gets delivered, which is the next step.
Command rewards versus role rewards
Tebex delivers a purchase in one of two main ways for FiveM. The first is command delivery, where Tebex tells your server to run one or more server commands when the purchase completes. You write these commands in the package settings, and Tebex substitutes placeholders such as the buyer identifier into them. A command package might add money to a character, grant a vehicle, or set an ace permission.
The second is role or group delivery, often handled by pairing Tebex with a Discord integration so a purchase assigns a Discord role, or by using commands that set a permission group your framework reads. Many servers combine both: a command grants the in-game effect and a separate action grants a Discord role for visible status. Decide per package which delivery method fits, because a cosmetic vehicle needs a command while a priority queue perk may be driven by a permission group.
Step 4: Connect your server with the secret key
The link between your store and your server is the secret key, and FiveM has native Tebex support built in, so for the standard setup there is nothing to download. In your Tebex control panel go to Integrations, then Game Servers, choose Connect Game Server, and select the plugin option for FiveM. Tebex shows you a unique secret key and the exact line to add.
You apply the key by adding a convar to your server.cfg. Paste the line Tebex gives you, which looks like sv_tebexSecret followed by your key, near the bottom of the file. Treat this key like a password. Anyone with it can act as your store integration, so never paste it into a public channel, a screenshot, or a committed config file in a public repository.
After adding the line, restart your server as you normally would. Return to the control panel and confirm the connection, where Tebex reports that your server is linked. If it does not connect, the key is wrong, copied with extra whitespace, or the line was not loaded. The native integration polls Tebex on a short interval for completed purchases, so newly purchased commands are picked up automatically within a minute. If you instead run a community wrapper resource rather than the native integration, place it in your resources folder and add a start line such as ensure tebex after the sv_tebexSecret line, but the native path is recommended for reliability.
Step 5: Map deliveries and test a purchase
With the resource connected, return to each package and confirm the delivery commands are exactly what your framework expects. Run the command manually in your server console first to prove it works, then copy that working command into the package. This avoids the common trap of a purchase succeeding while the reward silently fails because the command had a typo.
Now run a real test purchase. Buy the cheapest package yourself, or use any sandbox or test mode your gateway offers, and watch the server console as the purchase completes. You want to see the integration receive the event and run the command. Tebex also lets you manually resend or re-run a purchase from the dashboard, which is useful when a player was offline at the moment of purchase and the command needs to fire when they next join.
Step 6: Regional pricing and presentation
Tebex can localize prices so buyers see amounts in their own currency. You can let Tebex convert from your base currency automatically, or set explicit prices per region for cleaner round numbers. Localized pricing meaningfully improves conversion because a buyer in the EU seeing euros trusts the checkout more than one seeing a converted figure with odd decimals.
Spend time on the storefront presentation too. Clear package names, a short benefit focused description, and a consistent image style make the store feel legitimate. A store that looks unfinished loses sales even when the underlying delivery works perfectly.
A note on Cfx compliance
FiveM runs under the Cfx.re platform, and Cfx publishes rules about what servers may sell. At a high level, you may sell things that do not create pay to win advantages or break the terms, such as cosmetic items, priority queue access, and supporter ranks, while selling outright gameplay power or anything that infringes Rockstar or third party intellectual property is not allowed. Tebex setup does not exempt you from these rules. Read the current Cfx server commercialization terms before you decide what your packages grant, because a takedown of your server costs far more than any single sale.
Keep your delivery commands aligned with that. A donor rank that grants visible status and a queue slot is safe ground. A package that hands a paying player a clear combat or economy advantage over everyone else is the kind of thing that draws enforcement and erodes your community at the same time.