RLS Studios
ProjectsPatreonCommunityDocsAbout
Join Patreon
BeamNG Modding Docs

Guides

Reference

Server CommandsGE UtilitiesGame Engine MainNavigation GraphScreenshot CaptureServerServer ConnectionSpawnpoint ManagerSimulation TimeVehicle SpawningSuspension Frequency Tester
Freeroam Big Map MarkersFreeroam Big Map ModeFreeroam Big Map POI ProviderFreeroam Crash Cam ModeFreeroam Crash Cam Mode LoaderFreeroam Drag RaceFreeroam FacilitiesFreeroamFreeroam ConfiguratorFreeroam Gas StationsFreeroam Level StatsFreeroam OrganizationsFreeroam Special TriggersFreeroam Vue Big Map

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 Extensionsfreeroam

Freeroam Organizations

Loads and manages organization data used in career mode. Organizations have reputation levels, associated facilities, and delivery capabilities.

Loads and manages organization data used in career mode. Organizations have reputation levels, associated facilities, and delivery capabilities.


Public API

FunctionSignatureReturnsDescription
M.getOrganizations()tableReturns all organizations keyed by ID
M.getOrganization(id)table|nilReturns a single organization with fresh reputation data
M.getOrganizationIdOrderAndIcon(id)number, stringReturns sort order (7000) and icon ("peopleOutline")
M.getUIData()tableReturns all organizations formatted for UI display
M.getUIDataForOrg(orgId)table|nilReturns a single organization formatted for UI

Organization Data Structure

{
  id = "orgId",
  name = "Organization Name",
  visible = true,            -- has the player interacted with this org?
  attributeKey = "orgIdReputation",
  reputation = {
    level = 2,
    value = 150,
    max = 1000,              -- from reputation module
    min = -1000,
    label = "Trusted"
  },
  reputationLevels = {       -- array of level definitions
    { unlocks = { ... } }
  },
  offersDeliveries = true,
  hasUnlocks = true,
  associatedFacilities = { ... }
}

How It Works

  1. Loading: getOrganizations() scans gameplay/organizations/*.organizations.json files
  2. Enrichment: Each organization gets reputation data from career_modules_reputation and visibility from career_career.hasInteractedWithOrganization()
  3. UI Data: getUIDataForOrg() adds min/max/label for reputation, checks delivery capabilities, identifies associated facilities
  4. Delivery Check: Iterates deliveryProvider facilities to find those with parcelDelivery or vehicleDelivery systems

Usage Examples

-- Get all organizations
local orgs = freeroam_organizations.getOrganizations()

-- Get UI-ready data for a specific org
local uiData = freeroam_organizations.getUIDataForOrg("belasco_corp")

-- Get all organizations sorted for UI
local allUiData = freeroam_organizations.getUIData()
-- Sorted alphabetically by name

Notes

  • Organizations are cached after first load
  • Reputation data refreshed on each getOrganization() call
  • Reputation level labels come from career_modules_reputation.getLabel()
  • getOrganizationIdOrderAndIcon returns fixed values - all orgs share the same base sort order

See Also

  • Freeroam Big Map Markers - Related reference
  • Freeroam Big Map Mode - Related reference
  • Freeroam Big Map POI Provider - Related reference
  • Freeroam Guide - Guide

Freeroam Level Stats

Tracks and persists usage statistics for levels and spawn points. Records spawn counts and timestamps, provides sorted top-level and top-spawn-point queries.

Freeroam Special Triggers

Event-driven system for toggling scene objects (statics, lights) when vehicles enter/exit BeamNGTriggers or site zones. Supports delayed activation, random ordering, nested SimGroups, and Lua command

On this page

Public APIOrganization Data StructureHow It WorksUsage ExamplesNotesSee Also