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

# Captain commands

#### :crown: **Admin only commands**

#### :bulb: **General command for everyone**

<mark style="color:red;">**Required**</mark> parameters will be in \[Square brackets]

<mark style="color:green;">**Optional**</mark> parameters will be in (Curly brackets)

***

## :crown: **Enable Captain Queue**

Enable Captain queue. Captains are decided, then take turns selecting the members they want on their team.

## How it works

```
/captain queue [preference]
```

1. Run the command and select which 2 players should be captains. There are 4 options to choose from:
   1. **Highest MMR players** - The 2 players with the highest MMR will be assigned as captains.
   2. **Lowest MMR players** - The 2 players with the lowest MMR will be assigned as captains.
   3. **Randomized Captains** - <mark style="color:red;">InHouseQueue</mark> will randomly select 2 captains.
   4. **Admin decided** - Captains are chosen by an <mark style="color:green;">Administrator</mark> or someone with a Discord role that has been [granted](/docs/commands/server-commands.md#grant-admin-commands-to-moderators-helpers) access.

<div align="left"><figure><img src="/files/nGVhhs25v3g5UGpZw0j7" alt=""><figcaption></figcaption></figure></div>

2. Next, decide how to determine which captain picks **first**. This can be adjusted later using `/captain first_pick`.

<div align="left"><figure><img src="/files/nXxVMZHKL63o9GnlyhXn" alt=""><figcaption></figcaption></figure></div>

### Queue

1. Players join the queue using a single button. Currently, there are no roles in captain queue.
2. Once enough players have joined the <mark style="color:green;">ready up</mark> phase will begin as normal
3. Once all players have readied up a <mark style="color:green;">**team-select**</mark> OR <mark style="color:orange;">**captain select**</mark> channel will be created.

<div align="left"><figure><img src="/files/x7Hs69E4AGIwANhW1nUX" alt=""><figcaption></figcaption></figure></div>

### Captain select channel

If you choose the <mark style="color:green;">**Admin Decided**</mark> Captain mode, <mark style="color:red;">InHouseQueue</mark> will create a temporary channel where Admins can select the 2 captains. It should look like this:

<div align="left"><figure><img src="/files/MyxVUhCRTlI3oNNTc8vK" alt=""><figcaption></figcaption></figure></div>

The <mark style="color:green;">Administrator</mark> must mention the 2 players they deem fit to be captains. This must be in <mark style="color:green;">**one**</mark> message. The captain mentioned first will lead the <mark style="color:blue;">Blue team</mark>, and the other will lead the <mark style="color:red;">Red team</mark>.

To cancel a game during Admin selection, you can void the game using the <mark style="color:green;">GameID</mark> with `/void [gameid]`.

### Team select channel

After the Captain select channel (if you have this mode enabled), <mark style="color:red;">InHouseQueue</mark> will create a team selection text channel.

<div align="left"><figure><img src="/files/kgpyrckdFM1ipezt1QSl" alt=""><figcaption></figcaption></figure></div>

1. The 2 captains will take turns selecting players until all players are picked. Captains must @mention the player they want to select. They can only @mention <mark style="color:green;">**one**</mark> player at a time. Only the 2 captains can type in this channel.
2. Once a player is selected, they are removed from the "Available Members" embed and added to the captain's team embed.

<div align="left"><figure><img src="/files/CiDfmXs6G1KsY2PVDa21" alt=""><figcaption></figcaption></figure></div>

1. The default pick order is a snake draft **1-2-2-1**. This means the first captain selects <mark style="color:green;">one</mark> player, then the next captain selects <mark style="color:green;">two</mark> players, and so on. You can change the pick order later by running [`/captain pick_order`](#captain-pick-order).
2. Experiment with different pick orders to see what works best for your server. The second most common pick order is the simple **1-1-1-1-1-1**, where each captain takes turns picking one player.
3. Once the last player is selected, the team selection channel is deleted, and <mark style="color:red;">InHouseQueue</mark> will proceed to create the game.

To cancel a game during team selection, you can void the game using the <mark style="color:green;">GameID</mark> with `/void [gameid]`.

***

## :crown: **Captain first pick**

```
/captain first_pick [first_pick]
```

Determine which captain picks first during captain mode.

#### Options:

* **The Higher MMR player:** The captain with the higher MMR will pick first
* **The Lower MMR player:** The captain with the lower MMR will pick first
* **Blue Side:** The captain on the blue team will pick first
* **Red Side:** The captain on the red team will pick first
* **Default:** The captain who joined the queue first, will pick first.

***

## :crown: **Captain Pick order**

```
/captain pick_order [game]
```

Determine what the pick order should be. The numbers you enter must add up to the total number of players in the game minus the 2 captains.

For example:

* A **5v5** game has 10 players. Since the 2 captains are already part of a team, the numbers in the pick order must add up to **8**.

### Example Valid Pick Orders for 5v5:

1. 1,2,2,2,1
2. 1,1,1,1,1,1,1,1
3. 1,3,3,1

The numbers must be comma-separated.

***

### Example Valid Pick Orders for 4v4:

A **4v4** game has 8 players. Subtract the 2 captains, so the pick order numbers must add up to **6**.

1. 1,2,2,1
2. 1,1,1,1,1,1
3. 2,2,2

***

### Example Valid Pick Orders for 8v8:

A **8v8** game has 16 players. Subtract the 2 captains, so the pick order numbers must add up to **14**.

1. 1,3,3,3,3,1
2. 1,1,1,1,1,1,1,1,1,1,1,1,1,1
3. 2,2,2,2,2,2,2

***

<div align="left"><figure><img src="/files/fnc1HPZ2n1Lz7tfgxC1y" alt=""><figcaption><p>Default Pick Order</p></figcaption></figure></div>

<div align="left"><figure><img src="/files/BNjFJdXztQbduDk62TYd" alt=""><figcaption><p>Pick Order Modal</p></figcaption></figure></div>

<div align="left"><figure><img src="/files/XCCSaGKnr6SDcqhI0mlU" alt=""><figcaption><p>Valid Pick Order for 5v5</p></figcaption></figure></div>

If you select <mark style="color:red;">**Reset to Default**</mark> the pick order returns to Snake draft for your respective Team size. For example, 1-2-2-1 for 5v5.
