Skip to content

Configuration

manywonders edited this page Aug 30, 2025 · 5 revisions

What is this?

Configuration is the type of file used to configure how CargoDrop should works. Configuration is provided by the argument --config with the file name (relative to base directory) in the command line.

This file must be bundled in along with your resources.

File structure

{
  "name": "My Minecraft Modpack",
  "welcome_message": "Welcome to my Minecraft Modpack",
  "folders": [
    "config/paxi/resourcepacks",
    "mods"
  ],
  "ignore": [
    ".DS_Store",
    "mods/.connector/**",
    "mods/.index/**"
  ],
  "disabledExtensions": [
    "*.disabled"
  ],
  "update_server": "https://www.website.com/cargodrop-resources.json",
  "preserve": [
    "mods/RenderScale-forge-1.20.1-1.0.jar"
  ]
}
  • name: You guessed it, the name of the resources.
  • welcome_message: The message that print out at the initial stage.
  • folders: List of files or folders to be scanned. Support a few regex patterns.
  • ignore: List of files or folders to be ignored. Support a few regex patterns.
  • disabledExtensions: Extensions that are considered as "disabled" resources. Suitable for modpack.
  • update_server: The remote webserver that will serve the resource file. JSON file name must match the file name provided in --resources!
  • preserve: List of file to be preserved when such file is in the patching removal list. This list will be automatically generated everytime CargoDrop is running.

Clone this wiki locally