> For the complete documentation index, see [llms.txt](https://tchat.tect.host/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tchat.tect.host/channels/default-configuration.md).

# Default configuration

```yml
# ╔══════════════════════════════════════════════════════════════╗
# ║                             TChat                            ║
# ║                      tect.host | by Alex                     ║
# ║                                                              ║
# ║                         channels.yml                         ║
# ╚══════════════════════════════════════════════════════════════╝

# DON'T TOUCH THIS!
config-version: 0

# Message / Announce Mode:
# - 0 -> visible to all online players
# - 1 -> visible to players with channel permission
# - 2 -> visible only to players who are in the channel (/channel join)
# - 3 -> disabled (no one receives the message/announcement)
#
# Permissions:
# - <permission> -> join, leave and use the channel
# - <permission>.send ->

channels:

  admin:
    # This permission is to join/leave the channel
    # To use /channel send <message> you need to use tchat.channel.admin.send permission
    permission: "tchat.channel.admin"
    # This format takes precedence over the group and format settings,
    # so it will override any format the user already has
    format: "&8[&cAdmin&8] &a%tchat_nick% &7> <message>"
    message-mode: 2
    announce-mode: 2
    # 0 = no limit
    limit: 0

  moderation:
    permission: "tchat.channel.mod"
    format: "&8[&bMod&8] &a%tchat_nick% &7> <message>"
    message-mode: 1
    announce-mode: 2
    # 10 players limit
    limit: 10

  global:
    permission: "tchat.channel.global"
    format: "&8[&4Global&8] &a%tchat_nick% &7> <message>"
    message-mode: 0
    announce-mode: 0
    # If you don't set a limit, it will be treated as 0 (unlimited)
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://tchat.tect.host/channels/default-configuration.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.
