RLS Studios
ProjectsPatreonCommunityDocsAbout
Join Patreon
BeamNG Modding Docs

Guides

Reference

server/commands - Camera & Input Commandsge_utils - Game Engine Utility Functionsmain.lua - GE Lua Entry Point & Game Loopmap.lua - Navigation Graph (AI Road Map)screenshot.lua - Screenshot Systemserver/server - Level Loading & Game ServerserverConnection - Client-Server Connection Manager`setSpawnpoint` - Default Spawn Point Persistence`simTimeAuthority` - Simulation Time & Bullet Time Control`spawn` - Vehicle Spawning & Safe Placement`suspensionFrequencyTester` - Suspension Natural Frequency Analysis
Career BranchesCareer System CoreCareer Save System
Career Computer MenuCareer Fuel SystemInspect VehicleVehicle InventoryLinear TutorialLoaner VehiclesCareer LogLogbookMarketplaceMission WrapperCareer Painting ModuleCareer Part Inventory ModuleCareer Part Shopping ModuleCareer Payment ModuleCareer Permissions ModuleCareer Playbook Writer ModuleCareer Player Abstract ModuleCareer Player Attributes ModuleCareer Player Driving ModuleCareer Quick Travel ModuleCareer Rentals ModuleCareer Reputation ModuleCareer Spawn Points ModuleCareer Speed Traps ModuleCareer Test Drive ModuleCareer Tether ModuleCareer Tuning ModuleCareer UI Utils ModuleCareer Unlock Flags ModuleCareer Value Calculator ModuleVehicle Class GroupingVehicle Deletion ServiceVehicle PerformanceVehicle Shopping

UI

Resources

BeamNG Game Engine Lua Cheat SheetGE Developer RecipesMCP Server Setup

// RLS.STUDIOS=true

Premium Mods for BeamNG.drive. Career systems, custom vehicles, and immersive gameplay experiences.

Index

HomeProjectsPatreon

Socials

DiscordPatreon (RLS)Patreon (Vehicles)

© 2026 RLS Studios. All rights reserved.

Modding since 2024

API ReferenceGE Extensionscareermodules

Career Playbook Writer Module

M.dependencies = {'career_career'}

Dependencies

M.dependencies = {'career_career'}

Simple mission history logger. Records each mission played with its star count into a JSON playbook file for career analytics and progression tracking.


Internal State

FieldTypeDescription
M.onClientStartMissionvariesAssigned as onClientStartMission

Public API

FunctionSignatureDescription
M.addMissionPlayedEntry(missionId, stars)Appends a {missionId, stars} entry to the playbook

Lifecycle Hooks

HookPurpose
M.onExtensionLoadedLoads playbook from save file on career start
M.onCareerActiveReloads playbook data when career becomes active
M.onSaveCurrentSaveSlotWrites playbook JSON to save directory

Dependencies

  • career_career - active check
  • career_saveSystem - save slot path and JSON write utilities

Data Format

Stored at <savePath>/career/playbook.json as an array:

{
  { missionId = "drag_race_01", stars = 3 },
  { missionId = "delivery_05",  stars = 2 },
  -- ...
}

Usage Example

-- Record a completed mission
career_modules_playbookWriter.addMissionPlayedEntry("drift_challenge_03", 2)

See Also

  • playerAttributes - Attribute log for financial/gameplay history

Career Permissions Module

Centralized permission system for career actions. Other modules hook into `onCheckPermission` to grant or restrict actions based on active gameplay state (e.g., missions, deliveries, tutorials).

Career Player Abstract Module

Provides the "Driver's Abstract" computer menu, which displays the player's insurance/driving record. Thin wrapper around the insurance system's abstract data.

On this page

DependenciesInternal StatePublic APILifecycle HooksDependenciesData FormatUsage ExampleSee Also