itzg / docker-minecraft-server

Docker image that provides a Minecraft Server that will automatically download selected version at startup
https://docker-minecraft-server.readthedocs.io/
Apache License 2.0
8.82k stars 1.48k forks source link

Curseforge modpacks don't work. Excample here #2861

Closed MaxLevs closed 1 week ago

MaxLevs commented 1 month ago

Describe the problem

There is a modpack https://www.curseforge.com/minecraft/modpacks/terrafirmagreg I've downloaded TerraFirmaGreg-1.20.x-0.7.9-cf.zip and use compose.yaml bellow.

Server stops with an error.

Container definition

services:
  server:
    image: itzg/minecraft-server:latest
    ports:
      - "25566:25565"
    environment:
      VERSION: ${VERSION:-1.20.1}
      EULA: true
      TYPE: "CURSEFORGE"
      CF_SERVER_MOD: /modpacks/TerraFirmaGreg-1.20.x-0.7.9-cf.zip
      REMOVE_OLD_MODS: "${REMOVE_OLD_MODS:-false}"
      OVERRIDE_SERVER_PROPERTIES: true
      MAX_TICK_TIME: -1
      INIT_MEMORY: "2G"
      MAX_MEMORY: "8G"
    volumes:
      - ./modpacks:/modpacks:ro
      - data:/data

volumes:
  data: {}

Container logs

2024-05-29 20:00:33 [init] Running as uid=1000 gid=1000 with /data as 'drwxr-x--- 2 1000 1000 4096 May 26 13:37 /data'
2024-05-29 20:00:36 [init] Resolved version given 1.20.1 into 1.20.1
2024-05-29 20:00:36 [init] Looking for Feed-The-Beast / CurseForge server modpack.
2024-05-29 20:00:36 [init] Unpacking FTB server modpack /modpacks/TerraFirmaGreg-1.20.x-0.7.9-cf.zip ...
2024-05-29 20:00:36 ..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
2024-05-29 20:00:36 [init] ERROR: Modpack missing start script and unable to find Forge jar to generate one
MaxLevs commented 1 month ago

UPDATE: GENERIC_PACK doesn't work too. It just doesn't download mods or something (I've got error message affter connect that goes "Server doesn't have this mods: list here)

itzg commented 1 month ago

Please use https://docker-minecraft-server.readthedocs.io/en/latest/types-and-platforms/mod-platforms/auto-curseforge/

github-actions[bot] commented 1 week ago

This issue is stale because it has been open 30 days with no activity. Please add a comment describing the reason to keep this issue open.