Skip to content

Dependencies of modrinth mods aren't checked for mc version compatablilty.  #70

Description

@MattiDragon

Describe the problem

As you know, minecraft 1.19.3 released recently. I'm still running 1.19.2 while I wait for mods to catch up. When I recently restarted my server it started boot looping. Turns out it had installed 1.19.3 mods automatically. The mods in question where "YetAnotherConfigLib" and "Collective" both of which are automatically installed as my other mods depend on them. My manually specified mod are still on the correct 1.19.2 version. This is probably a bug with the image helper just downloading the latest for dependencies. As a workaround you can add the breaking dependencies at the beginning of the mod list so that they are downloaded normally and correctly.

Container definition

version: "3"

services:
  mc-main:
    image: itzg/minecraft-server
    ports:
      - 25565:25565
      - 8100:8100
      - 24454:24454/udp
    environment:
      EULA: "TRUE"
      TYPE: "FABRIC"
      VERSION: "1.19.2"

      MODRINTH_PROJECTS: "\
        server-hats,\
        bluemap,\
        banhammer,\
        luckperms,\
        minimotd,\
        chunky,\
        anti-xray,\
        styledplayerlist,\
        styled-chat,\
        ledger,\
        lithium,\
        lazydfu,\
        krypton,\
        ferrite-core,\
        c2me-fabric,\
        memoryleakfix,\
        servercore,\
        vmp-fabric,\
        debugify,\
        fabric-api,\
        universal-perms,\
        fabric-language-kotlin,\
        death-backup,\
        fastback,\
        styled-nicknames,\
        simple-voice-chat,\
        blossomtpa,\
        blossomlib,\
        spark"
      MODRINTH_ALLOWED_VERSION_TYPE: "alpha"
      MODRINTH_DOWNLOAD_OPTIONAL_DEPENDENCIES: "false"
      # Non modrinth mods
      MODS_FILE: "mods.txt"

      VANILLATWEAKS_SHARECODE: "JIx2Pm,CWpgoi"

      MAX_MEMORY: "4G"
      INIT_MEMORY: "1G"
    tty: true
    stdin_open: true
    restart: unless-stopped
    container_name: mc-main
    volumes:
      # attach a directory relative to the directory containing this compose file
      - ./main:/data
      - ./standard_configs:/config

Container logs

Paste logs here

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions