Added config command, removed requirement for CLI version to have tk installed

This commit is contained in:
Patrick Marsee 2023-01-22 14:35:02 -05:00
parent 5018edb246
commit 61843399b0
2 changed files with 57 additions and 35 deletions

View file

@ -23,7 +23,7 @@ Upon first use, you will be prompted for the locations of your mods folder and
seven-days also allows the user to create separate mod profiles. If, for
instance, you frequent a multiplayer server with a certain set of mods, but
have a different prefered set of mods for single player, then you could create
two mod profiles, called `multiplayer` and `singleplayer`, for instance.
two mod profiles, called `multiplayer` and `singleplayer`.
Loading a mod profile will instantly change the enabled mods to the ones that
were enabled when the profile was last saved.
@ -36,7 +36,9 @@ The main source file for the CLI version is `seven-mods.py`. General usage is:
The available commands are:
- `list`: show a listing of all installed mods. Disabled mods appear in red.
Enabled ones appear in green, and are followed by an asterisk (`*`).
Enabled ones appear in green, and are followed by an asterisk (`*`). `list`
also accepts an optional argument, `profiles`, which tells it to list all saved
profiles instead of mods.
- `enable`: enable mods. A list of mod names can be given, separated by spaces.
The mod names are the names of their respective folders, *not* the names listed
in their respective `ModInfo.xml` files. Alternatively, to enable all mods,
@ -48,6 +50,7 @@ simply type `-a` rather than listing them all out.
that should be given is the name of the profile to save. If the profile already
exists, then it will be overwritten.
- `load`: sets the enabled mods to those defined by the given profile.
- `config`: reconfigure paths to your mod and 7 Days to Die directories.
Tip: If you run the script from the directory in which you store your mods,
then bash autocompletion works for mod names - hence why it uses the ugly