Skip to content

ClearZone ​

Description ​

ClearZone removes eligible objects around configured positions once, 60 seconds after the enabled module starts. Buildings, players, vehicles, wells, event triggers and exact classes in the filter are preserved.

Configuration ​

Default configuration ​

ClearZone.json
json
{
    "m_Enable": 0,
    "m_Logging": 1,
    "m_Zones": [
        {
            "m_N": "Skalisty Island",
            "m_X": 13653.80,
            "m_Y": 41.70,
            "m_Z": 3035.60,
            "m_R": 500
        },
        {
            "m_N": "Prison Island",
            "m_X": 2674.35,
            "m_Y": 1.00,
            "m_Z": 1275.50,
            "m_R": 500
        }
    ],
    "m_Filter": [
        "Land_Misc_Well_Pump_Blue",
        "Land_Misc_Well_Pump_Yellow"
    ]
}

Options ​

OptionTypeDescription
m_EnableboolWith 1, schedules automatic startup cleanup. With 0, skips automatic cleanup.
m_LoggingboolWith 1, logs each deletion. With 0, disables these records.
m_Zonesarray<object>Positions to clean automatically.
m_Filterarray<string>Exact classes to preserve during automatic and manual cleanup.

m_Zones[] ​

OptionTypeDescription
m_NstringName identifying the zone.
m_XfloatX coordinate in meters.
m_YfloatElevation in meters.
m_ZfloatZ coordinate in meters.
m_RfloatRadius in meters.

Commands ​

/clearzone ​

Deletes eligible nearby objects around the player and displays the count. Supply one radius in meters, up to 500. /cz is an alias. The command can also run when automatic startup cleanup is disabled. Deletion is permanent.

  • Syntax: /clearzone <radius>
  • Permission: command.clearzone, command.cz for the alias, or root.
  • Example: /clearzone 25

Permissions ​

Grant the relevant command permission through Permissions.

Released under the MIT License.