Documentation
Docs/Resources/Base/pedcarcleanup
Base Resource

pedcarcleanup

VCORE ambient ped and vehicle cleanup using registered PolyZones. - Define circle, box or poly areas in Config.Zones. - Choose interval, permanent, or both per zone. - Set Config.DebugZones = true to display zone boundaries. - The whole-map scheduler is Config.GlobalCleanup and is disabled by default. - Protected mission, player-occupied and state-bagged entities are never intentionally removed. - /vcorecleanup zones clears configured zones. - /vcorecleanup global performs an immediate whole-map ambient cleanup. - /cleanupcoords opens the VCORE zone configuration helper. Commands require the configured Core permission or ACE vcore.pedcarcleanup.

v2.0.0VCORECore systems

Introduction

VCORE ambient ped and vehicle cleanup using registered PolyZones. - Define circle, box or poly areas in Config.Zones. - Choose interval, permanent, or both per zone. - Set Config.DebugZones = true to display zone boundaries. - The whole-map scheduler is Config.GlobalCleanup and is disabled by default. - Protected mission, player-occupied and state-bagged entities are never intentionally removed. - /vcorecleanup zones clears configured zones. - /vcorecleanup global performs an immediate whole-map ambient cleanup. - /cleanupcoords opens the VCORE zone configuration helper. Commands require the configured Core permission or ACE vcore.pedcarcleanup.

1Client Lua
1Server Lua
0Exports
4Events
0SQL tables

UI page: html/index.html

Dependencies & References

ResourceDetected asPackage status
coreManifest dependencyIncluded in Base
polyzoneManifest dependencyIncluded in Base
logsReferenced by sourceIncluded in Base

Cross-resource export calls

ResourceFunctions called
coregetCoreObject
logsLog
polyzoneAddBoxZone, AddCircleZone, AddPolyZone, IsCoordsInPoly, RemoveZone

Installation / Start Order

The supplied server.cfg enables this resource in the Core systems stage at enabled-resource position 31. Base installation also depends on the global prerequisites and consolidated VCORE_INSTALL.sql documented in Getting Started.

server.cfg
ensure pedcarcleanup

Configuration

Config files

  • config.lua

Top-level config keys detected

ActionCooldownCommandsDebugDebugZonesEntityControlTimeoutGlobalCleanupIntervalCleanupLogActionsNotifyDurationPermanentCleanupSafetyZones

Events, Exports & Callbacks

Exports

No export definitions were detected.

Callbacks

No Vcore callback registrations were detected.

Registered network events

Client registered events3
  • pedcarcleanup:client:cleanup
  • pedcarcleanup:client:notify
  • pedcarcleanup:client:openCoordinates
Server registered events1
  • pedcarcleanup:server:clientResult

Commands

No commands were detected.

Database / SQL

No resource-local SQL file was detected.

No CREATE TABLE statements detected inside this resource.

The root Base package also ships the consolidated VCORE_INSTALL.sql.

Source Layout

AreaDetected files
Client Lua1
Server Lua1
Other/shared Lua2
JavaScript1
HTML1
CSS1
SQL0

Troubleshooting

  • Confirm all manifest dependencies are started before pedcarcleanup.
  • Check the supplied start-order note above; resources absent from server.cfg need an explicit decision before enabling.
  • If database queries fail, import the consolidated Base SQL and any resource-local SQL listed above.
  • If the UI fails, verify the resource's NUI files and ui_page when one is declared.