itzg/docker-minecraft-server

Allow server restarts when CF API key is invalid

開放

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

 (7 則留言) (0 個反應) (0 位負責人)Shell (1,858 個分叉)batch import
enhancementhelp wanted

倉庫指標

星標
 (13,694 顆星)
PR 合併指標
 (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.

貢獻者指南