Setting up a Tebex Store

What is Tebex?

Tebex is our authorized monetization partner for the Cfx.re Platform, allowing you to easily monetize your FiveM or RedM server.

It provides a convenient and secure way for server owners to set up and manage their stores, allowing players to purchase virtual items and other game-related content. In addition to being the exclusive monetization partner of FiveM, Tebex offers a full suite of monetization features, handling all taxes, billing, and providing full insurance for transactions. This makes it easier for server owners to focus on creating a great experience for their players while leaving the complexities of payments and compliance to Tebex.

The use of any other platform or payment provider is prohibited and is a violation of the Platform License Agreement.
Monetization of game servers is also subject to the policies outlined in the PLA, as well as the Tebex Acceptable Use Policy (AUP) and Terms of Service (TOS).

Prerequisites

Before starting, ensure that you successfully setup a FiveM-Server.

Tebex Store Setup

  1. Register a new account here.
  2. Verify your email address. A link will be sent to your email address.
  3. Check your personal details. If correct, start and complete the identity verification.
  4. Create a project:
    • Provide a project name.
    • Provide the preffered currency
    • Provide the type of the project. If you are running a server choose "I operate a game server".
  5. Open your Tebex Control Panel and click Integrations > Game Servers.
  6. Click Connect Game Server > Plugin.
  7. Name your server and click Continue.
  8. Follow the instructions on-screen to add your unique secret-key to your server.cfg. We recommend adding the line at the bottom of the file like this:sv_tebexSecret yourtebexsecretkey
  9. Restart your server.
  10. Click Continue on the Tebex Control Panel page you have open.

You will be redirected to the onboarding page.

Before you can go live

Before your store can go live, you must to complete the following steps:

  1. Provide a store description.
  2. Confirm customer support contact.
  3. Set up wallet.
  4. Complete ID verification.
  5. Create a package.
  6. Associate your Cfx.re account.

After that you can submit your store for review to Tebex.

Once the review is completed, you can add packages, customize your store, offer virtual goods to your community, and change the appearance of your Tebex store with one of many templates.

FiveM Server Wrapper

The community-built Tebex server wrapper enables you to connect your Tebex store to your gameserver. It makes it easier to give players rewards and perks and simplifies the setup of your Tebex Store.

After setting up packages on your Tebex Store and within the wrapper itself, all you need to do is get your players to run /redeem [Transaction ID] and the wrapper will give the player their purchase(s).

FiveM Server Wrapper Installation

  1. Download the wrapper

  2. Extract the wrapper to your resource folder (You need to remove -main from the end of the folder name, the folder within your resources directory should be called nass_serverstore)

  3. Import the codes.sql to your database

  4. Add ‘ensure nass_serverstore’ in your server.cfg.

  5. Add the game server command below to each package you’d like to set up with the wrapper: purchase_package_tebex {"transid":"{transaction}", "packagename":"{packageName}"}


    You’ll need to add it as a command that executes When the package is purchased.

  6. Click Settings icon next to the command and set the Require Player to be Online to Execute the command even if the player is offline.

  7. Go to Edit Package and click Update to confirm the changes made.

  8. At this point you can setup your packages within the wrapper itself - you can do this within the config.lua inside the wrapper’s script folder on your server.

  9. Get your players to run /redeem [Transaction ID] on your server when they've made their purchase. The transaction ID will be sent to the players email address after a purchase is made on your store.

Tebex FAQs
Tebex Identitiy Verification
Tebex Store Review
Tips for getting your store application approved