Skip to content

Issue using MODPACK_PLATFORM: AUTO_CURSEFORGE with MODRINTH_DOWNLOAD_DEPENDENCIES: required #3849

@LeFauxMatt

Description

@LeFauxMatt

Describe the problem

When using MODPACK_PLATFORM to install a base modpack, and CURSEFORGE_FILES MODRINTH_PROJECTS to install one or more additional mods, the container will automatically update any mod from the modpack which are not part of CURSEFORGE_FILES/CF_SLUG MODRINTH_PROJECTS.

The expected behavior is that only mods in CURSEFORGE_FILES MODRINTH_PROJECTS should possibly update, as changing the modpack's mod versions can possibly cause issues for clients who are joining with only the modpack installed.

Container definition

services:
  mc:
    container_name: atm10-dev
    image: itzg/minecraft-server:java25-graalvm
    restart: unless-stopped
    stop_grace_period: 60s
    user: ${UID}:${GID}
    tty: true
    stdin_open: true
    depends_on:
      - nginx
      - db
    networks:
      default:
      router:
        aliases:
          - atm10-dev
    ports:
      - name: simplevoicechat
        target: 24455
        published: 24455
        protocol: udp
    volumes:
      - type: bind
        source: /opt/minecraft/servers/atm10-dev
        target: /data
      - type: bind
        source: ../../resources/atm10/config
        target: /config
        read_only: true
      - type: bind
        source: ../../resources/atm10/extra_files
        target: /extra_files
        read_only: true
    env_file:
      - path: ./.env
        required: true
    environment:
      MODPACK_PLATFORM: AUTO_CURSEFORGE
      CF_SLUG: all-the-mods-10
      CF_FILENAME_MATCHER: 5.4
      MODE: creative
      SEED: m0DKZe6vTUeHlG1q
      MEMORY: 8G
      USE_MEOWICE_FLAGS: "true"
      USE_MEOWICE_GRAALVM_FLAGS: "true"
      MOTD: |
        Running %MODPACK_NAME% version %env:MODPACK_VERSION%
      RCON_CMDS_STARTUP: |
        gamerule doFireTick false
        gamerule playersSleepingPercentage 0
      RCON_CMDS_FIRST_CONNECT: |-
        chunky pause
      RCON_CMDS_LAST_DISCONNECT: |-
        chunky continue
      SYNC_SKIP_NEWER_IN_DESTINATION: "false"
      CURSEFORGE_FILES: "@/extra_files/curseforge-mods.txt"
      MODRINTH_PROJECTS: "@/extra_files/modrinth-mods.txt"
      MODRINTH_DOWNLOAD_DEPENDENCIES: required
      APPLY_EXTRA_FILES: |
        bluemap</extra_files/bluemap/
        kubejs</extra_files/kubejs/
    labels:
      mc-router.host: atm10-dev.redacted
      mc-router.network: minecraft-shared_default

Container logs

[I] > docker container logs atm10 | head -n 100
[init] Running as uid=999 gid=987 with /data as 'drwxrwsr-x 25 999 987 4096 Jan  2 12:21 /data'
[init] Image info: buildtime=2025-12-31T22:39:10.822Z,version=java21-graalvm,revision=c9094063d344fa38a97223e7ceafe005577865bb
[init] Starting RCON commands
[init] Rcon cmds functionality enabled
[mc-image-helper] 14:42:43.630 INFO  : Requested CurseForge modpack All the Mods 10-5.4 is already installed for All the Mods 10 - ATM10
[mc-image-helper] 14:42:43.648 INFO  : NeoForge version 21.1.215 for minecraft version 1.21.1 is already installed
[mc-image-helper] 14:42:47.363 INFO  : Downloaded /data/mods/create-1.21.1-6.0.9.jar
[mc-image-helper] 14:42:48.413 INFO  : Removing old file mods/create-1.21.1-6.0.8.jar
[mc-image-helper] 14:42:48.414 INFO  : Removing old file mods/DistantHorizons-2.4.5-b-1.21.1-fabric-neoforge.jar
[init] Copying any mods from /mods to /data/mods
[init] Copying any configs from /config to /data/config
[mc-image-helper] 14:42:50.969 INFO  : Interpolating /config/bluemap/storages/sql.conf -> /data/config/bluemap/storages/sql.conf
[mc-image-helper] 14:42:50.972 INFO  : Interpolating /config/simple-discord-link/simple-discord-compat.toml -> /data/config/simple-discord-link/simple-discord-compat.toml
[mc-image-helper] 14:42:50.972 INFO  : Interpolating /config/simple-discord-link/simple-discord-link.toml -> /data/config/simple-discord-link/simple-discord-link.toml
[mc-image-helper] 14:42:50.976 INFO  : Interpolating /config/logbegone.json -> /data/config/logbegone.json
[mc-image-helper] 14:42:50.976 INFO  : Interpolating /config/ftbchunksbluemap-common.toml -> /data/config/ftbchunksbluemap-common.toml
[mc-image-helper] 14:42:50.977 INFO  : Interpolating /config/tectonic.json -> /data/config/tectonic.json

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions