[ { "UpdateStageName":"SteamCMD Download", "UpdateSourcePlatform":"All", "UpdateSource":"SteamCMD", "UpdateSourceData":"1110390" }, { "UpdateStageName":"Config Directory Creation", "UpdateSourcePlatform":"All", "UpdateSource":"CreateDirectory", "UpdateSourceArgs":"{{$FullBaseDir}}Servers/Unturned/Server" }, { "UpdateStageName":"Main Config File Download", "UpdateSourcePlatform":"All", "UpdateSource":"FetchURL", "UpdateSourceData":"https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/unturnedconfigfile.dat", "UpdateSourceArgs":"Commands.dat", "UpdateSourceTarget":"{{$FullBaseDir}}Servers/Unturned/Server/", "OverwriteExistingFiles":false }, { "UpdateStageName":"Workshop Config File Download", "UpdateSourcePlatform":"All", "UpdateSource":"FetchURL", "UpdateSourceData":"https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/unturnedworkshopconfig.json", "UpdateSourceTarget":"{{$FullInstanceDir}}", "OverwriteExistingFiles":true }, { "UpdateStageName":"Copy Rocket Directory", "UpdateSourcePlatform":"Windows", "UpdateSource":"Executable", "UpdateSourceData":"cmd.exe", "UpdateSourceArgs":"/C xcopy /E /Y /I .\\U3DS\\1110390\\Extras\\Rocket.Unturned .\\U3DS\\1110390\\Modules\\Rocket.Unturned" }, { "UpdateStageName":"Copy Rocket Directory", "UpdateSourcePlatform":"Linux", "UpdateSource":"Executable", "UpdateSourceData":"/bin/cp", "UpdateSourceArgs":"-rf ./U3DS/1110390/Extras/Rocket.Unturned ./U3DS/1110390/Modules" }, { "UpdateStageName":"Start Server", "UpdateSourcePlatform":"All", "UpdateSource":"StartApplication" }, { "UpdateStageName":"Wait For Server Start", "UpdateSourcePlatform":"All", "UpdateSource":"WaitForStartupComplete" }, { "UpdateStageName":"Stop Server", "UpdateSourcePlatform":"All", "UpdateSource":"ShutdownApplication" } ]