`/clan` opens your clan. `/clans` lets you discover other clans.

A clan has a name, a tag and a colour. The tag appears in colour after your names. You have your own clan chat and see who is online. With every clan level, more members fit into your clan.

## Find a clan

- `/clans list` shows the clan directory.
- `/clans search <text>` searches for a clan.
- `/clans info <clan>` shows information.

## Join

How you join depends on the clan:

- **Invite only:** `/clan accept <clan>` accepts an invitation, `/clan decline <clan>` declines it.
- **On request:** `/clan apply <clan> [text]` sends an application, `/clan withdraw <clan>` withdraws it.
- **Open:** `/clan join <clan>` joins directly.

`/clan invitations` shows your invitations. When you join a clan, your other applications and invitations end.

## Found a clan

1. `/clan create <tag> <name>` checks the tag and name.
2. `/clan found <tag> <name>` founds the clan.

Founding needs a certain network level. The game shows you which one.

## In the clan

- `/clan info` shows your clan.
- `/clan members` shows the members.
- `/clan leave` leaves the clan.
- `/clanchat <message>` or `/cc <message>` writes in the clan chat.

## Roles

**Member**

- leave the clan

**Officer**

- invite players: `/clan invite <player>`, withdraw with `/clan uninvite <player>`
- see applications: `/clan applications`
- accept or decline applications: `/clan applications accept <player>` or `/clan applications decline <player>`
- remove members: `/clan kick <player>`
- see and lift clan bans: `/clan bans`, `/clan unban <player>`
- see the clan log: `/clan log`
- officer chat: `/officerchat` or `/oc`

**Founder**

- everything officers can do
- change roles: `/clan promote <player>`, `/clan demote <player>`
- change name and tag: `/clan rename <name>`, `/clan tag <tag>`
- change colour: `/clan colour aqua|mint|rosa|orange`
- change how players join: `/clan mode invite-only|request|open`
- set the description: `/clan description [text]`
- show or hide the member list: `/clan members-public on|off`
- hand over founding: `/clan transfer <player>`
- disband the clan: `/clan disband`

As founder, you can only leave once you have handed over founding or disbanded the clan. After the handover you are an officer.

Actions that end something ask first. Add `confirm` at the end to run them directly.