Documentation
Optional Addon

Vcore-player-fuelstations

Optional VCORE ownership layer for the base `fuel` resource. It adds station purchasing, managed stock, custom retail prices, employees, station finances, deliveries and documentation review history. It does not replace VCORE vehicle fuel, pumps, refuelling or consumption. 1. Keep the resource after `fuel`, `core`, `oxmysql` and `logs` in boot order. 2. Adjust `config.lua`, particularly station purchase prices and optional management points. 3. Tables create automatically by default. Disable `autoCreateTables` only if you manage the schema manually. Stopping or omitting this addon returns every station to the base VCORE Fuel behaviour: configured fixed prices and unlimited pump stock.

Introduction

Optional VCORE ownership layer for the base `fuel` resource. It adds station purchasing, managed stock, custom retail prices, employees, station finances, deliveries and documentation review history. It does not replace VCORE vehicle fuel, pumps, refuelling or consumption. 1. Keep the resource after `fuel`, `core`, `oxmysql` and `logs` in boot order. 2. Adjust `config.lua`, particularly station purchase prices and optional management points. 3. Tables create automatically by default. Disable `autoCreateTables` only if you manage the schema manually. Stopping or omitting this addon returns every station to the base VCORE Fuel behaviour: configured fixed prices and unlimited pump stock.

Version: 1.0.0Optional Resource8 Lua files1 SQL files

Exports

serverGetFuelOffer

Export available from this resource. Check the resource notes and expected parameters before integrating it.

serverReleaseFuel

Export available from this resource. Check the resource notes and expected parameters before integrating it.

serverReserveFuel

Export available from this resource. Check the resource notes and expected parameters before integrating it.

serverSettleFuel

Export available from this resource. Check the resource notes and expected parameters before integrating it.

Callbacks

serverplayer_fuelstations:hire

Callback available from this resource. Confirm parameters and return values before using it.

serverplayer_fuelstations:orderStock

Callback available from this resource. Confirm parameters and return values before using it.

serverplayer_fuelstations:purchase

Callback available from this resource. Confirm parameters and return values before using it.

serverplayer_fuelstations:removeEmployee

Callback available from this resource. Confirm parameters and return values before using it.

serverplayer_fuelstations:rename

Callback available from this resource. Confirm parameters and return values before using it.

serverplayer_fuelstations:sell

Callback available from this resource. Confirm parameters and return values before using it.

serverplayer_fuelstations:setPrice

Callback available from this resource. Confirm parameters and return values before using it.

serverplayer_fuelstations:withdraw

Callback available from this resource. Confirm parameters and return values before using it.

Registered network events

clientplayer_fuelstations:client:forceClose

Registered event for this resource. Confirm the expected payload and intended scope before using it.

clientplayer_fuelstations:client:open

Registered event for this resource. Confirm the expected payload and intended scope before using it.

clientplayer_fuelstations:client:refresh

Registered event for this resource. Confirm the expected payload and intended scope before using it.

serverplayer_fuelstations:server:close

Registered event for this resource. Confirm the expected payload and intended scope before using it.

serverplayer_fuelstations:server:open

Registered event for this resource. Confirm the expected payload and intended scope before using it.

Commands

No registered commands were detected.

Database / SQL

SQL files

  • install/player_fuelstations.sql

Detected tables

  • vcore_player_fuelstation_employees
  • vcore_player_fuelstation_ledger
  • vcore_player_fuelstation_orders
  • vcore_player_fuelstation_reservations
  • vcore_player_fuelstations

Troubleshooting

  • Confirm every manifest dependency above is started first.
  • Import the SQL where the resource includes database files.
  • Use the exact resource folder name shown on this page unless you intentionally change both the folder and configuration.
  • Do not copy internal event names into integrations without checking their implementation.