Please check out pest. It is such a cool and simple to use library for parsing.
Install modpack from .modpackinfo files which can be easily shared in web.
- Install Rust and Cargo from this.
cargo install --git https://github.com/DaimaoPPK/EZModpacker.git
- Executable file is installed at ${HOME}/.cargo/bin in unix and %USERPROFILE%.cargo\bin in windows
NOTE: REPLACE ${x} WITH RESPECTIVE VALUE
name: ${x}
Name of modpack
version: ${x}
Version of modpack
mcversion: ${x}
Version of minecraft
dl: ${x}
Download from link(or other values)
[${x}]
downloads following this will be put in ${x} directory
<>
following left value is attribute field. You can seperate each attribute with comma.
name<root=false>: ${x}
Doesn't generate root folder
download<mode=${x}>: ${https_link}
normal
= Download from http or https.
curseforge
= Download from curseforge and value will be ${id/filename} where id is number with 7 or 6 digits. You can see them at the end of curseforge mod file link. Filename is name of file.
E.G: 3222876/journeymap-1.16.5-5.7.1.jar