MommyHeather / AdvancedBackups

BSD 3-Clause "New" or "Revised" License
26 stars 4 forks source link

List worlds in restoration CLI #4

Closed MommyHeather closed 1 year ago

MommyHeather commented 1 year ago

Is your feature request related to a problem? Please describe. World names aren't very easy to remember, especially on clients where people tend to name worlds in strange ways.

Describe the solution you'd like Instead of asking for a world name, list the worlds that exist and let them pick a number, as is done with bakups.

Describe alternatives you've considered N/A Additional context If the saves directory exists, list what's in there. More work would be required for servers, as a lot more directories would exist than those containing worlds. Perhaps parse server.properties? This can be done without any further dependencies, on all versions.