itzg/docker-minecraft-server

Allow server restarts when CF API key is invalid

Open

#3,796 建立於 2025年12月10日

在 GitHub 查看
 (7 留言) (0 反應) (0 負責人)Shell (1,858 fork)batch import
enhancementhelp wanted

倉庫指標

Star
 (13,694 star)
PR 合併指標
 (平均合併 15小時 10分鐘) (30 天內合併 32 個 PR)

描述

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.

貢獻者指南