Launcher: worlds of an instance, with backup, copy and delete
Home lists the selected instance's worlds from their level.dat (name, mode, version, last played) with their size and picture. Back up zips one into backups/ as vanilla's Make Backup does; Copy makes "<name> (1)" with that name in its level.dat; Delete moves it to the system's trash after a confirmation (the file manager call on macOS, no Finder permission); Open folder. `horizon-launcher worlds list|backup|copy|delete`, and their MCP tools (delete needs confirm). level.dat is read with horizon-world's NBT. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -330,6 +330,49 @@ Keep an instance on one installed Horizon version, or "latest" to follow updates
|
||||
|
||||
MCP: `instance_version`.
|
||||
|
||||
## `horizon-launcher worlds list`
|
||||
|
||||
The worlds: name, mode, version, last played and size (the default).
|
||||
|
||||
horizon-launcher worlds list
|
||||
|
||||
- `--instance`: The instance (default: the selected one)
|
||||
|
||||
MCP: `worlds_list`.
|
||||
|
||||
## `horizon-launcher worlds backup`
|
||||
|
||||
Zip a world into the instance's backups/ folder, as the game's Make Backup does.
|
||||
|
||||
horizon-launcher worlds backup <WORLD>
|
||||
|
||||
- `WORLD`: Its folder or name
|
||||
- `--instance`
|
||||
|
||||
MCP: `worlds_backup`.
|
||||
|
||||
## `horizon-launcher worlds copy`
|
||||
|
||||
Copy a world beside it, as "<name> (1)".
|
||||
|
||||
horizon-launcher worlds copy <WORLD>
|
||||
|
||||
- `WORLD`
|
||||
- `--instance`
|
||||
|
||||
MCP: `worlds_copy`.
|
||||
|
||||
## `horizon-launcher worlds delete`
|
||||
|
||||
Move a world to the system's trash.
|
||||
|
||||
horizon-launcher worlds delete <WORLD>
|
||||
|
||||
- `WORLD`
|
||||
- `--instance`
|
||||
|
||||
MCP: `worlds_delete`, needs `confirm: true`.
|
||||
|
||||
## `horizon-launcher modpack list`
|
||||
|
||||
The imported packs and their coverage (the default).
|
||||
|
||||
Reference in New Issue
Block a user