📦 Scripts
🎁 Akilla Donator
Tebex Integration
Overview

🛒 Tebex Integration

Integrate your donator store with Tebex to sell coins for real money.

How It Works

  1. Player clicks "Buy Coins" in the store
  2. Opens your Tebex store in browser
  3. Player purchases a coin package
  4. Tebex sends command to your server
  5. Transaction ID is saved to database
  6. Player uses /redeem [transactionId] to claim coins

Quick Setup Checklist

  • Create packages in Tebex matching your config
  • Set up game server commands in Tebex
  • Configure package names to match exactly
  • Test with a real purchase

Configuration

Config.Tebex = {
    enabled = true,
    storeUrl = 'https://your-store.tebex.io/',
    packages = {
        ['starter_pack']  = { coins = 100,  name = 'Starter Pack' },
        ['basic_pack']    = { coins = 250,  name = 'Basic Pack' },
        ['premium_pack']  = { coins = 500,  name = 'Premium Pack' },
        ['ultimate_pack'] = { coins = 1000, name = 'Ultimate Pack' },
    },
}

⚠️ Important: Package names must match exactly between Tebex and your config (case-sensitive).

Next Steps

  1. Setting Up Packages - Create packages in Tebex
  2. Game Server Commands - Configure Tebex commands
  3. Player Redemption - How players claim coins