docker-minecraft-server icon indicating copy to clipboard operation
docker-minecraft-server copied to clipboard

set MODRINTH_PROJECTS to an empty string can't removes all previously managed project-files

Open uhziel opened this issue 9 months ago • 2 comments

Describe the problem

services:
  mc:
    image: itzg/minecraft-server
    environment:
      EULA: "true"
      VERSION: 1.21.4
      TYPE: "PAPER"
      MODRINTH_PROJECTS: "tabtps"
    ports:
      - "25565:25565"
    volumes:
      - ./data:/data

When MODRINTH_PROJECTS set to "", can't remove tabtps.

But CURSEFORGE_FILES can do it.

https://docker-minecraft-server.readthedocs.io/en/latest/mods-and-plugins/curseforge-files/

References removed from the declaration are automatically cleaned up and setting CURSEFORGE_FILES to an empty string removes all previously managed project-files.

Container definition

Paste run command or compose file here

Container logs

Paste logs here

uhziel avatar Feb 25 '25 03:02 uhziel

Thanks for pointing this out. I will work on fixing that.

itzg avatar Feb 25 '25 13:02 itzg

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.

github-actions[bot] avatar Mar 28 '25 02:03 github-actions[bot]