+
Skip to content

ThunderClapLP/mc-get

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mc-get

A console application to download and install mods and modpacks for Minecraft or a Minecraft server

Note

This readme is for the development version, it may differ from the latest release. You can view the readme for the latest release here.

Note

Breaking change from 0.3.x: mc-get no longer installs modpacks in the .minecraft folder directly! It now supports managing multiple concurrent Minecraft installations.

Modding Platform Support

Supports downloading from the two major modding platforms Modrinth and CurseForge!
⚠️ CurseForge needs extra configuration to work. Click here for a more detailed explanation. ⚠️

How to set the CurseForge API key:

mc-get --set cfApiKey=<your key>

Usage

Usage:
  mc-get (flags) <archivepath>
  mc-get (flags) <command> (parameters)

Flags:
  -h, --help                :  displays this help page
  -s, --silent              :  performs a silent install. No user input needed
  -p, --platform <platform> :  installs from specified platform
                               either modrinth (mr) or curseforge (cf)
  -m, --mc-path <path>      :  specifies minecraft installation path
  --path <path>             :  specifies the target installation path
                               can also be used as a filter in other commands
  --mc-version <version>    :  specifies the minecraft version
  --server                  :  installs mod / modpack as server
  --set <name>=<value>      :  sets a setting to the specified value
  --unset <name>            :  resets a setting to its default value
  --version                 :  displays the current version

Commands:
  install <slug | id | name>:<mod(pack)version>:<modloader>
    installs a mod / modpack

  search <query>
    searches for modrinth/curseforge projects

  list installs
    lists all installed modpacks
  list mods <search>
    lists all custom mods in installation
    that fit the search term (either slug or id)

  remove installation <search>
    removes an installation that fits the search term (either slug or id)
    --path can also be used as a filter
  remove mod <installation> <mod>
    removes a mod from an installation
    both <installation> and <mod> are search terms (either slug or id)
    --path can also be used as a filter

Examples:
  mc-get install sodium:0.6.6:fabric
  mc-get --mc-version 1.19.3 install fabulously-optimized
  mc-get install fabulously-optimized
  mc-get -s install fabulously-optimized
  mc-get Fabulously.Optimized-4.10.5.mrpack
  mc-get list mods
  mc-get list mods fabulously-optimized
  mc-get remove installation 123
  mc-get remove installation fabulously-optimized
  mc-get remove mod fabulously-optimized sodium

OS Compatibility

  • Windows: Working (last tested: v0.4.0)
  • Linux: Working (last tested: v0.4.0)
  • MacOS: Working (last tested: v0.4.0 dev build)

Supported Modloaders

  • Forge
  • NeoForge
  • Fabric
  • Quilt

Building

Requires the .Net 8 Sdk

Note

Can be built with .net 6, but some features may not be available

Run following command to generate an executable:

dotnet build

For more informations about building .Net applications visit this article

About

A console application to download and install modpacks or mods for Minecraft

Topics

Resources

License

Stars

Watchers

Forks

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载