Documentation
Base Resource

crime

The supplied manifest describes this resource as “VCore - Crime”.

v1.0.0VCore FrameworkCore systems

Introduction

The supplied manifest describes this resource as “VCore - Crime”.

6Client Lua
8Server Lua
4Exports
11Events
1SQL tables

No manifest UI page detected.

Dependencies & References

ResourceDetected asPackage status
coreManifest dependencyIncluded in Base
dispatchManifest dependencyIncluded in Base
inventoryManifest dependencyIncluded in Base
oxmysqlManifest dependencyExternal / prerequisite
vcore_minigamesManifest dependencyIncluded in Base
logsReferenced by sourceIncluded in Base
medicalReferenced by sourceIncluded in Base

Cross-resource export calls

ResourceFunctions called
coregetCoreObject
dispatchGetGenderedName
inventoryAddItem, DrainStash, GetItemAmount, GetPlayerItems, OpenStash, PeekStash, RemoveItem, RemoveItemAtSlot
logsLog
medicalRevivePlayer

Installation / Start Order

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

server.cfg
ensure crime

Configuration

Config files

  • config.lua
  • configBurglary.lua
  • configCornerSelling.lua
  • configEscapes.lua
  • configMoneyWash.lua
  • configStores.lua

Top-level config keys detected

BurglaryChanceToGainDealerRepCooldownBetweenSalesCornerSellingBlacklistedZonesCornerSellingGlobalDrugsCornerSellingRangeCornerSellingZoneOverridesCornerSellPedModelsCornerSellVehicleModelsCornserSellingDefaultRepScaleSettingsCornserSellingRepScaleCurrencyDebugEscapesInitalSellingDelayLowballSaleMultiplierMaxTesterRepMinPoliceCornerSellingMoneyWashChanceToGainRepMoneyWashRunsEnabledMoneyWashRunsLowBallMultiplierMoneyWashRunsLowRiskCooldownMultiplierMoneyWashRunsLowRiskReportMultiplierMoneyWashRunsLowRiskValueMultiplierMoneyWashRunsMissionGiverMoneyWashRunsRepScaleMoneyWashRunsVehicleOptionsMoneyWashRunsZonesMoneyWashValuesPedApproachSpeedsPublicMoneyWashRobCashRegisterItemRobSafeItemSmashAndGrabStoreCashRegisterLootTimeStoreClerkScareAddersStoreClerkShotgunChanceStoreCooldownStoreDoorKeyChanceStoreItemsLootTimeStoreReqPoliceStoreRewardsStoreRobMeleeWeaponsStoreRobWeaponBlacklistStoresStoreSafeLootTimeTesterMultiplierTesterPriceMultiplierTimeoutDrugOfferZoneLabels

Events, Exports & Callbacks

Exports

Client exports1
  • GetPlayerDrugs
Server exports2
  • CanSmashAndGrab
  • GetPlayerDrugs
Shared exports1
  • GetMoneyWashValues

Callbacks

Server callbacks5
  • burglaries:server:GetHouseRobData
  • crime:server:createCornerOffer
  • moneywash:server:createRunOffer
  • moneywash:server:getStatus
  • stores:server:canRob

Registered network events

Client registered events8
  • VCORE:Client:OnPlayerLoaded
  • VCORE:Client:OnPlayerUnload
  • burglaries:client:Enter
  • burglaries:client:ExitHouse
  • crime:escapes:client:cuffCut
  • crime:escapes:client:medicalTreatment
  • storeRob:client:handleClientClerk
  • storeRob:client:scareClerk
Server registered events3
  • crime:server:holdStolenItem
  • crime:server:recoverStolenItem
  • inventory:server:inventoryClosed

Commands

Client commands1
  • breach

Database / SQL

FileType
publicmoneywash.sqlResource SQL file
publicmoneywash

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

Source Layout

AreaDetected files
Client Lua6
Server Lua8
Other/shared Lua8
JavaScript0
HTML0
CSS0
SQL1

Troubleshooting

  • Confirm all manifest dependencies are started before crime.
  • 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.