# Capacity and Queue Management

## Configuring your World's Admission Policy

If you want to control capacity and admission, you can set this when launching from the `Launch World` modal on the dashboard. This will control entry to your world both via Streaming and also via downloaded clients.

<figure><img src="https://1456550285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoWTlPaoHd1McSakqMigu%2Fuploads%2Fgit-blob-02d4fb697016564d7b01c77b1366d699153e97c2%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

There are 3 possible options you can choose from:

* **Open**: no capacity limits are set (regardless of the value you enter for Session Capacity)
* **Automatic**: the capacity limit applies, and people are admitted automatically as soon as space is freed, otherwise they are placed in a queue until people exit your world.
* **Closed**: admissions are controlled via a (manually handled) queue, at which point you can control the flow of entry to the world.

### Closed: Manually Admitting Users in the Queue

When choosing "Closed" as the admission policy, you will be presented with the ability to view and manage the number of users in your queue. This can be found under the "Operations" tab of your world.

<figure><img src="https://1456550285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoWTlPaoHd1McSakqMigu%2Fuploads%2Fgit-blob-7370a37ade8ab03f9082d94275e71e239d89d20b%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

When ready, you add admit a custom number of users from the queue into the world. Alternatively, you can bulk add every person from the queue to the world (up to the maximum capacity initially set):

<figure><img src="https://1456550285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoWTlPaoHd1McSakqMigu%2Fuploads%2Fgit-blob-3f7f01bd60ead6a35938b6801767b19d76523c6b%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

## Additional Configurations

**If you want to disable queuing specifically for downloaded clients:**

* You can modify your world's live config to disable native client queuing. This can be found under `Deployment -> Client -> Deployment Queue -> Respect Queue` :

<figure><img src="https://1456550285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoWTlPaoHd1McSakqMigu%2Fuploads%2Fgit-blob-0f0fa6b46f6973d5e8a9c75b91e12b89462fb5e5%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

**If you want to set a failsafe maximum capacity alongside your admissions policy setting:**

* You can modify your worlds live config to set a maximum number of clients per server. this can be found under `Morpheus -> ConnectionParams -> Server -> Max Number of Clients` :

<figure><img src="https://1456550285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoWTlPaoHd1McSakqMigu%2Fuploads%2Fgit-blob-52db7fa8d8aae4058c351330bf5ba2cf61b97043%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

## <mark style="color:red;">(DEPRECATED)</mark> Capacity System

{% hint style="warning" %}
The old capacity system is being deprecated. While it can still be used, we will no longer be providing support/fixes should you encounter issues.
{% endhint %}

Capacity management & Queuing can be used to cap the number of users able to inhabit a world and manage the rate in which users are able to join. The settings can be found under the Operations tab on a World page. Capacity is defined as the maximum number of available seats in a World.

<figure><img src="https://1456550285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoWTlPaoHd1McSakqMigu%2Fuploads%2Fgit-blob-627e2b9588b2aa3670494d697542bca3a1900dd7%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

When you enable Capacity you shall be asked to set an initial limit. Any further users that attempt to join the world will need to wait until a seat becomes available by an active user leaving the world for over 5 minutes.

To manually control the flow of users into a world you must enable the queue. This is done by using the toggle next to the queue control. Once the queue is enabled you can manually add users to the world by clicking the **Add Users** button. It is possible to add a specific number of users or to add as many queueing users as possible (up to the capacity limit).

{% hint style="warning" %}
Capacity can only be used to manage players entering through streaming - not downloaded clients.
{% endhint %}

{% hint style="warning" %}
Capacity is only tracked from the point you enable - for example if there are 500 players in a world and then capacity is enabled and initially set to 1000 then a further 1000 players could join bringing the total to 1,500. Therefore if you plan to use capacity for a world you should enable it immediately.
{% endhint %}
