Advertisement
x4xpr0j3ct

Ark

Apr 15th, 2020
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.57 KB | None | 0 0
  1. :Backup
  2. @echo off
  3. echo Waiting for backup to Start! /t 10 sec
  4. timeout /t 10
  5. echo Thanks for waiting
  6. title Ark Server Batch Backup Started!
  7. For /f "tokens=1-3 delims=//" %%a in ('date /t') do (set mydate=%%c-%%a-%%b)
  8. For /f "tokens=1-2 delims=/:" %%a in ('time /t') do (set mytime=%%a%%b)
  9. xcopy /s "B:\arkservers\server2\ShooterGame\Saved" "G:\Backup\Automatic\Server2\%mydate%_%mytime%\"
  10. echo Backup created!
  11. @echo off
  12. echo backup Completed! /t 10 sec
  13. timeout /t 10
  14. echo Thanks for waiting!
  15. goto :UPDATE
  16. :UPDATE
  17. echo Starting game update!
  18. echo %time%: Starting game update>>restartlog.txt
  19. cd %steamcmd_path%
  20. start B:\arkservers\SteamCMD\Win64\steamcmd.exe +login anonymous +force_install_dir B:\arkservers\server2\ +app_update 376030 validate +quit
  21. goto :WAITFORUPDATE
  22. :WAITFORUPDATE
  23. @echo off
  24. echo Waiting for update to finish! /t 1000 sec
  25. timeout /t 1000
  26. echo Thanks for waiting.. Starting Server in 10 sec!
  27. timeout /t 10
  28. goto :START
  29. :START
  30. start ShooterGameServer "ScorchedEarth_P?SessionName=Un Monde De Merde?AltSaveDirectoryName=Save2?Port=7777?QueryPort=27018?FastDecayUnsnappedCoreStructures=true?AllowAnyoneBabyImprintCuddle=true?AllowCrateSpawnsOnTopOfStructures=true?DestroyUnconnectedWaterPipes=true?OverrideStructurePlatformPrevention=true?TribeLogDestroyedEnemyStructures=true?ShowFloatingDamageText=true?" -webalarm -servergamelog -EnableIdlePlayerKick -d3d10 -automanagedmods -UseBattlEye -nosteamclient -vday -game -server -ForceAllowCaveFlyers -log -NoTransferFromFiltering -ClusterDirOverride=B:\arkservers\clusters\CrazyCluster -clusterid=clusterservers
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement