🏭Bilgeco HQ & Warehouse

Logistics & Warehouse (+ warehouse script)

Official asset for FiveM — available on CFX Portal and Prompt’s Mods Store

Installation Instructions

1

download Download the resource from the CFX Portalarrow-up-right.

After downloading, you will get a folder named:

Drag and drop the downloaded folder inside your resources directory. When done, the full path should look like this:

2

folder-open Open your server.cfg and add this line:

Save the file once done.

3

gear-code Config

Open config.lua and adjust settings to your liking Configuration. Framework is auto-detected (QBCore, QBox, ESX). No extra setup needed unless you use a custom money system.

4

bottle-baby Install Depencencies

Dependency
Required
Notes

ox_lib

No

Required only for the elevator system (4 elevators between 3 floors). Without it, elevators are disabled. (Using Static Elevators) Packing job, forklift job, freight platform, payment, and economy all work without it.

QBCore / QBox / ESX

No

For payment and job restriction. Auto-detected. Standalone also supported.

5

repeat Restart your server and verify both locations:

Location
Coordinates

Main Building

-1015.06, -2145.97, 13.42

Warehouse

-1098.4, -2068.99, 15.59

If both interiors appear, installation is complete ✅ Join Discordarrow-up-right


chevron-rightengine-warning Known Issue:hashtag

During the animation of the forklift. IF THE USER DOESN'T MOVE AT ALL - the vehicle won't be able to recognise that collision has moved

In our experience - this is the RAGE (GTA5) engine limitation (it cached collisions in your memory while you are not moving)

If you have any ideas on how to fix this issue for players that only stay on the lift - let us know.

gear-code Configuration

chevron-rightPayment & Frameworkhashtag

Framework is auto-detected on startup. Force one manually if needed.

chevron-rightJob Restrictionhashtag

Gate the job behind a framework job check. Disabled by default.

chevron-rightBox Economyhashtag
Mode
Behaviour

infinite

Workers can always pack. No cap. Default.

limited

Each product type caps at maxStockPerType. Packing blocked when full. Frees up as boxes are collected.

chevron-rightToggleshashtag
Config
Effect

Config.enableLogisticsJob = false

Disables all jobs

Config.allowPalletBoxPickup = false

Disables hand-carry pickup only — economy still runs

Config.debug = true

Prints debug messages to server console

chevron-rightStandalone Paymenthashtag

If no framework is detected (or you set Config.framework = 'standalone'), open prompt_logistics_corp_script/dist/server/money.lua and fill in the -- STANDALONE block inside AddMoney():

source, amount, and reason are already in scope.

chevron-rightVehicle Keys (Forklift)hashtag

Automatically gives forklift keys when a shift starts and removes them when it ends. Supports popular key-lock scripts out of the box.

System
Notes

auto

Detects installed key script automatically (default)

qbx_vehiclekeys

Force QBox vehicle keys

wasabi_carlock

Force Wasabi Car Lock

custom

Define your own logic in dist/server/server.lua

none

Disable key management entirely

For custom, open prompt_logistics_corp_script/dist/server/keys.lua and fill in the -- CUSTOM blocks inside GiveVehicleKey() and RemoveVehicleKey(). Variables src (player id), vehicle (entity handle), and plate (license plate string) are already in scope.


warehouse Warehouse Jobs

box Packing Job

chevron-rightHow it workshashtag
  1. Walk up to a packing station and press E to claim it.

  2. A random product type is chosen (Impotent Rage, Pisswasser, or Phones).

  3. Place items into the box using the mouse, press E to seal.

  4. The box rides the conveyor out — payment fires when it leaves.

  5. The box is added to warehouse stock (visible on pickup pallets).

Economy flow:

Boxes must be produced before they can be collected. Stock starts at 0 each server boot and increases only when workers pack boxes. Counts survive /restart but reset on full server reboot.

chevron-rightServer Exportshashtag

All exports are server-side only.

getBoxCount(packageName) → number

getAvailableStock() → table

takeBoxes(packageName, amount) → boolean Atomically removes boxes from stock. Returns false if not enough (nothing removed).

addBoxes(packageName, amount) → boolean Adds boxes back to stock. Returns false if it would exceed the cap in limited mode.

Valid package names:

chevron-rightServer Eventshashtag
chevron-rightGlobalState Keyshashtag

