> For the complete documentation index, see [llms.txt](https://docs.tip4serv.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tip4serv.com/games/rust-console-edition/kaos-discord-bot.md).

# KAOS Discord Bot

{% embed url="<https://bot.ka0s.uk/docs/log-parser/>" %}

## How to Connect Kaos with Tip4Serv?

1. Add a Rust Console Edition server in [My Servers](https://tip4serv.com/dashboard/my-servers) by clicking: **Connect a Game Server** and connect your Discord server by following the instructions.
2. Create a new Discord channel for deliveries and logs (for example: `kaos-parser`).
3. Make sure the [Tip4Serv bot has permission to give a role](https://docs.tip4serv.com/discord-setup/discord-bot#why-are-the-messages-not-sent-in-the-chanel) to a member.
4. Execute this KAOS BOT command: `/admin-channels`
5. Click "**Set Channel"** button.
6. Select the **"Transactions"** channel when asked.
7. Provide the **channel name or channel id** when asked, then click **submit**.
8. To finish, execute this KAOS BOT command: `/set config_name:parser_use option:on server:All Servers`

Tip4Serv transaction logs will appear in this channel.

{% hint style="info" %}
*The above procedure is only required once. Once the transactions channel has been set, it does not need setting again.*
{% endhint %}

### **How to give Items, Kits, and Points?**

You can configure any of the commands below in the [product command editor](/server-commands.md). Simply add your Discord server to the product and enter the desired command in the **"CMD"** field. It will then be executed automatically after each purchase.

The **KAOSBOT Log Parser Generator** helps you generate commands for **Tip4Serv** more easily:

{% embed url="<https://bot.ka0s.uk/parser-generator/>" %}

### Here are some examples:

#### Give an item

Replace `rifle.ak` with your desired item name.

```
[KAOS][ADD][<@{discord_id}>][1]=[ITEM][rifle.ak][{quantity}]
```

#### Give a kit

Replace `elitekit5` with your kit name.

```
[KAOS][ADD][<@{discord_id}>][1]=[KIT][elitekit5][{quantity}]
```

#### Give points

Replace `5000` with the number of points to give per purchased quantity.

```
[KAOS][ADD][<@{discord_id}>][1]=[POINTS][{quantity*5000}]
```

#### ZORPLIST

**Add to ZORPLIST**

```
[KAOS][ADD][<@{discord_id}>][1]=[ZORPLIST]
```

**Remove from ZORPLIST**

```
[KAOS][DEL][<@{discord_id}>][1]=[ZORPLIST]
```

#### KITLIST

Replace `elitekit` with your kit name.

**Add to KITLIST**

```
[KAOS][ADD][<@{discord_id}>][1]=[KITLIST][elitekit]
```

**Remove from KITLIST**

```
[KAOS][DEL][<@{discord_id}>][1]=[KITLIST][elitekit]
```

#### RIDERSLIST

**Add to RIDERSLIST**

```
[KAOS][ADD][<@{discord_id}>][1]=[RIDER]
```

**Remove from RIDERSLIST**

```
[KAOS][DEL][<@{discord_id}>][1]=[RIDER]
```

### Wipe Claims

#### Wipe KITLIST Claims

Replace `elitekit` with your kit name.

```
[KAOS][ADD][<@{discord_id}>][1]=[CLAIMWIPE][elitekit]
```

### VIP

#### Add VIP

```
[KAOS][ADD][<@{discord_id}>][1]=[VIP]
```

#### Remove VIP

```
[KAOS][DEL][<@{discord_id}>][1]=[VIP]
```

### **Supported Arguments**

**\[SERVER]**

* **Specific Server:** `[1]`
* **All Servers:** `[ALL]`
* **Multiple Servers:** `[1,2,3,6]`

**\[KIT\_NAME]**

* Example: `[elitekit]`, `[elitekit5]`
* Arrays also work: `[elitekit, elitekit2, elitekit7]`

**\[ALL]**

* Use `[ALL]` where applicable to target everything.
