itzg/docker-minecraft-server

Allow server restarts when CF API key is invalid

Open

#3,796 opened on 2025年12月10日

GitHub で見る
 (7 comments) (0 reactions) (0 assignees)Shell (1,858 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (13,694 stars)
PR merge metrics
 (平均マージ 15h 10m) (30d で 32 merged PRs)

説明

Enhancement Type

Improve an existing feature

Describe the enhancement

Been having an issue with Curseforge recently where my API key keeps getting invalidated. Initial install with a fresh key works fine, but on restart I get the following error:

[mc-image-helper] 20:54:05.747 ERROR : Invalid parameter provided for 'install-curseforge' command: Access to https://api.curseforge.com is forbidden or rate-limit has been exceeded. Ensure CF_API_KEY is set to a valid API key from https://console.curseforge.com/ or allow rate-limit to reset. [init] [ERROR] Failed to auto-install CurseForge modpack (B

This can be resolved by changing my organisation name in Curseforge, regenerating an apikey, and redeploying with this new key. This is obviously not a great method.

A variable that would allow the server to continue startup when Curseforge can not be reached would be amazing.

コントリビューターガイド