polyzone
Shared spatial-zone library used by VCore resources. Start it before resources that create zones. Use Core’s VCORE.Functions zone helpers where possible. Direct exports include AddBoxZone, AddCircleZone, AddPolyZone, AddEntityZone, RemoveZone, IsInZone and coordinate checks. Zone creation commands: /pzcreate, /pzadd, /pzundo, /pzfinish, /pzlast and /pzcancel. /pzdebug [distance] draws nearby zones. Generated definitions are written to polyzonecreatedzones.txt. Geometry derives from mkafrin/PolyZone and remains covered by the included MIT licence.
Introduction
Shared spatial-zone library used by VCore resources. Start it before resources that create zones. Use Core’s VCORE.Functions zone helpers where possible. Direct exports include AddBoxZone, AddCircleZone, AddPolyZone, AddEntityZone, RemoveZone, IsInZone and coordinate checks. Zone creation commands: /pzcreate, /pzadd, /pzundo, /pzfinish, /pzlast and /pzcancel. /pzdebug [distance] draws nearby zones. Generated definitions are written to polyzonecreatedzones.txt. Geometry derives from mkafrin/PolyZone and remains covered by the included MIT licence.
No manifest UI page detected.
Dependencies & References
| Resource | Detected as | Package status |
|---|---|---|
core | Referenced by source | Included in Base |
Cross-resource export calls
| Resource | Functions called |
|---|---|
core | getCoreObject |
Installation / Start Order
The supplied server.cfg enables this resource in the Runtime and framework prerequisites stage at enabled-resource position 11. Base installation also depends on the global prerequisites and consolidated VCORE_INSTALL.sql documented in Getting Started.
ensure polyzoneConfiguration
Config files
creation/server/config.lua
Top-level config keys detected
ConfigFormatEnabledEvents, Exports & Callbacks
Exports
Client exports16
AddBoxZoneAddCircleZoneAddEntityZoneAddPolyZoneAddZoneEventBoxZoneCircleZoneComboZoneDrawZoneByIdEntityZoneIsCoordsInPolyIsCoordsInZoneByNameIsInZonePolyZoneRemoveZoneStopZoneDraw
Server exports1
TriggerZoneEvent
Callbacks
No Vcore callback registrations were detected.
Registered network events
Client registered events12
VCORE:Client:OnPlayerLoadedVCORE:Client:OnPlayerSpawnedVCORE:Client:OnPlayerUnloadpolyzone:client:addZonepolyzone:client:removeZonepolyzone:pzaddpolyzone:pzcancelpolyzone:pzcreatepolyzone:pzfinishpolyzone:pzlastpolyzone:pzundopolyzone:toggledebug
Server registered events5
PolyZone:TriggerZoneEventpolyzone:printBoxpolyzone:printCirclepolyzone:printPolypolyzone:server:toggledebug
Commands
Client commands7
pzaddpzcancelpzcomboinfopzcreatepzfinishpzlastpzundo
Server commands1
pzdebug
Database / SQL
No resource-local SQL file was detected.
The root Base package also ships the consolidated VCORE_INSTALL.sql.
Source Layout
| Area | Detected files |
|---|---|
| Client Lua | 7 |
| Server Lua | 3 |
| Other/shared Lua | 6 |
| JavaScript | 0 |
| HTML | 0 |
| CSS | 0 |
| SQL | 0 |
Troubleshooting
- Confirm all manifest dependencies are started before
polyzone. - 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_pagewhen one is declared.

