❕Tebex Integration
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
Step 1: Connect Game Server
Navigate to Tebex > Game Servers > Connect Game Server in your Tebex dashboard.

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"
Server Connection Complete: Your server is now connected to Tebex. You can proceed to create products and link them to your scripts.
Step 3: Create a Package in Tebex
Navigate to Tebex > Package > Create Package to set up your product.

Package Configuration Tips:
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
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

Troubleshooting
Common Issues and Solutions:
Server Not Connecting
Double-check the secret key in your
server.cfgEnsure your server is online and accessible
Verify firewall settings allow Tebex connections
Commands Not Executing
Verify script is properly installed and running
Check command syntax matches your script requirements
Review server console for error messages
Ensure player is online when purchase is made
🎉 Congratulations! Your Tebex integration is now complete and ready to use. Your players can now purchase items directly through your Tebex store, and the integration will automatically handle the delivery.
Last updated