Readable from any resource, client or server side:

chevron-rightIntegration Examplehashtag

A trucking script that picks up boxes from the warehouse:


forklift Forklift Job

chevron-rightHow it workshashtag
  1. Walk to a forklift start marker and press E to begin. A forklift spawns automatically.

  2. Drive to a pickup pallet (orange marker), align the forks, and attach it.

  3. Transport the pallet to the drop zone (green marker, visible from distance).

  4. Payment of payPerPalletMoved fires on each successful delivery.

  5. Return to the start marker and press X to end the job and despawn the forklift.

chevron-rightJob Variantshashtag

There are two separate forklift jobs, each with its own start marker:

Variant
What you do
Pickup
Drop-off

Load Deliveries

Move pallets from shelves to trucks

Upstairs shelving (20 locations)

Loading zone downstairs (4 locations)

Stock Storage

Move pallets from ground to shelves

Ground floor (4 locations)

Upstairs shelf locations (20 locations)

Both variants pay the same amount per delivery (Config.money.payPerPalletMoved).

chevron-rightForklift Pallets vs Box Economyhashtag
circle-info

Forklift pallets are **completely independent** from the box packing economy. They are static warehouse props placed at fixed shelf and floor locations — not tied to `GlobalState` stock counts.

The packing job produces boxes → the forklift job moves pallets. They are two separate gameplay loops that happen to exist in the same warehouse.

chevron-rightPayment Confighashtag

Payment uses the same framework auto-detection and Config.moneyType as the packing job. No separate config needed.

chevron-rightCustom Forkliftshashtag

The resource ships with a default forklift model. To add your own custom forklift vehicles:

  • modelName — the hashed model name of your custom vehicle

  • forksAttachBoneName — the bone on your vehicle model where pallets attach


toolbox Other Systems

chevron-rightFreight Platformhashtag

Press E near the platform to toggle up/down. Server-authoritative — all players see it move in sync.

chevron-rightElevator (requires ox_lib)hashtag

Four elevators across three floors. Press E inside to select a floor, or E outside to call it.


chair Custom Props

chevron-rightMain Buildinghashtag
Prop Name

prompt_dlclogistic_prop_desk1

prompt_dlclogistic_prop_meetingtable01

prompt_dlclogistic_prop_meetingtable02

prompt_dlclogistic_prop_table_03

prompt_dlclogistic_prop_coftable01

prompt_dlclogistic_prop_safedoor

prompt_dlclogistic_prop_chair1

chevron-rightWarehousehashtag
Prop Name

prompt_dlclogistic_int2_prop_desk01_a

prompt_dlclogistic_int2_prop_desk01_b

prompt_bcorp_prop_boxpile_02b

prompt_bcorp_prop_boxpile_02c

prompt_bcorp_prop_boxpile_02d

prompt_bcorp_prop_boxpile_03a

prompt_bcorp_prop_boxpile_04a

prompt_bcorp_prop_boxpile_05a

prompt_bcorp_prop_boxpile_06a

prompt_bcorp_prop_boxpile_06b

prompt_bcorp_prop_boxpile_07d

prompt_bcorp_prop_boxpile_08a

prompt_bcorp_prop_rub_cage01a

prompt_bcorp_prop_rub_cage01b

prompt_bcorp_prop_rub_cage01c

prompt_bcorp_prop_rub_cage01d

chevron-rightDoorlock SQLhashtag

comment-question Troubleshooting

chevron-rightInterior not spawninghashtag
  • Ensure prompt_logistics_corp is started in server.cfg.

  • Verify stream folders aren't missing or renamed.

  • Check the server console for errors on startup.

chevron-rightElevator not workinghashtag

Confirm ox_lib is installed and started before this resource.

chevron-rightPayment not workinghashtag
  • Check Config.money.enabled is true.

  • If using standalone, make sure you filled in the standalone block in money.lua.

  • Enable Config.debug = true and check server console for [Logistics Money] messages.

chevron-rightBox count doublinghashtag

Make sure prompt_logistics_corp_script/dist/server/*.lua is not listed in both shared_scripts and server_scripts in fxmanifest.lua.


Need help? Open a ticket on our support Discord with the resource name, console errors, and a screenshot.

Join Discordarrow-up-right

Last updated