Skip to content

Instantly share code, notes, and snippets.

@dcoles
Created December 28, 2012 11:40
Show Gist options
  • Save dcoles/4397026 to your computer and use it in GitHub Desktop.
Save dcoles/4397026 to your computer and use it in GitHub Desktop.
#!/bin/bash
set -e
MINECRAFT_SERVER=minecraft_server.jar
MINECRAFT_SERVER_ARS=minecraft_server_ars.jar
FORGE=minecraftforge-universal-1.4.5-6.4.1.410.zip
ARS=ArsMagica_Open_Beta_RC_4.62.113
rm -r server-jar $MINECRAFT_SERVER_ARS || true
mkdir server-jar
unzip -d server-jar $MINECRAFT_SERVER
unzip -d server-jar $FORGE
rsync -av $ARS/ server-jar
pushd server-jar
zip -r ../$MINECRAFT_SERVER_ARS .
popd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment