itzg/docker-minecraft-server

Allow server restarts when CF API key is invalid

Open

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

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

描述

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.

貢獻者指南

Allow server restarts when CF API key is invalid · itzg/docker-minecraft-server#3796 | Good First Issue