Tebex Implementation
This guide explains how to connect your Coinsystem V2 with Tebex to handle coin purchases via Tebex.
Step 1: Add Tebex Secret Key to Your server.cfg
β
- Log in to your Tebex control panel.
- On the left-hand navigation menu, click Integrations and Game Servers.
- Click Instructions next to the Game Server you want to use.
- Copy the command provided and paste it into your
server.cfg
. It should look something like this:
sv_tebexSecret <YourSecretKey>
Make sure to replace <YourSecretKey>
with the actual secret key provided by Tebex.
Step 2: Create a Tebex Packageβ
- In your Tebex control panel, navigate to Packages.
- Create a new package, for example, "100 Coins".
- At the bottom of the package creation screen, select Game Server Commands as the deliverable type.
-
Select your game server and click Add Command.
-
Use the following command to deliver the coins:
saveredeemcode {transaction} 100
- Replace the
100
with the actual amount of coins the user will receive for this package.
- Replace the
- Save your package.
Step 3: Test the Integrationβ
- In the Tebex control panel, click Payments on the left-hand menu.
- Click on Create Payment.
- Enter your username under Customer and select the package you created earlier.
- After creating the payment, you should be able to claim the coins in-game by using your payment ID.