Created
July 18, 2015 09:46
-
-
Save Getty/27fc659594854501aac7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set +x | |
TIMESTAMP=$( date +%y%m%d_%H%M ) | |
~/save_server | |
cd ~/iceage | |
tar cvzf ~/backups/iceage_${TIMESTAMP}.tar.gz ShooterGame/Saved |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
nano ~/iceage/ShooterGame/Saved/Config/LinuxServer/GameUserSettings.ini |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set +x | |
cd ~/ | |
bin/rcon -P"xxxxxx" -a127.0.0.1 -p27020 saveworld | |
sleep 5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
~/stop_server | |
cd ~/iceage/ShooterGame/Binaries/Linux | |
screen -d -m -S iceage ./ShooterGameServer TheIsland?listen -server -log |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
~/save_server | |
screen -S iceage -X quit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
~/stop_server | |
~/backup_server | |
cd ~/SteamCmd | |
./steamcmd.sh +login anonymous +force_install_dir /home/iceage/iceage +app_update 376030 validate +exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment