Workflow & CLI ​
Beta
The command surface is stable in name, but the commands marked planned below return an UNIMPLEMENTED result in the
beta.
Quickstart ​
sh
mloforge init hello_mlo --coords "123.4,-456.7,30.1" --heading 270
# edit projects/hello_mlo/mlo.project.json: rooms, the limbo room and a portal
mloforge validate hello_mlo # all QA gates, a structured report
mloforge build hello_mlo # structure → validate → geometry → export → package → dist/
mloforge deploy hello_mlo # copy into the test server and restart it via RCON
Then reconnect in-game and teleport to the coordinates.
Global options ​
| Option | Effect |
|---|---|
--json |
Print the machine-readable result envelope instead of text |
--dry-run |
Print the intended actions without writing anything |
Commands ​
| Command | What it does |
|---|---|
init <name> [--coords x,y,z] [--heading deg] [--image path] |
Create a project in projects/<name>/ |
structure build <name> |
Normalize rooms and portals and make sure the limbo room exists |
validate <name> |
Run every validation gate and print the report |
geometry build <name> [--wall-thickness m] |
Generate the shell in headless Blender + Sollumz and transcode it to binary YDR/YBN |
export <name> |
Emit the YTYP and YMAP, binary through the CodeWalker helper (raw XML without it) |
package <name> --fivem |
Assemble a ready-to-drop FiveM resource in dist/<name>/ |
build <name> [--no-geometry] [--wall-thickness m] |
The whole pipeline. --no-geometry reuses the last shell |
deploy <name> [--category folder] [--no-restart] |
Copy dist/<name>/ into the test server under [Streaming] and ensure it over RCON |
Planned, registered but not implemented: catalog, extract, ref, plan, props, materials, textures,
collision, optimize.
Output ​
A built project has three separate names, matching proven MLOs:
dist/hello_mlo/
fxmanifest.lua fx_version, game, this_is_a_map 'yes'
stream/
hello_mlo.ytyp the MLO archetype hello_mlo
hello_mlo_milo.ymap the placement; file name equals its internal name
box_room.ydr the shell drawable
box_room.ybn the shell collision
The manifest relies on auto-streaming. It does not register the interior YTYP with DLC_ITYP_REQUEST; doing so
crashes the client on interior entry.
Troubleshooting ​
- The interior doesn't render after a fix: the server may serve a stale cache. Stop the server, delete
server-data/cache/files/<name>, then start it again. Don't clear the cache while the server is running. deploywarns that the restart failed:rcon_passwordisn't set, or the server hasn't restarted since it was set.