> For the complete documentation index, see [llms.txt](https://docs.clashperk.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.clashperk.com/developer/commands/autorole/town-hall.md).

# /autorole town-hall

Manage automatic role management for town hall levels.

## Options

| Name                        | Description                                                            |
| --------------------------- | ---------------------------------------------------------------------- |
| `th_1`                      | Town Hall 1 role.                                                      |
| `th_2`                      | Town Hall 2 role.                                                      |
| `th_3`                      | Town Hall 3 role.                                                      |
| `th_4`                      | Town Hall 4 role.                                                      |
| `th_5`                      | Town Hall 5 role.                                                      |
| `th_6`                      | Town Hall 6 role.                                                      |
| `th_7`                      | Town Hall 7 role.                                                      |
| `th_8`                      | Town Hall 8 role.                                                      |
| `th_9`                      | Town Hall 9 role.                                                      |
| `th_10`                     | Town Hall 10 role.                                                     |
| `th_11`                     | Town Hall 11 role.                                                     |
| `th_12`                     | Town Hall 12 role.                                                     |
| `th_13`                     | Town Hall 13 role.                                                     |
| `th_14`                     | Town Hall 14 role.                                                     |
| `th_15`                     | Town Hall 15 role.                                                     |
| `th_16`                     | Town Hall 16 role.                                                     |
| `th_17`                     | Town Hall 17 role.                                                     |
| `th_18`                     | Town Hall 18 role.                                                     |
| `allow_non_family_accounts` | Whether to give roles to the members that are not in the family clans. |


---

# 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://docs.clashperk.com/developer/commands/autorole/town-hall.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.
