> For the complete documentation index, see [llms.txt](https://secret-code.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://secret-code.gitbook.io/docs/creators/secret-chat/commands.md).

# Commands

You can manage **Secret-Chat** through the **txAdmin console** using the following commands. These commands always start with the prefix `secret-chat`.

***

## **Available Commands**

1. **`secret-chat givechatpanel <id>`**\
   Grants the specified player with the chat panel access.
   * **Example usage**:

     ```plaintext
     secret-chat givechatpanel <id>
     ```
   * Replace `<id>` with the player ID (in-game).
   * This command will give you the chat configuration panel if you cannot open it because you have not configured the groups or you want to give the panel to a user for a moment.
2. **`secret-chat clearserverchat`**\
   Clears the entire server chat history.
   * **Example usage**:

     ```plaintext
     secret-chat clearserverchat
     ```
   * This command will remove all chat from the server.

***

**Using `secret-chat` in txAdmin Console**

When you type `secret-chat` in the txAdmin console, it will display the available options like this:

<figure><img src="/files/Liukiy61rrqz5qcRWMUv" alt=""><figcaption></figcaption></figure>

These commands give you full control over the chat panel and the ability to manage server chat history with ease.
