VCORE Ecosystem StudioFrameworkServerClipr
VCORE Studio›Products›Vcore Framework›Resources
Documentation
Docs/Resources/Base/pedcarcleanup
Base Resource

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

Resource folder: pedcarcleanupv2.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

ResourceTypePackage status
coreManifest dependencyIncluded in Base
polyzoneManifest dependencyIncluded in Base
logsReferenced resourceIncluded in Base

Cross-resource export calls

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

Installation / Start Order

Install the resource with its required dependencies, then enable it in your resource start order.

server.cfg
ensure pedcarcleanup

Configuration

Config files

  • config.lua

Top-level config keys

ActionCooldownCommandsDebugDebugZonesEntityControlTimeoutGlobalCleanupIntervalCleanupLogActionsNotifyDurationPermanentCleanupSafetyZones

Events, Exports & Callbacks

Exports

No exports are documented for this resource.

Callbacks

No Vcore callbacks are documented for this resource.

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

This resource does not include a resource-local SQL file.

This resource does not define its own CREATE TABLE statements.

Vcore also includes the consolidated VCORE_INSTALL.sql.

Source Layout

AreaFiles
Client Lua1
Server Lua1
Other/shared Lua2
JavaScript1
HTML1
CSS1
SQL0

Troubleshooting

  • Confirm all manifest dependencies are started before pedcarcleanup.
  • Confirm the resource is enabled in the correct start order.
  • 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.