Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[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 #428

Open
x0tester0x opened this issue May 15, 2024 · 9 comments
Labels
enhancement New feature or request

Comments

@x0tester0x
Copy link

x0tester0x commented May 15, 2024

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 x0tester0x changed the title Invalid parameter provided for 'modrinth' command: No files are available for the project fRQREgAc for loader paper and Minecraft version 1.20.6 [mc-image-helper] ERROR : Invalid parameter provided for 'modrinth' command: No files are available for the project J6U9o3JG for loader paper and Minecraft version 1.20.6 May 15, 2024
@x0tester0x x0tester0x changed the title [mc-image-helper] ERROR : Invalid parameter provided for 'modrinth' command: No files are available for the project J6U9o3JG for loader paper and Minecraft version 1.20.6 [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 May 15, 2024
@itzg
Copy link
Owner

itzg commented May 15, 2024

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 itzg added the enhancement New feature or request label May 15, 2024
@x0tester0x
Copy link
Author

x0tester0x commented May 15, 2024

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

@itzg
Copy link
Owner

itzg commented May 15, 2024

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.

@x0tester0x
Copy link
Author

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?

@itzg
Copy link
Owner

itzg commented May 15, 2024

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

@x0tester0x
Copy link
Author

x0tester0x commented May 15, 2024

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

@itzg
Copy link
Owner

itzg commented May 15, 2024

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.

@x0tester0x
Copy link
Author

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

@itzg
Copy link
Owner

itzg commented May 15, 2024

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 itzg/docker-minecraft-server#2811 ; however, even with that it will still leave room for surprise upgrades.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

2 participants