Skip to content
M2O Scripting APIScripting reference

SCRIPTING DOCUMENTATION

M2O Scripting API

Build multiplayer game modes for Mafia II with the M2O JavaScript runtime.

Generated from runtime bindingsJavaScript API2 environments

API ENVIRONMENTS

Choose an environment

Authoritative

API contracts are generated directly from the runtime declarations.

Publicly maintained

Tutorials and resources are pinned to a public repository revision.

Editor-ready

The same declarations can power autocomplete and type checking.