> For the complete documentation index, see [llms.txt](https://crimvex-studio.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://crimvex-studio.gitbook.io/docs/scripts/crimvex-trucker-job/shared-config.lua.md).

# shared/config.lua

## Configuration

***

### config.lua

```
--[[
    CS Trucker Job
    Author: Crimvex Studios
    Support: https://discord.gg/crimvex
]]

Config = {}

Config.Debug = true

Config.TruckerJobCords = vector4(1210.12, -3117.54, 5.54 - 1, 83.35)

Config.JobMapBlip = {
    icon = 478,
    text = "Trucker Job",
}

Config.FuelSystem = "" -- LegacyFuel | ox_fuel

Config.Webhook = {
    url = "YOUR_WEBHOOK_URL_HERE",
    enableWebhookLogs = false,
}

Config.xpPerLevel = 1000                -- XP required per level
Config.TruckerJobTruckDispawnTime = 180 -- truck despawn timer in seconds

Config.TruckReturnPoint = vector3(1245.79, -3165.21, 5.6) -- Truck Return Point Location

```

#### Debug Mode

Config.Debug = true

Enables debug logs in console. Recommended:

* true → Development
* false → Production

***

From here, you can change the job location by modifying the truck job’s coordinates.

```
Config.TruckerJobCords = vector4(1210.12, -3117.54, 5.54 - 1, 83.35)
```

***

#### Job Map Blip

Config.JobMapBlip = { icon = 478, text = "Trucker Job", }

Controls the map blip for truck job location.

* icon → Blip sprite ID
* text → Name shown on map

***

#### Fuel System

Config.FuelSystem = ""

Supported values:

* "LegacyFuel"
* "ox\_fuel"
* "" (disabled)

If empty, fuel system will not be applied to job vehicles.

***

#### Webhook System

Config.Webhook = { url = "YOUR\_WEBHOOK\_URL\_HERE", enableWebhookLogs = false, }

Used for Discord logging.

* url → Your Discord webhook
* enableWebhookLogs → true/false

Logs:

* Completed jobs
* Player rewards
* Job data

***

#### XP Per Level

Config.xpPerLevel = 1000

Defines how much XP is required per level.

Example:

* Level 1 → 1000 XP
* Level 2 → 2000 XP

***

#### Truck Despawn Timer

Config.TruckerJobTruckDispawnTime = 180

Time (in seconds) after which inactive truck will be removed.

Helps:

* Prevent server clutter
* Optimize performance

***

#### Truck Return Point

Config.TruckReturnPoint = vector3(1245.79, -3165.21, 5.6)

Location where player must return truck to complete job.

***
