itzg / minecraft-server-charts

MIT License
267 stars 142 forks source link

Allow CF_API_KEY on other server types e.g. PAPER, SPIGOT #197

Closed Tuxprogrammer closed 3 months ago

Tuxprogrammer commented 4 months ago

Create CF_API_KEY resource on other server types to allow for CURSEFORGE_FILES auto download mods.

I'd like to use Curseforge auto downloader to download bukkit mods like: https://www.curseforge.com/minecraft/bukkit-plugins/worldedit

This works without needing to copy them out of mods folder. mc-image-helper knows to put them in plugins/ folder automatically.

Log Snippet

[mc-image-helper] 05:44:47.786 INFO  : Downloaded mod file plugins/worldedit-bukkit-7.3.0.jar
Tuxprogrammer commented 4 months ago

Yes, I am using the CURSEFORGE_FILES environment.

https://github.com/Tuxprogrammer/homelab/blob/master/kubernetes%2Fapps%2Fminecraft%2Fjava%2Fvanilla%2Fvalues.yaml

That's the specific values for the most part that I'm using.