# Chat interactions

This section is dedicated to **all commands that can be used by users** for interacting with chats.<br>

For every command the main command "/chat" **has the alias "/c".**

| <mark style="color:blue;">Commands</mark> | <mark style="color:blue;">Description</mark>                                                                                                                               | <mark style="color:blue;">Permission</mark>                                  |
| ----------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
| /chat \<ID>                               | Enable this chat. When you will write in chat you will write into that chat according to config format.                                                                    | chatplus.chat.\<id> or must be added to chat                                 |
| /chat \<ID> \<message>                    | Send a message to that chat according to config format.                                                                                                                    | chatplus.chat.\<id> or must be added to chat                                 |
| /chat inventory                           | Open Chats Inventory. Left click to a chat to enable, right click to disable/enable (you will not recive messages). Click on your head at the top to return to global chat | chatplus.commands.inventory                                                  |
| /chat info \<ID>                          | Get info about a chat                                                                                                                                                      | chatplus.commands.info **(Who has this permission can see all chat's info)** |
| /chat join \<ID> \<code>                  | If a chat has a code and the player know it, it can join that chat by receiving and sending messages,                                                                      | chatplus.commands.join                                                       |

The **permission**: *chatplus.commands.\** gives **all commands' permissions** to a player.\
The **permission**: *chatplus.chat.\** gives **all chats' permissions** to a player.\
The **permission**: **chatplus.\*** gives **all the permissions of the plugin.**


---

# 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://alexmens.gitbook.io/chatplus/chats/chat-interactions.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.
