47 lines
1.7 KiB
JSON
47 lines
1.7 KiB
JSON
[
|
|
{
|
|
"UpdateStageName":"Server Download",
|
|
"UpdateSourcePlatform":"Windows",
|
|
"UpdateSource":"FetchURL",
|
|
"UpdateSourceData":"https://files.samp-sc.com/downloader.php?filename=samp037_svr_R2-1-1_win32.zip",
|
|
"UpdateSourceArgs":"samp.zip",
|
|
"UpdateSourceTarget":"{{$FullBaseDir}}",
|
|
"UnzipUpdateSource":true,
|
|
"OverwriteExistingFiles":true,
|
|
"DeleteAfterExtract":true
|
|
},
|
|
{
|
|
"UpdateStageName":"Server Download",
|
|
"UpdateSourcePlatform":"Linux",
|
|
"UpdateSource":"FetchURL",
|
|
"UpdateSourceData":"https://files.samp-sc.com/downloader.php?filename=samp037svr_R2-1.tar.gz",
|
|
"UpdateSourceArgs":"samp.tar.gz",
|
|
"UpdateSourceTarget":"{{$FullBaseDir}}",
|
|
"UnzipUpdateSource":true,
|
|
"OverwriteExistingFiles":true,
|
|
"DeleteAfterExtract":true
|
|
},
|
|
{
|
|
"UpdateStageName":"Move Server Files",
|
|
"UpdateSourcePlatform":"Linux",
|
|
"UpdateSource":"Executable",
|
|
"UpdateSourceData":"/bin/bash",
|
|
"UpdateSourceArgs":"-c '\\cp -rf ./sa-mp/samp03/* ./sa-mp/ && rm -rf ./sa-mp/samp03'"
|
|
},
|
|
{
|
|
"UpdateStageName":"Create Plugins Directory",
|
|
"UpdateSourcePlatform":"All",
|
|
"UpdateSource":"CreateDirectory",
|
|
"UpdateSourceArgs":"{{$FullBaseDir}}plugins"
|
|
},
|
|
{
|
|
"UpdateStageName":"Server.cfg Template File Download",
|
|
"UpdateSourcePlatform":"All",
|
|
"UpdateSource":"FetchURL",
|
|
"UpdateSourceData":"https://raw.githubusercontent.com/CubeCoders/AMPTemplates/main/sa-mpserver.cfg",
|
|
"UpdateSourceArgs":"AMP_server.cfg",
|
|
"UpdateSourceTarget":"{{$FullInstanceDir}}",
|
|
"OverwriteExistingFiles":true
|
|
}
|
|
]
|