ParadigmMC / mcman

Powerful Minecraft Server Manager CLI. Easily install jars (server, plugins & mods) and write config files. Docker and git support included.
GNU General Public License v3.0
177 stars 14 forks source link

Fails to pull in resourcepack packwiz files #65

Open IThundxr opened 5 months ago

IThundxr commented 5 months ago

when running mcman init --packwiz https://raw.githubusercontent.com/Layers-of-Railways/modpack/1.20.1/dev/pack.toml you can observe that files in this folder https://github.com/Layers-of-Railways/modpack/tree/1.20.1/dev/resourcepacks and https://github.com/Layers-of-Railways/modpack/tree/1.20.1/dev/config/paxi/resourcepacks never get added due to being resourcepack files with mcman giving the following warning

      ⚠ Warn unsupported metafile: resourcepacks/ferns-fancy-inventory.pw.toml - please open an issue at github
      ⚠ Warn unsupported metafile: resourcepacks/fresh-animations.pw.toml - please open an issue at github
      ⚠ Warn unsupported metafile: shaderpacks/complementary-reimagined.pw.toml - please open an issue at github
      ⚠ Warn unsupported metafile: shaderpacks/complementary-unbound.pw.toml - please open an issue at github

supporting resourcepacks would be a nice touch if its possible

TheAlan404 commented 5 months ago

The v2 rewrite should have full support for this, for now unfortunately I cant give you much of a fix

Here's a preview server.toml on v2:

name = "Layers of Railway"

[[sources]]
type = "modpack"
modpack_type = "packwiz"
url = "https://raw.githubusercontent.com/Layers-of-Railways/modpack/1.20.1/dev/"

hell, you can even mcman build with that on v2, v2 is currently missing a lot of the import / export / run extra features but the core part is somewhat complete