UZ Scripts

Tebex Integration

Complete guide for integrating Tebex with your game server for automated product delivery and payment processing.

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

Before you start, ensure you have:

  • Administrative access to your Tebex account
  • Server configuration file access (server.cfg)
  • The script you want to integrate installed and working
  • Basic understanding of server commands

Integration Steps

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.

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"

Server Connection Complete: Your server is now connected to Tebex.

Create a Package in Tebex

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

Recommended Settings: Set clear names, detailed descriptions, appropriate pricing, and purchase limits as needed.

Configure Script Commands

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

For UZ-Scripts Multicharacter system:

purchase_multicharacter_newslot {"transid":  "{transaction}"}

This command grants a new character slot to the purchaser.

For UZ-Scripts Daily Reward system:

purchase_dailyreward {"transid":  "{transaction}"}

This command activates daily reward benefits for the purchaser.

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

Testing and Activation

Before going live, thoroughly test your integration:

  1. Verify server connection status in Tebex dashboard
  2. Test purchase with test payment methods
  3. Confirm commands execute correctly
  4. Check player receives items/permissions
  5. Validate transaction logs

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


Troubleshooting

Getting Help

  • Tebex Support: Contact through their official support channels
  • UZ-Scripts Support: Join our Discord server for script-specific help
  • Server Logs: Always check your server console and logs for detailed error information

Best Practices

  • Keep your Tebex secret key private and secure
  • Regularly update your scripts and server software
  • Monitor transaction logs for unusual activity
  • Provide clear product descriptions
  • Set reasonable prices for your community
  • Offer good customer support for purchase issues
  • Regularly test your integrations
  • Keep backups of your configuration
  • Stay updated with Tebex and script updates

Congratulations! Your Tebex integration is now complete and ready to use. Your players can now purchase items directly through your Tebex store with automatic delivery.

On this page