Thunderstore Nodejs Mod Manager is a command-line tool that makes it easy to download and manage mods for your favorite games from Thunderstore, a popular mod hosting website.
- Install mods from Thunderstore with a single command
- Update installed mods to the latest version
- Remove installed mods
- Create and manage modpacks
- Start the mod manager with a menu-driven interface
- Clone the repository:
git clone https://github.com/DooDesch/ThunderstoreNodejsModManager.git
- Install dependencies:
npm install
- Create a
.env
file based on the.env-example
file, and modify the values as needed.
Thunderstore Nodejs Mod Manager can be run with the following command:
node index [command] [options]
For a list of available commands, run:
node index --help
Here are some examples of how to use the tool:
- Install a mod:
node index install mod-name [download = true]
- Update all or a specific mod:
node index update [mod-name] [download = true]
- Remove a mod:
node index remove mod-name
- Create a manifest file:
node index create:manifest
- Update the modpack:
node index update:modpack
- Create a modpack:
node index create:modpack:zip [updateManifest = true]
- Start the mod manager with interactive prompts:
node index start
When you start the mod manager with the start command, you will be prompted with a list of questions to guide you through the process of installing, updating, or removing mods, creating a manifest file, or creating a modpack.
The .env
file contains several configuration options that you can customize to fit your needs. Here are the available options:
MOD_INSTALL_PATH
: The path where the downloaded mods will be installed. Defaults to"./config/plugins"
.MAX_DOWNLOAD_RETRY_COUNT
: The number of times to retry downloading a mod before giving up. Defaults to20
.GAME
: The name of the game for which you want to download mods. Defaults to"Valheim"
.MODPACK_FOLDER
: The folder where the modpack files are located. Defaults to"./modpack"
.MODPACK_DIST_FOLDER
: The folder where the modpack zip file will be located. Defaults to"./dist"
.MANIFEST_FILE_NAME
: The name of the manifest file for the modpack. Defaults to"manifest.json"
.
Contributions to this project are welcome! To contribute:
- Fork the repository
- Create a new branch:
git checkout -b my-new-feature
- Make changes and commit them:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request
Thunderstore Nodejs Mod Manager is licensed under the MIT License. See LICENSE for more information.