Advertisement
Guest User

Untitled

a guest
Jan 1st, 2019
395
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.07 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. # How you invoke the command.  If you installed steamcmd manually, point this to the executable.
  4. # I installed steamcmd manually, so the executable is located in /home/steam.
  5. EXECUTABLE="/home/steam/steamcmd"
  6.  
  7. # SCP:SL requires an active account that has launched the game at least once.
  8. # The "anonymous" user cannot be used. You must use an account with a password.
  9. STEAM_USERNAME="anonymous";
  10. STEAM_PASSWORD="";
  11.  
  12. # Where you want the server files to go.
  13. FORCE_INSTALL_DIR="/home/scp/scp_server"
  14.  
  15. # The ID of the app you want to install.  SCP:SL is 700330.
  16. # This particular game also requires being in the Linux beta (which for some reason
  17. # still requires you to download the Windows version).
  18. APPID="700330 -beta linux";
  19.  
  20. # Will validate all files on install/update.
  21. # You can leave this blank, but I usually just keep it on.
  22. VALIDATE="validate";
  23.  
  24. $EXECUTABLE \
  25. +@ShutdownOnFailedCommand 1 \
  26. +@sSteamCmdForcePlatformType windows \
  27. +login $STEAM_USERNAME $STEAM_PASSWORD \
  28. +force_install_dir $FORCE_INSTALL_DIR \
  29. +app_update $APPID $VALIDATE \
  30. +quit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement