Skip to content

lhridder/getpack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getpack

Tool for fetching server jars and modpacks.

TODO

  • Docker building and testing
  • GUI?

Features

  • bedrock fetching
  • paper fetching
  • purpur fetching
  • spigot compiling
  • forge installing
  • fabric installing
  • curseforge installing
  • technicpack installing
  • ftb installing
  • only install new version if not installed yet
  • collecting all modpacks in list.json for easy deployment
  • discord bot logger functionality

Config

config.yml layout:

target: /path/to/folder
debug: false
deploy: false
enabled:
  curse: false
  technic: false
  ftb: false
  paper: false
  purpur: false
  forge: false
  fabric: false
  bedrock: false
  spigot: false
discord:
  enabled: false
  token: insert the discord bot token here
  channel: insert the desired target channel id here
curse:
  apikey: insert your curseforge api key here
  modpacks:
    packname: packid
technic:
  modpacks:
    - insert modpack name here
ftb:
  modpacks:
    packname: packid
paper:
  version: insert minecraft version here
purpur:
  version: insert minecraft version here
fabric:
  versions:
    - insert minecraft version here
forge:
  versions:
    - insert minecraft version here
spigot:
  version: insert minecraft version here

packs.yml layout:

packs:
  insert pack id here:
    - insert pack instruction here
    - insert another pack instruction here

Instructions

See practical examples in packs.yml

delete

delete:filename delete specified file.

delete:foldername/ delete specified folder.

deletereg

deletereg:filenamereg parse generic regex format and delete all files that match.

rename

rename:oldname:newname rename file from oldname to newname.

renamreg

rename:oldnamereg:newname parse generic regex format and rename matched file to newname.

cdreg

cdreg:foldernamereg parse generic regex format and cd into found folder.

javarun

javarun:filenamereg:arg parse generic regex format and run found jar with argument.

forgegrep

forgegrep:filename read specified file, search for forge version and install it.

neoforgegrep

neoforgegrep:filename read specified file, search for neoforge version and install it

fabricgrep

fabricgrep:filename read specified file, search for fabric version and install it.

fabricrun

fabricrun:filename read specified file, search for fabric installer and install it.

variablesgrep

variablesgrep:filename read specified file, search for fabric/forge, minecraft version and install it.

bashrun

bashrun:arg execute specified bash command.

shforgegrep

shforgegrep:filename read specified file, search for forge >=1.17 startup format and create generic run.sh.

forge

forge:version install latest forge version for specified mcversion in current folder.

fabric

fabric:version install latest fabric version for specified mcversion in current folder.

About

tool for fetching server jars and modpacks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages