> ## Documentation Index
> Fetch the complete documentation index at: https://docs.melonly.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Vehicle Restrictions

> Create role based restrictions for ERLC vehicles and control which players can drive specific vehicles during sessions.

***

## What are Vehicle Restrictions?

Vehicle Restrictions allow you to lock specific ERLC vehicles behind Discord roles.\
Players who do not meet the required role will be flagged in the panel or reminded in game.\
This is useful for VIP vehicles, Booster vehicles, department vehicles, or any vehicle you want to limit to certain groups.

***

## How to use Vehicle Restrictions

<Card>
  You can configure **Vehicle Restrictions** from your\
  **ERLC Integration → API** page, located beneath **Priority Requests**.
</Card>

### Configuration Options

<Steps>
  <Step title="Allow Access if ANY Restriction is Met">
    Enable this if you want players to meet only one of the overlapping restrictions to drive a vehicle.\
    When disabled, players must meet all restrictions that apply to that vehicle.
  </Step>

  <Step title="Create a New Restriction">
    Click **Create Restriction** to open the Vehicle Restriction Editor.\
    Each restriction contains a name, a required Discord role, and a list of allowed vehicles.
  </Step>

  <Step title="Edit or Delete Restrictions">
    Existing restrictions can be edited or removed at any time.\
    Editing allows you to update the role or change the allowed vehicles.
  </Step>
</Steps>

<Frame caption="">
  <img className="block" src="https://mintcdn.com/melonly/lEOimPXEDE-NzFj7/images/Dashboard/ERLCIntegration/vehiclerestrictionsimg1.png?fit=max&auto=format&n=lEOimPXEDE-NzFj7&q=85&s=db50fbf2c658cabb69ceff6d1492ae24" alt="" style={{ borderRadius: '0.75rem' }} width="1904" height="938" data-path="images/Dashboard/ERLCIntegration/vehiclerestrictionsimg1.png" />
</Frame>

***

## Using the Vehicle Restriction Editor

The Vehicle Restriction Editor allows you to create and manage restrictions with full control.

<Steps>
  <Step title="Name the Restriction">
    Enter a clear name such as VIP Vehicles or Booster Access.\
    This helps staff understand the purpose of the restriction.
  </Step>

  <Step title="Select a Discord Role">
    Choose the role that players must have to drive the vehicles in this restriction.\
    Only players with this role will be allowed to use the selected vehicles.
  </Step>

  <Step title="Choose Allowed Vehicles">
    Select up to 3 vehicles for normal servers or up to 30 vehicles with Melonly Plus.\
    These are the vehicles that will require the selected role.
  </Step>

  <Step title="Save the Restriction">
    Click **Save** to apply the restriction.\
    It will appear in your list of active restrictions.
  </Step>
</Steps>

<Frame caption="Vehicle Restriction Editor">
  <img className="block" src="https://mintcdn.com/melonly/lEOimPXEDE-NzFj7/images/Dashboard/ERLCIntegration/vehiclerestrictionsimg2.png?fit=max&auto=format&n=lEOimPXEDE-NzFj7&q=85&s=1a92c980bf7d83d3d3917ce20bf56bba" alt="" style={{ borderRadius: '0.75rem' }} width="1904" height="938" data-path="images/Dashboard/ERLCIntegration/vehiclerestrictionsimg2.png" />
</Frame>

***

## Example Use Cases

* Create VIP only vehicles for supporters
* Restrict department vehicles to trained members
* Allow Booster exclusive vehicles
* Limit high performance vehicles to trusted roles
* Flag players who attempt to drive restricted vehicles without permission

***

<Card title="Need help?" icon="headset" href="https://melonly.xyz/discord">
  Still have questions? Join our Discord server for support from the Melonly Team.
</Card>
