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
| Option | Type | Description |
|---|---|---|
m_Enable | bool | With 1, schedules automatic startup cleanup. With 0, skips automatic cleanup. |
m_Logging | bool | With 1, logs each deletion. With 0, disables these records. |
m_Zones | array<object> | Positions to clean automatically. |
m_Filter | array<string> | Exact classes to preserve during automatic and manual cleanup. |
m_Zones[]
| Option | Type | Description |
|---|---|---|
m_N | string | Name identifying the zone. |
m_X | float | X coordinate in meters. |
m_Y | float | Elevation in meters. |
m_Z | float | Z coordinate in meters. |
m_R | float | Radius 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.czfor the alias, orroot. - Example:
/clearzone 25
Permissions
Grant the relevant command permission through Permissions.
