📦 Scripts
🎁 Akilla Donator
Tebex Integration
Game Server Commands

⌨️ Game Server Commands

Configure Tebex to send commands to your FiveM server.

Setting Up Commands

  1. In Tebex, go to Game Servers
  2. Select your FiveM server
  3. Go to Commands
  4. Add the command for each package

Command Format

donatorPurchase {"transactionId":"{transaction}", "package":"{packageName}"}

Tebex Variables

VariableDescription
{transaction}Unique transaction ID
{packageName}Name of purchased package
{username}Player's username
{id}Player's game ID

Example Setup

For a package named starter_pack:

Command:

donatorPurchase {"transactionId":"{transaction}", "package":"starter_pack"}

Triggered: On purchase (not on chargeback)

Important Settings

  • Execute on: Purchase (not renewal)
  • Require player online: No (command saves to database)
  • Execute once: Yes

Testing

  1. Create a test package with $0.00 price
  2. Purchase the test package
  3. Check your server console for the command
  4. Verify the transaction appears in database

Troubleshooting

Command not executing

  • Verify your Tebex server key is correct
  • Check if the server is connected in Tebex
  • Look for errors in server console

Package not recognized

  • Ensure package name matches config exactly
  • Check for typos and case sensitivity