AMPTemplates/beammpupdates.json
IceOfWraith c7fc92dd3e
Add BeamMP (#414)
* Add BeamMP

This PR is on hold until either liblua5.3-0 is added to the ampbase image, or `Meta.DockerContainerPacakges` is implemented.

* Update beammpconfig.json

* Adjustments for Debian 12

* Metaconfig and binary changes

* Add Greelan

* Changes for binary downloads and setting enhancements

* Update beammpconfig.json

* Update beammpupdates.json

* Update beammpconfig.json

* Update beammp.kvp

* Update beammpconfig.json

* Make symlink relative (local)

* Update server description default

* Update beammpconfig.json

* Update beammpconfig.json

* Update source

---------

Co-authored-by: Greelan <53196309+Greelan@users.noreply.github.com>
2023-09-10 02:26:31 -05:00

51 lines
1.8 KiB
JSON

[
{
"UpdateStageName":"Binary and Symlink Removal",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"Executable",
"UpdateSourceData":"/bin/bash",
"UpdateSourceArgs":"-c 'rm {{$FullBaseDir}}BeamMP-Server*'"
},
{
"UpdateStageName":"BeamMP Download",
"UpdateSourcePlatform":"Windows",
"UpdateSource":"GithubRelease",
"UpdateSourceData":"BeamMP-Server.exe",
"UpdateSourceArgs":"BeamMP/BeamMP-Server",
"UpdateSourceTarget":"{{$FullBaseDir}}",
"UnzipUpdateSource":false,
"OverwriteExistingFiles":true
},
{
"UpdateStageName":"BeamMP Download",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"GithubRelease",
"UpdateSourceData":"BeamMP-Server-{{ServerVersion}}",
"UpdateSourceArgs":"BeamMP/BeamMP-Server",
"UpdateSourceTarget":"{{$FullBaseDir}}",
"UnzipUpdateSource":false,
"OverwriteExistingFiles":true
},
{
"UpdateStageName":"Set Executable Flag",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"SetExecutableFlag",
"UpdateSourceArgs":"{{$FullBaseDir}}BeamMP-Server-{{ServerVersion}}"
},
{
"UpdateStageName":"Binary Symlink Creation",
"UpdateSourcePlatform":"Linux",
"UpdateSource":"Executable",
"UpdateSourceData":"/bin/bash",
"UpdateSourceArgs":"-c 'cd ./beammp/serverfiles/ && ln -s BeamMP-Server-{{ServerVersion}} BeamMP-Server'"
},
{
"UpdateStageName":"Config File Download",
"UpdateSourcePlatform":"All",
"UpdateSource":"FetchURL",
"UpdateSourceData":"https://github.com/CubeCoders/AMPTemplates/raw/main/beammpServerConfig.toml",
"UpdateSourceTarget":"{{$FullBaseDir}}",
"UpdateSourceArgs":"ServerConfig.toml",
"OverwriteExistingFiles":false
}
]