> ## 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.

# Team Jurisdictions

> Automatically enforce where each ER:LC team is allowed to operate using configurable boundaries, warnings, and jurisdiction‑based actions.

***

## What are Team Jurisdictions?

Team Jurisdictions allow you to define where each ER:LC team is permitted to operate.\
If a player leaves their assigned jurisdiction for too long, the system will automatically warn them  and if needed, take action such as respawning the player.

***

## How to use Team Jurisdictions

<Card>
  You can configure **Team Jurisdictions** from your\
  **ER:LC Integration → API** page, located beneath **Safe Zone Enforcement**.
</Card>

### Configuration Options

<Steps>
  <Step title="Assign Jurisdictions to Teams">
    Each team, Police, Sheriff, Fire, and DOT, can be assigned a specific jurisdiction.\
    Leave a team blank if you do not want it to be restricted.
  </Step>

  <Step title="Open Jurisdiction Editor">
    Click this button to view or modify the boundaries of each jurisdiction.\
    You can use preset jurisdictions or create custom ones.
  </Step>

  <Step title="Minutes Allowed Outside of Jurisdiction">
    Set how long a player may remain outside their jurisdiction before receiving a warning.\
    For example, **5 minutes** gives players time to return without immediate actions.
  </Step>

  <Step title="Number of PM Warnings Before Action">
    Choose how many PM warnings a player receives before enforcement occurs.\
    Each warning is sent one minute apart.
  </Step>

  <Step title="Jurisdiction Enforcement Action">
    Select what happens when a player exceeds both the time limit and warning limit.\
    Such as **Respawn the User**, **Make the User wanted** and **Kick the User**.
  </Step>

  <Step title="Exclude Moderators">
    Enable this to prevent moderators and higher staff from being affected by jurisdiction enforcement.
  </Step>
</Steps>

***

## Using the Jurisdiction Editor

The Jurisdiction Editor allows you to view, assign, and create jurisdiction boundaries directly on the ER:LC map.

<Steps>
  <Step title="Select a Jurisdiction">
    Choose from preset jurisdictions such as **Police** or **Sheriff**, or select a custom one.
  </Step>

  <Step title="View or Modify Boundaries">
    Preset jurisdictions cannot be edited, but custom ones can be reshaped by adjusting boundary points on the map.
  </Step>

  <Step title="Create a Custom Jurisdiction">
    Select **+ Create Custom** to draw a new jurisdiction anywhere on the map.
  </Step>

  <Step title="Save Your Changes">
    Click **Save** to apply your updated jurisdiction layout.\
    Changes take effect immediately during active sessions.
  </Step>
</Steps>

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

***

## Example Use Cases

* Restrict Police to city limits while Sheriff covers county areas
* Assign Fire/EMS to a specific district for structured response
* Create custom DOT jurisdictions for roadwork or event zones
* Automatically respawn players who repeatedly leave their assigned area
* Allow moderators to bypass restrictions while still enforcing them for regular players

***

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