Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # NOTE:
- # Before you use, you need to replace the Steam LogIn-Data for yours, or LogIn once with steamcmd.sh and then only provide a username.
- betaname=${1}
- savegame="/home/steam/savegames/factorio/"${2}".zip"
- echo "Updating Factorio Beta "$betaname
- ./Steam/steamcmd.sh +login [USERNAME] <[PASSWORD] <STEAMGUARD-CODE>> +app_update 427520 -beta $betaname validate +quit
- echo "Starting Factorio Server with Savegame at "$savegame" in Screen: factorio"
- screen -dmS factorio ./Steam/steamapps/common/Factorio/bin/x64/factorio --start-server $savegame
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement