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

# Safe Zone Enforcement

> Automatically detect and act on safe‑zone violations during ER:LC sessions using configurable warnings, actions, and custom zone boundaries.

***

## What is Safe Zone Enforcement?

Safe Zone Enforcement automatically monitors all defined safe zones during active ER:LC sessions.\
If a player kills another player inside a safe zone, the system will take action - such as kicking, or banning - based on your configured thresholds.

This ensures fair gameplay, protects spawn areas, and prevents intentional safe‑zone abuse without requiring constant manual moderation.

***

## How to use Safe Zone Enforcement

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

### Configuration Options

<Steps>
  <Step title="Enable Safe Zone Enforcement">
    Toggle this setting to turn the feature on or off.\
    When enabled, the system will automatically monitor all safe zones during active sessions.
  </Step>

  <Step title="Warnings Before Action">
    Set how many warnings a player should receive before the system takes action.\
    Setting this to **0** means the action is taken instantly with no warnings.
  </Step>

  <Step title="Action After Warnings">
    Choose what happens once the warning threshold is reached.
  </Step>

  <Step title="Create Moderation Record">
    Decide whether a moderation record should be created when a violation occurs.

    * **Enabled** - every violation is logged
    * **Disabled** - no logs are created
  </Step>

  <Step title="Open Safe Zone Editor">
    Click this button to configure the boundaries of your safe zones.\
    You can edit existing zones or create custom ones.
  </Step>
</Steps>

***

## Using the Safe Zone Editor

The Safe Zone Editor allows you to visually define and adjust safe‑zone boundaries directly on the ER:LC map.

<Steps>
  <Step title="Select an Existing Zone">
    Choose from predefined zones such as **Spawn**, **Spawn 2**, or previously created custom zones.
  </Step>

  <Step title="Modify Zone Boundaries">
    Click on any boundary point to move, reshape, or resize the safe zone.\
    This gives you full control over protected areas.
  </Step>

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

  <Step title="Save Your Changes">
    Click **Save** to apply your updated safe‑zone 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/safezoneenforcementimg.png?fit=max&auto=format&n=lEOimPXEDE-NzFj7&q=85&s=57e1e94f0d233bde3d766a30681c4c26" alt="" style={{ borderRadius: '0.75rem' }} width="1904" height="938" data-path="images/Dashboard/ERLCIntegration/safezoneenforcementimg.png" />
</Frame>

***

## Example Use Cases

* Prevent spawn‑killing by enforcing instant kicks in spawn zones
* Create custom safe zones for events or training sessions
* Log moderation records for safe‑zone violations

***

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