Base Resource
housing
The supplied manifest describes this resource as “VCore - Housing”.
Introduction
The supplied manifest describes this resource as “VCore - Housing”.
5Client Lua
5Server Lua
0Exports
27Events
4SQL tables
No manifest UI page detected.
Dependencies & References
| Resource | Detected as | Package status |
|---|---|---|
clothing | Manifest dependency | Included in Base |
core | Manifest dependency | Included in Base |
core_game | Manifest dependency | Included in Base |
doorlocks | Manifest dependency | Included in Base |
inventory | Manifest dependency | Included in Base |
logs | Manifest dependency | Included in Base |
oxmysql | Manifest dependency | External / prerequisite |
shell_models | Manifest dependency | External / prerequisite |
shells | Manifest dependency | Included in Base |
Cross-resource export calls
| Resource | Functions called |
|---|---|
core | getCoreObject |
inventory | GetStashItems, OpenStash |
logs | Log |
shells | CreateShell, DeleteShell |
Installation / Start Order
The supplied server.cfg enables this resource in the Gameplay systems stage at enabled-resource position 56. Base installation also depends on the global prerequisites and consolidated VCORE_INSTALL.sql documented in Getting Started.
server.cfg
ensure housingConfiguration
Config files
config.luaconfigApartments.luaconfigHotels.luaconfigMotels.luaconfigOffices.lua
Top-level config keys detected
ApartmentAgentJobsApartmentExtrasApartmentGaragesApartmentsApartmentShowersApartmentShowerTimeApartmentsLeasePeriodApartmentsMinAgentsApartmentsRenewalPeriodCostThemeChangeCurrencyDefaultShowerTimeEntryValidationDistanceFridgeDecayMultiplierFridgeSlotsFridgeWeightHotelBuildingsHotelElevatorsHotelElevatorsDescHotelExcludedRoomZonesHotelItemsRocoveryFeeHotelLeasePeriodHotelRenewalPeriodHotelRoomsHotelRoomTypesHotelStashMotelBuildingsMotelItemsRocoveryFeeMotelLeasePeriodMotelRenewalPeriodMotelsMotelStashOfficeAgentJobsOfficeExtrasOfficeGaragesOfficeHelipadOfficesOfficesLeasePeriodOfficesMinAgentsOfficesRenewalPeriodShowCitizenidWhenRaidingStashSlotsStashWeightViewingTimeEvents, Exports & Callbacks
Exports
No export definitions were detected.
Callbacks
Server callbacks13
VCORE:SetPlayerRoutingBucketapartments:server:getAccessibleGaragesapartments:server:getAllGaragesapartments:server:getGarageSlotsapartments:server:getOwnedLeasehotels:server:recoverBelongingshousing:server:enterRoomhousing:server:enterSessionmotels:server:recoverBelongingsoffices:server:getAccessibleGaragesoffices:server:getAllGaragesoffices:server:getGarageSlotsoffices:server:getOwnedLease
Registered network events
Client registered events27
VCORE:Client:OnPlayerLoadedVCORE:Client:OnPlayerUnloadapartments:client:allowEntryapartments:client:leaseSuccessapartments:client:openBuildingMenuapartments:client:openManageLeaseMenuapartments:client:returnApartmentsWithAccessapartments:client:returnKeyHoldersapartments:client:ringApartmentapartments:client:showLeaseSetupapartments:client:updateThemehotels:client:leaseSuccessmotels:client:drawOwnedmotels:client:setRoomLockStatusoffices:client:allowEntryoffices:client:leaseSuccessoffices:client:manageOfficeSignOptionsoffices:client:openBuildingMenuoffices:client:openManageLeaseMenuoffices:client:openManageOfficeoffices:client:returnKeyHoldersoffices:client:returnOfficesWithAccessoffices:client:ringOfficeoffices:client:selectSignOptionoffices:client:showLeaseSetupoffices:client:updateOfficeSignoffices:client:updateTheme
Commands
No commands were detected.
Database / SQL
| File | Type |
|---|---|
apartments.sql | Resource SQL file |
housing.sql | Resource SQL file |
motels.sql | Resource SQL file |
offices.sql | Resource SQL file |
apartmentshotelsmotelsofficesThe root Base package also ships the consolidated VCORE_INSTALL.sql.
Source Layout
| Area | Detected files |
|---|---|
| Client Lua | 5 |
| Server Lua | 5 |
| Other/shared Lua | 6 |
| JavaScript | 0 |
| HTML | 0 |
| CSS | 0 |
| SQL | 4 |
Troubleshooting
- Confirm all manifest dependencies are started before
housing. - 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.

