# Whitelist

## Social Requirements

The `Social Requirements` section allows you to require that CMS accounts be linked to both Discord and Roblox accounts. When users have both social accounts connected, the ER:LC panel and Discord integrations can operate with full functionality.

### Enabling Social Requirements

<details>

<summary>Enabling Social Requirements</summary>

Toggle the `Roblox` and/or `Discord` requirement(s). Then, define custom actions to trigger when a user joins your ER:LC panel without having a linked Roblox or Discord account in the CMS.

Available actions include public or private in-game messages, Discord webhooks, push notifications, and more.

<div><figure><img src="https://3006847189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdBOa9OFjtdqw9FdXli%2Fuploads%2Fgit-blob-f7d1413135c5c83542bdb0e7734a502f499dcb86%2Fimage.png?alt=media" alt="" width="375"><figcaption></figcaption></figure> <figure><img src="https://3006847189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdBOa9OFjtdqw9FdXli%2Fuploads%2Fgit-blob-47a2e0b83ccafe3eebb87a41c660a450d3519548%2Fimage.png?alt=media" alt="" width="243"><figcaption></figcaption></figure></div>

</details>

## Allow and Deny Players Whitelist

<details>

<summary>Allow and Deny List</summary>

The allow and deny lists let you control game access based on CMS ranks. These lists are activated once one or more ranks are configured.

When enabled, only users with a Roblox account linked to a CMS account that holds an **allowed rank** can join the server. Users without an allowed rank will be kicked automatically.

If a user’s CMS rank appears on the **deny list**, that restriction overrides the allow list — those users will be kicked upon joining.

<figure><img src="https://3006847189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdBOa9OFjtdqw9FdXli%2Fuploads%2Fgit-blob-47035629e18e886a3a21b9a85ab57467f72236c2%2Fimage.png?alt=media" alt="" width="375"><figcaption></figcaption></figure>

</details>

## Team Locks and Restrictions

### Team Locks

Each ER:LC team can be locked down to a maximum amount of players. Teams can be locked via the CMS **Lock** icon, or via Discord bot command.

#### Lock via CMS

<details>

<summary>Lock via CMS</summary>

Next to the team, select the **Lock** icon to enable or disable the lock, then enter a number into the **Max**&#x20;

Use the **Shield** icon to add CMS ranks that bypass and ignore this lock.

<figure><img src="https://3006847189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdBOa9OFjtdqw9FdXli%2Fuploads%2FpYg2mz9lcYRc5lgUitgt%2Fimage.png?alt=media&#x26;token=9a869fa7-5267-4c0b-ad12-0b7bddaadbc1" alt="" width="375"><figcaption></figcaption></figure>

</details>

#### Lock via Discord

<details>

<summary>Lock via Discord</summary>

Team locks can also be configured via [Discord bot](https://docs.sonoransoftware.com/cms/integration-capabilities/discord-bot-integration) by using the `/erlc lock` and `/erlc unlock` commands.

<figure><img src="https://3006847189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdBOa9OFjtdqw9FdXli%2Fuploads%2FA2lf0XAOj7ayk7FfCxSP%2Fimage.png?alt=media&#x26;token=555bdec8-60c1-4812-b26d-ba52dc363e2b" alt=""><figcaption></figcaption></figure>

</details>

#### Lock Actions

<details>

<summary>Lock Actions</summary>

When a player joins a team that has already reached its maximum amount of players, custom actions can be used to kick the user off of the team, send a message, Discord webhook, and more!

Select **Actions** next to the team > Add a new action > And toggle the mode to **Lock** to apply this action whenever a team lock is reached.

<figure><img src="https://3006847189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdBOa9OFjtdqw9FdXli%2Fuploads%2F2QOQ40l5ZRcDQ5R26kPQ%2Fimage.png?alt=media&#x26;token=f74c8a0a-f9b1-4ba8-9aae-85857a6582db" alt="" width="375"><figcaption></figcaption></figure>

<div><figure><img src="https://3006847189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdBOa9OFjtdqw9FdXli%2Fuploads%2F8NMIXmyyS355Cv9JnH4K%2Fimage.png?alt=media&#x26;token=d86b4e93-5f85-45a9-8d34-43e1aa3f539c" alt="" width="286"><figcaption></figcaption></figure> <figure><img src="https://3006847189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdBOa9OFjtdqw9FdXli%2Fuploads%2F6jjyOThDFnJHCaC9YBKa%2Fimage.png?alt=media&#x26;token=66e6d6e5-8c12-4741-841d-a70d9a15ce80" alt="" width="286"><figcaption></figcaption></figure></div>

</details>

### Team Restrictions

<details>

<summary>Team Restrictions</summary>

Each team can also be locked to users with specific CMS ranks.

Select the **Shield** icon to configure which ranks are allowed to join the team.

Select the **Actions** panel to create actions that apply when a user joins a team without the proper CMS rank.

<div><figure><img src="https://3006847189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdBOa9OFjtdqw9FdXli%2Fuploads%2Fz8ndonHPySM8GLdg6Fv9%2Fimage.png?alt=media&#x26;token=ee68ffcf-8819-430b-928d-f6fe732fd88b" alt=""><figcaption></figcaption></figure> <figure><img src="https://3006847189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdBOa9OFjtdqw9FdXli%2Fuploads%2FBcGY50rZJ7YvXA3DttMy%2Fimage.png?alt=media&#x26;token=07983cb7-1c0f-4838-aae4-955bd4f84364" alt=""><figcaption></figcaption></figure></div>

</details>

## Vehicle & Livery Restrictions

<details>

<summary>Vehicle &#x26; Livery Restrictions</summary>

Vehicles and vehicle liveries can also be restricted to users with specific CMS ranks.

Just like teams, select the **Shield** icon to which ranks are allowed to use the vehicle and vehicle liveries.

Select the **Actions** panel to create actions that apply when a user uses a vehicle or livery without the proper CMS rank.

<div><figure><img src="https://3006847189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdBOa9OFjtdqw9FdXli%2Fuploads%2Fx1rhOIfQSWJcqC3ppIfq%2Fimage.png?alt=media&#x26;token=cb8fdab4-b49b-445a-83e1-7d2cbe464617" alt="" width="375"><figcaption></figcaption></figure> <figure><img src="https://3006847189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdBOa9OFjtdqw9FdXli%2Fuploads%2Fgit-blob-7dbc71361d460cff94313d6a9c699abd9d588ec3%2Fimage.png?alt=media" alt="" width="246"><figcaption></figcaption></figure></div>

</details>

## AOP (Area-of-Play)

<details>

<summary>AOP Restrictions</summary>

Some communities wish to restrict users to an AOP (area-of-play) on the map.

In the CMS, use the polygon, square, or circle tool to create a custom AOP. Once created, the AOP can be enabled and disabled. Select the **Actions** tab to configure custom CMS automations that will fire once a player is outside of all enabled AOPs.

Select the **Rank** button to add CMS ranks that bypass AOP restrictions.

<figure><img src="https://3006847189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdBOa9OFjtdqw9FdXli%2Fuploads%2F8gmTu7k7OWTAfYWyAH1x%2Fimage.png?alt=media&#x26;token=8c899965-cc99-41cc-9600-2e498f4e58f0" alt=""><figcaption></figcaption></figure>

</details>
