API Referencecommonutils
interactiveShell Reference
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
httpJsonServer Reference
Module defined in `lua/common/utils/httpJsonServer.lua`. Simple HTTP server for implementing quick REST APIs within BeamNG. Handles JSON request/response.
languageMap Reference
Module defined in `lua/common/utils/languageMap.lua`. Maps ISO language and country codes to human-readable names. Includes Weblate translation platform codes.