mc-image-helper icon indicating copy to clipboard operation
mc-image-helper copied to clipboard

[mc-image-helper] ERROR : Invalid parameter provided for 'modrinth' command: No files are available for the project xyz for loader paper and Minecraft version 1.20.6

Open x0tester0x opened this issue 1 year ago • 9 comments

This is the configuration in the docker compose file:

- TYPE=PAPER
- VERSION=LATEST
- MODRINTH_PROJECTS=mcdash,maintenance,webstats,dynmap,huskhomes,sleeper

It always makes this ERROR independent of which plugin: [mc-image-helper] ERROR : Invalid parameter provided for 'modrinth' command: No files are available for the project xyz for loader paper and Minecraft version 1.20.6

What does not work here, because after this error the minecraft server stops?

x0tester0x avatar May 15 '24 07:05 x0tester0x

It means one of those plugins is not available for Paper 1.20.6. Unfortunately the log is showing the Modrinth project ID rather than the slug you provided so I'll have to lookup an easy way for you to convert that identifier.

itzg avatar May 15 '24 12:05 itzg

xyz is a placeholder... it occusrs on every plugin in the list an returns the projectid... OK, but why then stop the server?

x0tester0x avatar May 15 '24 12:05 x0tester0x

It stops the startup because you misconfigured it. Otherwise if it let the misconfiguration proceed then it would get lost in the logs and you'd wonder why the plugin was missing.

itzg avatar May 15 '24 12:05 itzg

OK, but when there exists already a plugin.jar in the plugins folder with version 1.20.4 and then the paper.jar is updated from 1.20.4 to 1.20.6 what happens then?

x0tester0x avatar May 15 '24 12:05 x0tester0x

It will attempt to upgrade the plugin by downloading the new and removing the old.

itzg avatar May 15 '24 12:05 itzg

OK, but in the case, when no new version of the plugin is found, the server does not stop or?

x0tester0x avatar May 15 '24 13:05 x0tester0x

Correct. It's trying to find a version of that plugin compatible with Paper 1.20.6, not finding one, and stopping the startup process so it's obvious there is something you need to fix.

itzg avatar May 15 '24 13:05 itzg

OK in this case VERSION=LATEST will always stop the server so I have to set a fixed version...

Can I set in the configuration that it should use not the latest Minecraft Client release but the latest stable Paper Server release?

- TYPE=PAPER
- VERSION=LATEST

x0tester0x avatar May 15 '24 13:05 x0tester0x

It's best to always set a specific VERSION, such as 1.20.4 in this case.

Narrowing the Paper release channel is a planned feature https://github.com/itzg/docker-minecraft-server/issues/2811 ; however, even with that it will still leave room for surprise upgrades.

itzg avatar May 15 '24 14:05 itzg