# Tebex Integration

### Tebex Integration

To automate your Tebex packages and link them to the VIP system, you first need to link your server with Tebex. To do this, go to your Tebex panel, navigate to Game Servers/CONNECT GAME SERVERS and follow the Tebex instructions to complete the linking process.

Once linked, you can create packages and add a GAME SERVER COMMANDS. This command will be sent by Tebex when a user purchases the package.

<figure><img src="https://3948385685-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPiNbO72jPPwv7QHxV9jY%2Fuploads%2F8t8TMlA8Vlr9qKFPNGd6%2Ftebex_paquete.png?alt=media&#x26;token=8b014792-c2ed-499c-beb5-72506ebcc2bf" alt=""><figcaption></figcaption></figure>

The command to send is as follows: `gcmtebex {transaction} vip_type days`

Here, vip\_type refers to the VIP assigned to that package and days is the number of days it will be delivered for.

For example, `gcmtebex {transaction} vip_silver 30`

{% hint style="danger" %}
It is important that you only modify the **vip\_type** and **days** variables in the command depending on your needs.
{% endhint %}

It's important to set the "Require Player To Be Online" option to "Execute the command even if the player is offline" so that the command is executed even if the user is not online.

The user can then redeem their VIP with the command `/code transaction_id`.&#x20;

For example: `/code tbx-3498923a51449-682a94`


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://gcmoddoc.gitbook.io/gcmod/resources/vip-system/configuration/tebex-integration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
