Tebex Integration

Overview: This guide will walk you through the complete process of integrating Tebex with your game server, enabling automated product delivery and payment processing.


Prerequisites


Step 1: Connect Game Server

Navigate to Tebex > Game Servers > Connect Game Server in your Tebex dashboard.

Note: Copy the secret key that Tebex provides - you'll need it in the next step.


Step 2: Configure Server

Add the Tebex secret code to your server.cfg file. This establishes the connection between your server and Tebex.

# Add this line to your server.cfg
set tebex_secret "YOUR_SECRET_KEY_HERE"

Step 3: Create a Package in Tebex

Navigate to Tebex > Package > Create Package to set up your product.

Package Configuration Tips:

Recommended Settings:

  • Set a clear, descriptive package name

  • Add detailed description for customers

  • Configure appropriate pricing

  • Set purchase limits if needed

  • Enable/disable as required


Step 4: Configure Script Commands

This is the crucial step where you define what happens when a customer purchases your package.

Available Script Commands:


For Show id VIP system:

prehidemyid {transaction} {packageName}

This command allows to detect vip system

Important: Make sure the commands you use are compatible with your server setup and the scripts are properly installed.

Step 5: Testing and Activation

Before going live, thoroughly test your integration to ensure everything works correctly.

Testing Checklist:

  • Verify server connection status in Tebex dashboard

  • Test purchase with test payment methods

  • Confirm commands execute correctly

  • Check player receives items/permissions

  • Validate transaction logs

Testing Tip: Use Tebex's test payment methods to verify your setup without real money transactions.

Troubleshooting

Common Issues and Solutions:

Payment Issues

  • Check Tebex payment gateway settings

  • Verify your store is published and not in draft mode

  • Ensure pricing and currency are correctly configured


Last updated