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
Activity ManagerAudio Bank ManagerAudio Ribbon SystemBus Route ManagerCamera SystemCore Chat (IRC)Core CheckpointsCore Command HandlerCoupler Camera ModifierDevices (RGB Peripherals)Dynamic PropsEnvironmentFlowgraph ManagerForestFun StuffGame ContextGame StateGround Marker ArrowsGround MarkersHardware InfoHighscoresHotlappingInventoryJob SystemLap TimesLevelsLoad Map CommandMetricsMod ManagerMultiseatMultiseat CameraMulti SpawnOnlinePaths (Camera Paths)Quick Access (Radial Menu)Recovery PromptRemote ControllerReplayRepositoryRope Visual TestScheme Command ServerCore SnapshotCore SoundsCore TerrainTraffic SignalsTrailer RespawnVehicle Active PoolingVehicle Bridge (GE ↔ VLua Communication)Vehicle MirrorsVehicle PaintsCore VehiclesVehicle TriggersVersion UpdateWeather SystemWindows Console

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 Extensionscore

Game Context

Provides game context information for the UI, including mission state change notifications and WIP (Work In Progress) warning labels for experimental features.

Provides game context information for the UI, including mission state change notifications and WIP (Work In Progress) warning labels for experimental features.


Public API

FunctionSignatureDescription
M.getGameContext(...) → tableProxies to gameplay_markerInteraction.getGameContext(...). Loads the extension if not already loaded. Returns {} on failure.
M.toggleMenues()Placeholder/no-op function for menu toggle.
M.onAnyMissionChanged(state, mission)Hook: triggers onAnyMissionChanged guihook with state and mission ID.
M.getWIPWarningLabel() → string|nilReturns a localization key for experimental feature banners (rally stages, career mode) or nil if none applies.

WIP Warning Conditions

ConditionLabel Key
Active rally mission (unless banner hidden in settings)ui.rally.experimentalWarning
Career mode activeui.career.experimentalWarning
Neithernil

Usage Example

-- Check if a WIP warning should be displayed
local warning = core_gameContext.getWIPWarningLabel()
if warning then
  guihooks.trigger('ShowWIPWarning', warning)
end

Fun Stuff

Provides sandbox "fun" actions accessible from the radial quick-access menu: vehicle destruction, physics forces, color randomization, random vehicles, and more.

Game State

Manages the high-level game state (freeroam, campaign, etc.), loading screen lifecycle, and main menu visibility. Coordinates between Lua systems and the UI layer during level transitions.

On this page

Public APIWIP Warning ConditionsUsage Example