# Commands

## **Towny Commands:**

**/towny**\
Towny general help command\
\
\&#xNAN;**/towny ?**\
Towny (not town, nation or resident) command list\
\
\&#xNAN;**/towny map**\
Displays a map of the nearby chunks (townblocks) and highlights claimed ones\
\
\&#xNAN;**/towny prices**\
Displays the prices used with our economy\
\
\&#xNAN;**/towny top**\
Display highscores\
\
\&#xNAN;**/towny time**\
Displays time until 'next day' is ran (when taxes get taken and paid)

## **Town Commands:**

All /town commands can be shortened with /t\
\
\&#xNAN;**/town**\
Shows your current town information\
\
\&#xNAN;**/town ?**\
Shows town (not towny, nation or resident) command list\
\
\&#xNAN;**/town (name)**\
Shows the information on the specified town\
\
\&#xNAN;**/town list**\
Shows all the towns on the server\
\
\&#xNAN;**/town online**\
Shows which members of your town are online\
\
\&#xNAN;**/town leave**\
Leaves your current town\
\
\&#xNAN;**/town here**\
Shows whether or not the chunk you're stood in is claimed by another town and if so, displays information on that town\
\
\&#xNAN;**/town spawn**\
Teleports you to your towns spawn\
\
\&#xNAN;**/town claim**\
Claims the chunk you're stood in for your town (must be next to another chunk claimed by your town)\
\
\&#xNAN;**/town claim outpost**\
Claims the chunk you're stood in for your town as an outpost, you can get to it by typing /t outpost (number)\
\
\&#xNAN;**/town unclaim**\
Unclaims the chunk you're stood in for your town\
\
\&#xNAN;**/town buy bonus (amount)**\
Purchases (amount) of total claimable chunks for your town\
\
\&#xNAN;**/town withdraw (amount)**\
Withdraws (amount) from your town bank to your personal balance\
\
\&#xNAN;**/town deposit (amount)**\
Deposits (amount) from your balance to your town's bank\
\
\&#xNAN;**/town create (name)**\
Creates a town with the name (name) and the home block will be where you're stood\
\
\&#xNAN;**/town delete**\
Deletes your current town (if you are the mayor)\
\
\&#xNAN;**/town invite (name)**\
Invites (name) to your town\
\
\&#xNAN;**/town invite+ (name1) (name2) (name3)**\
Invites (name1), (name2) and (name3) to your town\
\
\&#xNAN;**/town kick (name)**\
Kicks (name) from your town\
\
\&#xNAN;**/town kick+ (name1) (name2) (name3)**\
Kicks (name1), (name2) and (name3) from your town\
\
\&#xNAN;**/town merge (townname)**\
Merges two towns into one. The town name is the town which will be merged into the town owned by the mayor using the command.\
\
\&#xNAN;**/town rank add (name) (rank)**\
Promotes (name) to (rank) in your town\
\
\&#xNAN;**/town rank remove (name) (rank)**\
Demotes (name) to resident in your town\
\
\&#xNAN;**/town set mayor (name)**\
Sets (name) as the mayor of your town\
\
\&#xNAN;**/town set board (message)**\
Sets the towns board to (message)\
\
\&#xNAN;**/town set homeblock**\
Sets the town home block to your current chunk, must be in your town\
\
\&#xNAN;**/town set spawn**\
Sets the town spawn to your current location (Must be in the homeblock)\
\
\&#xNAN;**/town set**\
Shows options for settings\
\
\&#xNAN;**/town set taxes (amount)**\
Sets taxes for residents (not staff, they are exempt) to (amount) per day\
\
\&#xNAN;**/town set plottax (amount)**\
Sets the taxes for plots owned by residents\
\
\&#xNAN;**/town set name (name)**\
Changes your towns name\
\
\&#xNAN;**/town toggle explosion**\
Toggles explosions within your town\
\
\&#xNAN;**/town toggle fire**\
Toggles fire within your town\
\
\&#xNAN;**/town toggle mobs**\
Toggles mobs within your town\
\
\&#xNAN;**/town toggle public**\
Toggles whether or not outsiders can /t spawn to your town\
\
\&#xNAN;**/town toggle pvp**\
Toggles whether or not PvP is enabled within your town

## **Plot Commands**

**/plot ?**\
Shows command list\
\
\&#xNAN;**/plot set**\
Shows plot settings options\
For a list of types you can set plots too, check [this ](https://github.com/CraftYourTown/cyt-wiki/blob/main/how-to-play/towny/broken-reference/README.md)out.\
\
\&#xNAN;**/plot perm**\
Shows permissions of plot you're stood in\
\
\&#xNAN;**/plot toggle**\
Similar to /town toggle\
\
\&#xNAN;**/plot claim**\
Claims plot as a resident\
\
\&#xNAN;**/plot unclaim**\
Unclaims plot\
\
\&#xNAN;**/plot forsale (amount)**\
Puts plot you're stood in for sale\
\
\&#xNAN;**/plot notforsale**\
Stops plot from being for sale

## **Resident Commands**

All /resident commands can be shortened with /res\
\
\&#xNAN;**/resident**\
Shows your Towny overview\
\
\&#xNAN;**/resident ?**\
Brings up resident help screen\
\
\&#xNAN;**/resident (name)**\
Brings up (name)'s Towny overview\
\
\&#xNAN;**/resident tax**\
Shows plots owned and taxes you pay\
\
\&#xNAN;**/resident friend add (name)**\
Adds (name) to your friend list. Can allow friends to build in your plot.\
\
\&#xNAN;**/resident friend remove (name)**\
Removes (name) to your friend list.\
\
\&#xNAN;**/res set perm**\
Shows you the possible settings\
\
\&#xNAN;**/res set perm (friend/ally/outsider)**\
Modify all permissions for a particular group

## **Extra Commands**

**/tc**\
Toggles town chat\
\
\&#xNAN;**/nc**\
Toggles nation chat\
\
\&#xNAN;**/g**\
Toggles global chat

**/l**\
Toggles local chat


---

# 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://wiki.craftyourtown.com/how-to-play/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.
