# Conan Exiles

Tebex officially supports **Conan Exiles** integration through our **RCON Adapter**. This allows you to run in-game commands tied to Tebex purchases, such as granting items, teleporting players, adjusting stats, and more.

> 📘 **Before You Begin**\
> Ensure your **RCON Adapter** is properly installed and tested.\
> 👉 View the [RCON Adapter ](https://docs.tebex.io/creators/tebex-control-panel/game-servers/rcon-adapter)Setup Guide →

***

### Setting Up Store Commands for Conan Exiles

Conan Exiles uses the `con` RCON command to run **console (admin) commands** **targeted at individual players**. This is different from global RCON commands.

#### Command Format

Each command that targets a player **must start with**:

```plaintext
con {id}
```

* `{id}` is dynamically resolved by the RCON Adapter.
* The adapter maps the player’s Steam/username to the internal player index automatically.

> 💡 *No manual indexing is needed.*

***

#### Example: Give an Item to a Player

To give **5 units of Stone** (Item ID: `10001`), configure your store package command as:

```plaintext
con {id} spawnitem 10001 5
```

This will issue the command to the correct player automatically.

***

### Common Console Commands for Store Packages

These are commonly used Conan Exiles commands you can use in your store packages:

| **Action**                | **Command**                                 |
| ------------------------- | ------------------------------------------- |
| Learn Emote               | `LearnEmote [EmoteName]`                    |
| Toggle God Mode           | `God`                                       |
| Enable Build Anywhere     | `PlayerCanBuildEverywhere [PlayerName]`     |
| Level Up Follower         | `LevelFollowerUpTo [Value]`                 |
| Modify Follower Stat      | `SetFollowerStat [Stat] [Value]`            |
| Modify Player Stat        | `SetStat [Stat] [Value]`                    |
| Teleport Player           | `TeleportPlayer X[float] Y[float] Z[float]` |
| Toggle Sprint Cost        | `NoSprintCost`                              |
| Enable Invisibility       | `Invisibility`                              |
| Fill Purge Meter (Player) | `FillPlayerPurgeMeter`                      |
| Fill Purge Meter (Clan)   | `FillPlayerClanPurgeMeter`                  |
| Start Purge               | `StartPlayerPurge`                          |
| End Purge                 | `EndPurge`                                  |
| Broadcast Server Message  | `BroadcastMessage [Message]`                |
| Spawn Item                | `SpawnItem [ItemID] [Quantity]`             |
| Set Server Setting        | `SetServerSetting [Setting] [Value]`        |

> 🗂️ For a complete command list, visit the [**Official Conan Exiles Wiki**](https://conanexiles.fandom.com/wiki/Admin_Panel).

***

### ⚠ Important Behavioral Notes

When using the RCON Adapter with Conan Exiles, keep the following in mind:

#### Command Execution Behavior

* All plugin-issued commands will appear in the server console as:

  ```
  Received Rcon:
  ```
* **RCON commands** provide proper success/failure reporting.
* **Console/Admin commands** (`con {id} ...`) may return a success **even if the command failed**.

> Example:\
> `con {id} spawnitem 1001 5` may show "success" even if `1001` is not a valid item.

#### Command Execution Safety

To avoid duplicate executions:

* Tebex assumes a **successful delivery** as long as the **target player is online**.
* Commands are not re-issued unless explicitly retried or modified.
