Skip to main content

Export Management

The plugin can export the full list of LE Play rooms to a file, directly from the running server. This replaces the former offline buildLEPlayRoomsCsv development task: any puzzle creator can now run the export in-game, while the server is up, without any developer setup.

The export lists every portal — both active portals (with the room they lead to) and disabled (room-less) portals — and is ordered deterministically by tree path. A disabled portal yields a row whose path is filled and whose four trailing columns are empty (path;;;;), so its physical location is still carried by the file. The hierarchy is encoded in each portal's path, so the CSV is the canonical round-trip format read back by the Import command.

Export to CSV command​

  • Type /. export csv. It can also be run from the server console.

This writes a semicolon-separated, UTF-8 CSV file to plugins/LEPlayServerUtils/exports/le-play-rooms_<timestamp>.csv and replies with the file path.

Columns​

ColumnDescription
pathFull hierarchical path of the portal in the navigation tree (e.g. solo.1.3); empty if not computed.
descriptionThe room description (its unique name); empty for a disabled (room-less) portal.
difficultyThe room difficulty, between 0.0 and 1.0; empty for a disabled portal.
tagsThe room tags, comma-separated; empty for a disabled portal.
accessConditionsThe portal's access conditions as a JSON array ([] when none, e.g. [{"type":"isAuthor"}]); empty for a disabled portal. Used by the le-room-organizer tool.

Rows are sorted globally by path (numeric segments numerically, named segments alphabetically; shorter path first), interleaving active and disabled portals in tree order.

Automatic cleanup​

So the exports/ folder does not grow without bound, it is pruned automatically after each export or import command: files older than one month are deleted, and the folder is then capped to its 10 most recent files. Any file whose name (extension included) contains save (case-insensitive) is always kept — rename a file to e.g. ...save....csv to pin it permanently.