Dev Files Download
- command-v jq >/dev/null 2>&1||{
- echo>&2'You need jq to run this program. You can install it with';
- exit1;
- TO=$(cat$FILE|grep required |wc -l)
- VER=$(cat$FILE| jq '.version'|sed's/^.(.*).$/1/')
- AUTHOR=$(cat$FILE| jq '.author'|sed's/^.(.*).$/1/')
- MVER=$(cat$FILE| jq '.minecraft.version'|sed's/^.(.*).$/1/')
- FVER=$(cat$FILE| jq '.minecraft.modLoaders[0].id'|sed's/^.(.*).$/1/')
- echo'
- echo'= Version: '$VER
- echo'
- echo'= Forge Version: '$FVER
- echo'
- echo-n'Do you want to install optional packages? [Y/n] '
- mkdir/tmp/curse >/dev/null 2>&1
- # Delete files if they already exist
- for i in $(seq$TO)
- REQ=$(cat$FILE| jq '.files['$i-1'].required')
- FID=$(cat$FILE| jq '.files['$i-1'].fileID')
- URL='http://minecraft.curseforge.com/mc-mods/'$PID'-mod/files/'$FID'/download'
- if[!$OPT = 'n'] ; then
- elif[$REQ = 'false'] ; then
- elif[$REQ = 'true'] ; then
- fi
- mv/tmp/curse/* ./overrides/mods/>/dev/null 2>&1
- echo'Clean up'
- echo'
- echo'= Copy all the files from the overrides folder'
- echo'= to your instance folder (e. g. in MultiMC)'
- echo'
Copy Files To Dev Null Minecraft Pc
Equivalent of (foo &>/dev/null &) in Windows shell. And NUL is Windows' equivalent of /dev/null. Why do Windows and Linux see different files on a DVD ROM? Login to your server cd /opt tar -zcvf minecraft_backup.tar.gz minecraft Copy the minecraft_backup.tar.gz to a safe location, preferably another computer. This file can be used to restore your world if needed. Get into the habit of doing this regularly.