Documentation
Base Resource

fuel

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

v1.0.0VCore FrameworkCore systems

Introduction

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

3Client Lua
2Server Lua
10Exports
2Events
0SQL tables

No manifest UI page detected.

Dependencies & References

ResourceDetected asPackage status
bankingManifest dependencyIncluded in Base
coreManifest dependencyIncluded in Base
inventoryManifest dependencyIncluded in Base
logsManifest dependencyIncluded in Base
polyzoneManifest dependencyIncluded in Base
player_fuelstationsReferenced by sourceExternal / optional reference

Cross-resource export calls

ResourceFunctions called
bankingDepositToPrimaryAccount, GetPrimaryAccountBalance, WithdrawFromPrimaryAccount
coregetCoreObject
inventoryAddItem, GetItemAmount, GetPlayerItems, RemoveItem, UpdateItemMetadata
logsLog
player_fuelstationsGetFuelOffer, ReleaseFuel, ReserveFuel, SettleFuel

Installation / Start Order

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

server.cfg
ensure fuel

Configuration

Config files

  • No dedicated config file detected.

Top-level config keys detected

No Config/VCOREConfig keys detected by the audit.

Events, Exports & Callbacks

Exports

Client exports6
  • GetFuel
  • GetFuelType
  • SetFuel
  • SetFuelType
  • getFuel
  • setFuel
Server exports4
  • GetDefaultFuel
  • GetFuel
  • InitializeVehicle
  • SetFuel

Callbacks

Server callbacks6
  • fuel:server:begin
  • fuel:server:beginCanRefill
  • fuel:server:beginJerryCan
  • fuel:server:buyJerryCan
  • fuel:server:finish
  • fuel:server:getRefillableJerryCan

Registered network events

Client registered events1
  • fuel:client:useJerryCan
Server registered events1
  • fuel:server:cancel

Commands

Client commands1
  • fueltype

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 Lua3
Server Lua2
Other/shared Lua3
JavaScript0
HTML0
CSS0
SQL0

Troubleshooting

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