Skip to content

Instantly share code, notes, and snippets.

@lazypower
Created April 7, 2012 21:18
Show Gist options
  • Save lazypower/2332154 to your computer and use it in GitHub Desktop.
Save lazypower/2332154 to your computer and use it in GitHub Desktop.
Automate the deployment of your own TShock server
#!/bin/bash
apt-get -y install mono-complete
#Force removal of the directory if it exists
rm -rf /tmp/terraria
mkdir /tmp/terraria
#create the cache
cd /tmp/terraria
#Fetch the TShock server bins
wget -O tshock.zip https://github.com/downloads/TShock/TShock/TShock%203.8.0.0304.zip
unzip /tmp/terraria/tshock.zip
#cleanup the download
rm tshock.zip
mv /tmp/terraria /opt/terraria
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment