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. /Server Configuration

Bus Job

Server Configuration

Configure Bus Job webhooks and server-side anti-cheat behavior for FiveM ESX servers.

On this page3 sections
  • Webhook
  • Anti-cheat
  • Discord Webhooks

Server-side settings are stored in config_server.lua.

This file is fully editable.

WebhookLink copied

Lua
ConfigServer.Webhook     = ""            -- Discord webhook URL

Leave Webhook empty to disable Discord notifications entirely.

Anti-cheatLink copied

Lua
ConfigServer.Cheater = function(source)    DropPlayer(source, "Kicked.")    -- add ban logic, logging, alerts, etc. hereend

This function is called automatically whenever server-side exploit detection fires. Triggers include:

  • Invalid vehicle model sent from client
  • Invalid route ID sent from client
  • Stop index out of sequence
  • Payment or passenger count outside allowed range
  • Player too far from the spawn zone

By default this only kicks the player. Add your own ban logic if needed.

Discord WebhooksLink copied

When a webhook URL is set, the script sends an embed to Discord for every key event:

EventColor
Route startedBlue
Route completedGreen
Perfect routeGold
Bus returned + paymentGreen
AccidentOrange
Bus destroyedRed
Level upGold
Achievement unlockedGold
Player disconnected on routeYellow

Each embed includes: player name, license identifier, route name, and relevant stats.

← PreviousLevel AchievementsBus JobNext β†’LocalesBus Job

On this page

  • Webhook
  • Anti-cheat
  • Discord Webhooks
↑ 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