ExportMap
Writes the map as one file, to keep or to carry to another server.
The file is exports/<name>.zip in the map’s folder: every record of the map (not the run-only ones) and the shapes and prefabs
that go with it. Another server of the same level imports it (ImportMap) from its own map folder’s exports/ - copy the file
there. Admins: /map export <name>.
Syntax
Section titled “Syntax”ExportMap(name)| Parameter | Type | |
|---|---|---|
name |
string | letters, digits, _ and -, at most 48 |
Returns
Section titled “Returns”boolean, string - true and where it went, or false and the reason
Example
Section titled “Example”local ok, where = ExportMap("market-2026")Log(ok and ("exported to " .. where) or ("no export: " .. where))See also
Section titled “See also”ImportMap · GetMapExports · BackupMap · the The server’s map group of the index
