> For the complete documentation index, see [llms.txt](https://modern-earth.gitbook.io/modern-earth-wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://modern-earth.gitbook.io/modern-earth-wiki/basic/creating-town-and-nation/towny-commands.md).

# Towny Commands

1. **Create a Town**
   * `/t new [townname]` - Creates a new town with the specified name.
2. **Managing Towns**
   * `/t deposit [amount]` - Deposits the specified amount of money into the town bank.
   * `/t withdraw [amount]` - Withdraws the specified amount of money from the town bank.
   * `/t add [resident]` - Adds a resident to the town.
   * `/t kick [resident]` - Removes a resident from the town.
   * `/t set mayor [resident]` - Changes the town's mayor to the specified resident.
   * `/t delete` - Deletes the town. Note: This command usually requires confirmation.
3. **Town Permissions**
   * `/t set perm [perm] [value]` - Sets a specific permission for the town. (e.g., `pvp`, `destroy`, `build`, etc.)
   * `/t toggle [perm]` - Toggles a specific permission on or off.
4. **Town Chat**
   * `/tc [message]` - Sends a message to the town chat.
5. **Towny Help**
   * `/t help` - Shows a list of Towny Advanced plugin commands and their descriptions.
   * `/t ?` - Another way to access the help menu.


---

# 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://modern-earth.gitbook.io/modern-earth-wiki/basic/creating-town-and-nation/towny-commands.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.
