Lost Cities Mod logo
v11.0.3Download

Lost Cities Mod Commands: A Plain Guide to /lostcities and /lost

Updated October 21, 20265 min readBy the Lost Cities Mod team
Pixel chunk map of a Lost Cities world with the /lost map command typed in chat

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.

Tip: Type /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

CommandWhat it doesWho can use it
/lost mapWrites a text map of nearby chunks to the logAny player
/lost statsShows chunk build times in chatAny player
/lost debugWrites facts about your chunk to the logAny player
/lost saveprofileSaves a profile as a JSON fileAny player
/lost locateFinds a building by name near youOp only
/lost createbuildingPlaces a whole buildingOp only
/lost createpartPlaces a part and starts editing itOp only
/lost editpartEdits the part you stand inOp, in edit mode
/lost resumeeditGoes back to editing a partOp, in edit mode
/lost exportpartSaves the part you edit as JSONOp only
/lost listpartsLists the parts in your chunkOp, in edit mode
/lost locatepartFinds where a part was placedOp, 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.

Note: The commands only work in a world or dimension that uses Lost Cities. Elsewhere, most of them reply "This dimension doesn't support Lost Cities!"

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:

  • B is 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.

  • listparts lists each part in your chunk and the height it starts at.
  • locatepart finds nearby spots where a part was used.
  • editpart starts editing the part you stand in. It resets the part's blocks first.
  • resumeedit starts editing again but keeps the blocks you changed.
  • createpart places any part by name at a spot you pick.
  • exportpart saves 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.

Go to download