SleepyCode
Home
AboutBlogSubscriptionDocs
Cart0
SleepyCode
Cart0
  • πŸ’£Documentation

Scripts

  • Multicharacter
  • DevTool
  • Fishing
  • πŸ—ƒοΈGarages V2
  • 🚌Bus Job
    • Installation
    • Config File
    • Vehicle Routes
    • Level Achievements
    • Server Configuration
    • Locales
  • πŸš—Vehicle Shop V1
  • πŸ—ƒοΈGarages V1
  • 🍁Selldrugs
  • πŸŽ…Advent Calendar
  1. Docs
  2. /Bus Job
  3. /Config File

Bus Job

Config File

Configure Bus Job settings, cooldowns, payments, zones, passengers, and penalties for FiveM ESX servers.

On this page10 sections
  • General settings
  • Cooldowns
  • Distances
  • Bus outline
  • Payment
  • Penalties
  • Stop time limit
  • NPC passengers
  • Driving score
  • Zones

All client-side settings live in config.lua.

Use this page to adjust gameplay, payouts, zones, and difficulty.

Turn off debug mode on live servers.

General settingsLink copied

Lua
Config.Job      = "unemployed"  -- ESX job name required to use the script (if CheckJob = true)Config.CheckJob = true          -- set to false to allow all players regardless of jobConfig.Debug    = true          -- prints debug info to the server console

Set Config.Debug = false on a live server.

CooldownsLink copied

Lua
Config.Cooldown = {    Spawn  = 3000,  -- delay between bus spawns (ms)    Delete = 2000,  -- delay between bus returns (ms)    Route  = 2500,  -- route action cooldown (ms)    Stop   = 1000,  -- stop action cooldown (ms)}

DistancesLink copied

Lua
Config.Distance = {    Interact = 50.0,  -- interaction radius for the job zone    Spawn    = 5.0,   -- min. distance from other vehicles when spawning    Stop     = 15.0,  -- detection radius for a bus stop    Accident = 10.0,  -- accident detection range}

Bus outlineLink copied

The outline is drawn around your bus so you can always spot it when on foot.

Lua
Config.BusOutline = {    R = 255,  -- red    G = 220,  -- green    B = 0,    -- blue    A = 255,  -- alpha (255 = fully visible)}

PaymentLink copied

Lua
Config.Payment = {    Stop      = { Min = 35,  Max = 55  },  -- base pay per stop    Passenger = { Min = 8,   Max = 15  },  -- extra pay per passenger on board    Bonus     = { Min = 150, Max = 300 },  -- end-of-route bonus    Perfect   = 200,                       -- extra bonus for a perfect route    Night     = 1.5,                       -- multiplier for routes between 22:00–06:00    Weekend   = 1.25,                      -- multiplier on Saturday and Sunday}

Final pay is also affected by: player level, daily bonus multiplier, smooth driving score, and damage penalties.

PenaltiesLink copied

Lua
Config.Penalty = {    Accident           = 50,   -- fine per accident    Missed             = 75,   -- fine for a missed stop    Speed              = 25,   -- fine per speeding violation    Damage             = 100,  -- fine for vehicle damage    DamageThreshold    = 50,   -- damage below this value is ignored    MaxDamageReduction = 0.60, -- maximum pay reduction from damage (60%)    StopTimeout        = 100,  -- fine when stop time limit expires}

Stop time limitLink copied

Lua
Config.StopTimeLimit = 300  -- seconds a player has to reach the next stop

Each stop can also have its own TimeLimit field set directly in Config.Route. If a stop has no TimeLimit, this global value is used.

NPC passengersLink copied

Lua
Config.NPC = {    SpawnDistance  = 200,  -- distance from stop at which NPC passengers spawn    MinSpawn       = 2,    -- minimum passengers waiting at a stop    MaxSpawn       = 8,    -- maximum passengers waiting at a stop    LineSpacing    = 1.2,  -- spacing between NPCs in the queue (metres)    ExitWander     = 10.0, -- wander distance after exiting the bus    ExitWanderTime = 5000, -- how long NPCs wander before being deleted (ms)    ExitDeleteTime = 3000, -- delay before deletion starts (ms)    MaxExitPerStop = 5,    -- max passengers that can exit at one stop}

Driving scoreLink copied

Lua
Config.SmoothDrivingThreshold = 95   -- min. score (0–100) for a route to count as "perfect"Config.MaxAcceleration        = 5.0  -- sudden acceleration above this lowers the scoreConfig.SpeedLimit             = 110  -- speed limit in km/h; exceeding it triggers a fine

ZonesLink copied

Lua
Config.Zone = {    Job         = vec4(451.24, -629.42, 28.53, 260.03),  -- NPC position / ox_target zone    Spawn       = vec4(459.36, -649.14, 28.13, 212.80),  -- where the bus spawns    ReturnPoint = vec4(459.36, -649.14, 28.13, 212.80),  -- where the bus must be returned}

Spawn and ReturnPoint can use the same coordinates or different ones.

← PreviousInstallationBus JobNext β†’Vehicle RoutesBus Job

On this page

  • General settings
  • Cooldowns
  • Distances
  • Bus outline
  • Payment
  • Penalties
  • Stop time limit
  • NPC passengers
  • Driving score
  • Zones
↑ Back to top
Ready when you are

Put your server on something that holds up

150+ servers run our resources - ESX, QBCore and standalone. Once the payment clears, the package is waiting in Keymaster.

Browse the catalogueAsk on Discord β†—
  • Delivered instantly
  • Support with no expiry
  • 100+ reviews
  • Payment via Tebex

SleepyCode

FiveM Scripts

Checkout is run by Tebex Limited- they handle payment, invoicing and refunds. Β© 2026

Community

  • Discord
  • YouTube
  • X (Twitter)

Navigation

  • Home
  • All Scripts
  • ESX Scripts
  • QBCore Scripts
  • Free Scripts
  • About
  • Blog
  • Documentation
  • Support

Legal

  • Privacy Policy
  • Tebex Privacy Policy
  • Terms of Service
  • Impressum

Β© 2026 SleepyCode. Not affiliated with Rockstar Games or Take-Two Interactive.

Powered byTebex