API Referencecommonutils
Interactive Shell
Module defined in `lua/common/utils/interactiveShell.lua`. Interactive Lua REPL shell for runtime debugging within BeamNG.
Module defined in lua/common/utils/interactiveShell.lua. Interactive Lua REPL shell for runtime debugging within BeamNG.
Exports
Functions
M.start()
Start the interactive Lua shell. Blocks until user exits.
Internal Notes
exec(cmd)evaluates Lua code strings in the current environment- Provides a read-eval-print loop for live debugging
- Useful for inspecting game state at runtime
See Also
- utils/ - Utility Modules - Directory overview
- calltracer Reference - Related reference
- dateUtils Reference - Related reference
- debugDraw Reference - Related reference
- Common Libraries Overview - Guide
HTTP JSON Server
Module defined in `lua/common/utils/httpJsonServer.lua`. Simple HTTP server for implementing quick REST APIs within BeamNG. Handles JSON request/response.
Language Map
Module defined in `lua/common/utils/languageMap.lua`. Maps ISO language and country codes to human-readable names. Includes Weblate translation platform codes.