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

Scheme Command Server

UDP listener for `beamng:` URI scheme commands (obsolete - replaced by Windows pipe).

UDP listener for beamng: URI scheme commands (obsolete - replaced by Windows pipe).


Overview

Extension: core_schemeCommandServer - Opens a UDP socket on 127.0.0.1:22137 to receive beamng: scheme commands from external sources (e.g. browser links). Forwards valid commands to commandhandler.onSchemeCommand(). Marked as obsolete - the default scheme handler now uses a Windows named pipe.


Public Functions

FunctionDescription
M.onFirstUpdate()Opens the UDP socket on port 22137
M.onUpdate()Polls the socket for incoming data each frame

Protocol

  • Listens on 127.0.0.1:22137 (UDP)
  • Expects messages starting with beamng:
  • Strips the beamng: prefix and passes the remainder to commandhandler.onSchemeCommand()

Usage Example

-- External process sends UDP to localhost:22137
-- Message: "beamng:loadSnapshot/abc123"
-- Results in: commandhandler.onSchemeCommand("loadSnapshot/abc123")

Notes

  • Socket timeout is 0 (non-blocking)
  • If the port is unavailable, the socket silently fails to open
  • This module is obsolete but still loaded for backwards compatibility

See Also

  • Snapshot - Snapshot scheme command handler

Rope Visual Test

ImGui sandbox for creating, editing, and testing rope visual simulations. Provides a full editor for rope physics parameters, animations, node interaction, performance tracking, and save/load.

Core Snapshot

Manages saving and loading game snapshots (camera state) via the online API.

On this page

OverviewPublic FunctionsProtocolUsage ExampleNotesSee Also