# KAOS Discord Bot

These commands below must be executed in the designated channel monitored by the KAOS bot. Once processed, KAOS will handle the delivery to the player.

### How to setup Kaos for Tip4Serv?

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

### **Why hasn’t my stuff been delivered?**

Make sure the Tip4Serv bot has permission to send messages in your Kaos Discord channel.\
Follow this guide to enable the necessary permissions:

{% embed url="<https://docs.tip4serv.com/discord-setup/discord-bot#why-are-the-messages-not-sent-in-the-chanel>" %}

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

**Give an Item to the player:**

```
[KAOS][ADD][<@{discord_id}>][SERVER]=[ITEM][ITEM_NAME][QUANTITY]
```

```
Example to use in the Tip4Serv product editor command:
[KAOS][ADD][<@{discord_id}>][1]=[ITEM][rifle.ak][{quantity}]
```

**Give a Kit to the player:**

```
[KAOS][ADD][<@{discord_id}>][SERVER]=[KIT][KIT_NAME][QUANTITY]
```

```
Example to use in the Tip4Serv product editor command:
[KAOS][ADD][<@{discord_id}>][1]=[KIT][elitekit5][{quantity}]
```

**Add Points:**

```
[KAOS][ADD][<@{discord_id}>][SERVER]=[POINTS][QUANTITY]
```

```
Example to use in the Tip4Serv product editor command:
[KAOS][ADD][<@{discord_id}>][1]=[POINTS][{quantity}*5000]
```

### **How to add a customer to a list?**

**Add to ZORPLIST:**

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

```
Example to use in the Tip4Serv product editor command:
[KAOS][ADD][<@{discord_id}>][1]=[ZORPLIST]
```

**Remove from ZORPLIST:**

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

```
Example to use in the Tip4Serv product editor command:
[KAOS][DEL][<@{discord_id}>][1]=[ZORPLIST]
```

**Add to KITLIST:**

```
[KAOS][ADD][<@{discord_id}>][SERVER]=[KITLIST][KITNAME]
```

```
Example to use in the Tip4Serv product editor command:
[KAOS][ADD][<@{discord_id}>][1]=[KITLIST][elitekit]
```

**Remove from KITLIST:**

```
[KAOS][DEL][<@{discord_id}>][SERVER]=[KITLIST][KITNAME]
```

```
Example to use in the Tip4Serv product editor command:
[KAOS][DEL][<@{discord_id}>][1]=[KITLIST][elitekit]
```

**Add to RIDERSLIST:**

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

```
Example to use in the Tip4Serv product editor command:
[KAOS][ADD][<@{discord_id}>][1]=[RIDER]
```

**Remove from RIDERSLIST:**

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

```
Example to use in the Tip4Serv product editor command:
[KAOS][DEL][<@{discord_id}>][1]=[RIDER]
```

### **Wipe Claims**

**Wipe KITLIST Claims:**

```
[KAOS][ADD][<@{discord_id}>][SERVER]=[CLAIMWIPE][KIT_NAME]
```

```
Example to use in the Tip4Serv product editor command:
[KAOS][ADD][<@{discord_id}>][1]=[CLAIMWIPE][elitekit]
```

### **How to give VIP?**

**Add VIP:**

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

```
Example to use in the Tip4Serv product editor command:
[KAOS][ADD][<@{discord_id}>][1]=[VIP]
```

**Remove VIP:**

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

```
Example to use in the Tip4Serv product editor command:
[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.
