
The Lost Cities Mod adds one main command with twelve sub-commands. They help you find buildings, check how fast chunks build, and save profiles and parts as files. Here is what each one does, where its output goes, and who may run it.
The root command: /lostcities or /lost
Each command starts with /lostcities, a space, and then the sub-command. That is a lot to type, so the mod also adds /lost as a short form. Both run the exact same thing:
/lostcities stats/lost stats
This guide uses /lost from here on.
/lost and a space, then press Tab. The game lists the sub-commands you may use. Press Tab again after one to see what it wants next, such as a building name.All Lost Cities Mod commands at a glance
| Command | What it does | Who can use it |
|---|---|---|
/lost map | Writes a text map of nearby chunks to the log | Any player |
/lost stats | Shows chunk build times in chat | Any player |
/lost debug | Writes facts about your chunk to the log | Any player |
/lost saveprofile | Saves a profile as a JSON file | Any player |
/lost locate | Finds a building by name near you | Op only |
/lost createbuilding | Places a whole building | Op only |
/lost createpart | Places a part and starts editing it | Op only |
/lost editpart | Edits the part you stand in | Op, in edit mode |
/lost resumeedit | Goes back to editing a part | Op, in edit mode |
/lost exportpart | Saves the part you edit as JSON | Op only |
/lost listparts | Lists the parts in your chunk | Op, in edit mode |
/lost locatepart | Finds where a part was placed | Op, in edit mode |
Who can use which command
Four commands are open to all: map, stats, debug and saveprofile. Anyone on a server can type them.
The other eight need op rights at level 3 or higher. On a server, the owner has to op you. In single player, turn on cheats when you make the world, or open it to LAN with cheats on.
Four of the part tools also need edit mode, which must be on before the world is made. You find it on the Various page after you press Customize on the Cities screen.
Commands anyone can use
/lost map
This draws a rough map of the land around you, 20 chunks out in each direction. It does not show in chat. It goes to the game log as text, one row per line:
Bis a city chunk with a building.+is other city land, like a street or park..is a highway outside a city.- A blank is wild land.
Open the log in your launcher to read it. On a server, it shows in the server console.
/lost stats
This prints three lines in chat: the average, the fastest and the slowest time to build a chunk, in milliseconds. Run it after you fly around for a bit. It is a quick way to see how hard a world type like tallbuildings works your PC.
/lost debug
This writes a long list about the chunk you stand in to the game log. You see the profile, building type, floors, cellars, city style and street type. It also covers highways and railways. Paste it into a bug report, so the mod team sees what the mod saw.
/lost saveprofile
Add a profile name, such as /lost saveprofile floating. The mod writes floating.json to the game folder, or to the server folder on a server. A wrong name gets a red "Could not find profile" reply.
Rename the file, edit it, and put it in config/lostcities/profiles. The mod reads each JSON file there as a profile. A server can then pick it with selectedProfile. The Lost Cities server setup guide covers that file.
Commands for ops
/lost locate
Add a building name, like lostcities:building1. Press Tab to see every name the mod knows. It checks the chunks around you, up to 30 chunks out. Then it lists up to seven spots in chat as "Found at" and the coordinates. Use /tp to go there.
The name list comes from the stock files plus any data packs you add. So your own buildings show up in it too, and you can find them in a test world.
/lost createbuilding
This places a building in the chunk you pick. You give it a name, the floors (1 to 20), the cellars (0 to 10) and a spot. Be careful: it first clears every block above that spot in the whole chunk, all the way to the sky. Use a test world.
Part tools for builders
These six let you make your own city pieces with real blocks.
listpartslists each part in your chunk and the height it starts at.locatepartfinds nearby spots where a part was used.editpartstarts editing the part you stand in. It resets the part's blocks first.resumeeditstarts editing again but keeps the blocks you changed.createpartplaces any part by name at a spot you pick.exportpartsaves your work as a file under the name you type.
Run one of the edit-mode tools in the wrong world, and the game tells you the world was not made with edit mode. The full workflow, with palettes and data packs, is in the custom buildings guide.
The teleporter bed: no command needed
One handy trick needs no command and no op. A bed on two diamond blocks, with six mob heads around it, sends you to the Lost City dimension when you try to sleep. A bed like it inside that dimension sends you back to the Overworld. The specialBedBlock setting can swap the diamond blocks for another block.
Lost Cities commands FAQ
Why does the game say I do not have permission?
Eight of the twelve commands need op or cheats. Only map, stats, debug and saveprofile are open to all players.
I ran /lost map but nothing showed up. Why?
The map goes to the game log, not to chat. Open the log in your launcher, or check the server console.
Why does editpart say edit mode is off?
Edit mode must be on when the world is made. Make a new test world, press Customize, and turn it on.
Can I change my world type with a command?
No. You pick the world type when you make the world. On a server, set it in the config file, then make a new world.
Ready for your own lost city?
Get the right file for your game in the download section.



