# Kryrak - In Depth Guide

Kryrak is an SMP built around Towny, with an economy that supports town creation and progression.

To earn money on the server, use **/shop** to see what items you can buy or sell, and **/sellgui** to quickly sell items in bulk.

***

<details>

<summary>Towny Commands</summary>

**🧭 General Info**

* /town — View your town's info
* /town {name} — View another town's info
* /town here — Info on the town you're standing in
* /town list — View all towns (filters: by name, by resident, by balance, etc)

**🏡 Town Management (Mayor Only)**

* /town new {name} — Create a new town
* /town add {player} — Invite a player to your town
* /town kick {player} — Remove a resident
* /town delete {name} — Delete your town

**📍 Claims**

* /town claim — Claim the current chunk
* /town claim auto — Auto-claim nearby chunks
* /town unclaim — Unclaim the current chunk
* /town unclaim all — Unclaim all land

**🚪 Town Spawn & Travel**

* /town spawn — Teleport to your town's spawn
* /town spawn {town} — Visit another town (if public)

**🏦 Town Bank**

* /town deposit {amount} — Deposit money into the town bank
* /town withdraw {amount} — Withdraw money

**📜 Plot & Permissions**

* /town plots — View your town’s plots
* /town set board {message} — Set a town message
* /town set spawn — Set the town’s spawn point
* /town set perm — Edit town permissions

**🛡️ Ranks & Roles**

* /town rank add {player} {rank} — Assign a rank
* /town rank remove {player} {rank} — Remove a rank
* /town mayor {player} — Transfer mayor role

**🏛️ Town Settings**

* /town toggle public — Make town visitable
* /town toggle open — Allow anyone to join
* /town toggle mobs — Toggle mob spawning
* /town toggle explosion — Toggle explosions
* /town toggle fire — Toggle fire spread

**💸 Taxes**

* /town set taxes {amount} — Set daily resident tax
* /town set plottax {amount} — Set per-plot tax
* /town set plotprice {amount} — Set plot price

**⚠️ Inactivity**

* Towns are **automatically deleted after 60 days** of inactivity

</details>

<details>

<summary>Nations Commands</summary>

**🌐 General Info**

* /nation — View your nation’s info
* /nation {name} — View another nation’s info
* /nation list — See all nations (filters: by name, by resident, by balance, etc)
* /nation online — See online players in your nation

**🏛️ Nation Management (King Only)**

* /nation new {name} — Create a nation
* /nation add {town} — Invite a town to your nation
* /nation kick {town} — Remove a town
* /nation delete — Disband your nation
* /nation set king {resident} — Transfer kingship
* /nation set capital {town} — Set the capital town
* /nation set mapcolor {color} — Set your nation’s map color on dynmap

**💰 Nation Bank**

* /nation deposit {amount} — Deposit money into the nation bank
* /nation withdraw {amount} — Withdraw money from the nation bank
* /nation bankhistory {#} — View recent transactions

**🛡️ Ranks & Titles**

* /nation rank add {player} {rank} — Assign a custom rank
* /nation rank remove {player} {rank} — Remove a rank
* /nation title {player} {title} — Give a title
* /nation surname {player} {suffix} — Give a suffix

**📜 Diplomacy**

* /nation ally add {nation} — Add an ally
* /nation ally remove {nation} — Remove an ally
* /nation enemy add {nation} — Add an enemy
* /nation enemy remove {nation} — Remove an enemy
* /nation merge {nation} — Merge another nation into yours (requires both kings online)

**🚪 Joining & Access**

* /nation join {nation} — Join an open nation (mayors only)
* /nation spawn — Teleport to your nation’s spawn
* /nation toggle open — Allow towns to join without an invite

**📊 Taxes & Settings**

* /nation set taxes {amount} — Set nation tax per town
* /nation set conqueredtax {amount} — Set tax for conquered towns
* /nation toggle taxpercent — Enable/disable percentage-based tax
* /nation taxpercentcap — Set max percentage for tax

**📌 Info & Lists**

* /nation ranklist — View all ranks in the nation
* /nation townlist — List all towns in the nation
* /nation allylist — List nation allies
* /nation enemylist — List nation enemies
* /nation sanctionedtown list — View sanctioned towns

**⚠️ Other Notes**

* Nations can **control taxation**, **form alliances or rivalries**, and **coordinate multiple towns**
* Useful for **larger-scale political and economic coordination**

</details>

<details>

<summary>Misc and Utility Commands</summary>

* /tpa {player} — Request to teleport to another player
* /ping {player} — Check a player’s ping
* /spawn — Teleport to the main server spawn
* /sethome — To set your home
* /home — To teleport to your home
* /shop — To sell and buy resources
* /stats {player} — To display a player's stats and elo

</details>

{% hint style="info" %}
need more help? Feel free to open a ticket on [Discord](https://discord.gg/MmsMFQ4Jny)!
{% endhint %}


---

# 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://kryrak.gitbook.io/kryrak-docs/basics/markdown.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.
