# \&maindirectorpassword

Director Option! ([`&director`](https://docs.vdo.ninja/advanced-settings/director-parameters/director))

## Aliases

* `&maindirpass`

## Options

Example: `&maindirectorpassword=SomePassword123`

<table><thead><tr><th width="309">Value</th><th>Description</th></tr></thead><tbody><tr><td>(alphanumeric-characters only)</td><td>the password you want to set for the main director</td></tr></tbody></table>

## Details

`&maindirectorpassword` lets you set a pseudo 'master room password' as a director. It helps avoid getting locked out as the director, if someone else tries to claim the director-role first. ie:\
[`https://vdo.ninja/?director=ROOMNAME&maindirectorpassword=MASTERPASS`](https://vdo.ninja/?director=ROOMNAME\&maindirectorpassword=MASTERPASS)

This will add a [`&token`](https://docs.vdo.ninja/advanced-settings/settings-parameters/and-token) value to the invite/scene links.

![](https://2943598173-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZHXv1G8N0MDxwotaT9%2Fuploads%2F90ee3zZXTzw3vl93JQuM%2Fimage.png?alt=media\&token=da63a61a-5f56-4b12-85b1-483bf6cb5458)

This token is used by the guests to check a remote database server to see who currently 'owns' the token; it persists though, even if the director is not connected.

When using `&maindirectorpassword` as a director, it tells this database that you are the owner, and it will persist even if you aren't connected to VDO.Ninja. The [`&token`](https://docs.vdo.ninja/advanced-settings/settings-parameters/and-token) tells the guest to ignore other logic about who the director is, instead using the info provided by the token-lookup to determine whose the director.

I may change or revoke this feature, depending on how testing goes this week, as it's rather experimental.

## Related

{% content-ref url="../setup-parameters/and-password" %}
[and-password](https://docs.vdo.ninja/advanced-settings/setup-parameters/and-password)
{% endcontent-ref %}

{% content-ref url="codirector" %}
[codirector](https://docs.vdo.ninja/advanced-settings/director-parameters/codirector)
{% endcontent-ref %}

{% content-ref url="../settings-parameters/and-token" %}
[and-token](https://docs.vdo.ninja/advanced-settings/settings-parameters/and-token)
{% endcontent-ref %}
