itzg / itzg/docker-minecraft-server
Allow server restarts when CF API key is invalid
- Dominant language
- Shell
- Stars
- 14.3k
- Forks
- 1.9k
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 31
Description
### 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.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing the server startup path that invokes the install-curseforge command and inspect how its failure currently stops initialization. Identify the existing configuration variables and command handling, then verify that the new opt-out behavior allows startup when CurseForge is unreachable while preserving the current failure behavior by default.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, shell
- Domain
- devops, infrastructure
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100