Skip to content

Commands

Arman edited this page Jul 30, 2025 · 5 revisions

Initialization

Usage: mcr init

Description: Initialize the project with a file called concrete.json, containing the game version, loader and other things for the current instance. if required options not specified, terminal will ask about.

Options:

  • --game-version <game-version>: specifies the game version (ex: 1.21.1)
  • --loader <loader>: specifies the loader for instance (ex: fabric, forge, bukkit, etc.)

Installing Resources

Usage: mcr install <resources...>

Description: Installs the specified Resources (and Resources specified on concrete.json) from registry. if one of specified resources not found on the registry, terminal asks for another similar resource.

  • modrinth@v2: resources specified should be their slug or ID

Arguments:

  • [resources...]: Resources to be installed (ex: fabric-api sodium).

both game version and loader can be used for advanced filtering like <resource>:<game-version>-<loader> (ex: simple-voice-chat:1.21.1-forge).

NOTE: the priority for retrieving the game version and loader is defined as below

  1. Namespace (<resource>:<game-version>-<loader>)
  2. Command Options
  3. Concrete file (concrete.json)
  4. Undefined (Latest version of Resource, regardless of game version and loader)

also you can define the resource's version within <resource>@<version>, like: simple-voice-chat@fabric-1.21.8-2.5.35 or simple-voice-chat@iGd9Wjlq. (yes, <version> accepts both version_number and id)

NOTE: if version is defined, game version and loader will be ignored since the specified version have already defined their unique loader and game version.

Options:

  • --game-version <game-version>: specifies the game version for filtering (ex: 1.21.1)
  • --loader <loader>: specifies the loader for filtering (ex: fabric, forge, bukkit, etc.)
  • --registry <registry>: specifies registry to use. currently the default value is modrinth

List of Resources

Usage: mcr list

Description: Shows a list of all installed Resources and their version.

Clone this wiki locally