mirror of
https://github.com/pelican-eggs/games-standalone.git
synced 2024-11-23 10:52:34 +01:00
8ff63d3130
Update Eggs to add UUIDs to support Pelican Egg Updating.
88 lines
5.0 KiB
JSON
88 lines
5.0 KiB
JSON
{
|
|
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PANEL",
|
|
"meta": {
|
|
"version": "PTDL_v2",
|
|
"update_url": null
|
|
},
|
|
"exported_at": "2024-06-01T00:17:10+00:00",
|
|
"name": "Stay In Tarkov",
|
|
"author": "dino@papertots.page",
|
|
"uuid": "93912e5a-c87a-49ab-be70-5a73b3422749",
|
|
"description": "The Stay in Tarkov project was born due to Battlestate Games' (BSG) reluctance to create the pure PvE version of Escape from Tarkov. The project's aim is simple, create a Cooperation PvE experience that retains progression.",
|
|
"features": null,
|
|
"docker_images": {
|
|
"ghcr.io\/parkervcp\/yolks:debian": "ghcr.io\/parkervcp\/yolks:debian"
|
|
},
|
|
"file_denylist": [],
|
|
"startup": ".\/Aki.Server.exe",
|
|
"config": {
|
|
"files": "{\r\n \"Aki_Data\/Server\/configs\/http.json\": {\r\n \"parser\": \"json\",\r\n \"find\": {\r\n \"ip\": \"0.0.0.0\",\r\n \"port\": \"{{server.build.default.port}}\"\r\n }\r\n }\r\n}",
|
|
"startup": "{\r\n \"done\": \"Server is running, do not close while playing SPT, Happy playing!!\"\r\n}",
|
|
"logs": "{}",
|
|
"stop": "^C"
|
|
},
|
|
"scripts": {
|
|
"installation": {
|
|
"script": "#!\/bin\/bash\r\n# Stay In Tarkov Server Installation Script\r\n\r\nmkdir -p \/mnt\/server\r\ncd \/mnt\/server\r\n\r\n# Install git-lfs python3\r\napt update && apt install -yq git-lfs python3 jq tar\r\n\r\nif [ -z \"${GITHUB_USER}\" ] && [ -z \"${GITHUB_OAUTH_TOKEN}\" ] ; then\r\n echo -e \"using anon api call\"\r\nelse\r\n echo -e \"user and oauth token set\"\r\n alias curl='curl -u ${GITHUB_USER}:${GITHUB_OAUTH_TOKEN} '\r\nfi\r\n\r\n## Get SIT coop mod release info and download links\r\nLATEST_JSON=$(curl --silent \"https:\/\/api.github.com\/repos\/${SIT_PACKAGE}\/releases\/latest\")\r\nRELEASES=$(curl --silent \"https:\/\/api.github.com\/repos\/${SIT_PACKAGE}\/releases\")\r\n\r\nif [ -z \"${SIT_VERSION}\" ] || [ \"${SIT_VERSION}\" == \"latest\" ]; then\r\n DOWNLOAD_URL=$(echo ${LATEST_JSON} | jq .assets | jq -r .[].browser_download_url | grep -i linux)\r\nelse\r\n VERSION_CHECK=$(echo ${RELEASES} | jq -r --arg VERSION \"${SIT_VERSION}\" '.[] | select(.tag_name==$VERSION) | .tag_name')\r\n if [ \"${SIT_VERSION}\" == \"${VERSION_CHECK}\" ]; then\r\n DOWNLOAD_URL=$(echo ${RELEASES} | jq -r --arg VERSION \"${SIT_VERSION}\" '.[] | select(.tag_name==$VERSION) | .assets[].browser_download_url' | grep -i linux)\r\n else\r\n echo -e \"defaulting to latest release\"\r\n DOWNLOAD_URL=$(echo ${LATEST_JSON} | jq .assets | jq -r .[].browser_download_url)\r\n fi\r\nfi\r\nwget ${DOWNLOAD_URL} -O ${SIT_NAME}\r\ntar -xvzf ${SIT_NAME}\r\nrm ${SIT_NAME}",
|
|
"container": "ghcr.io\/parkervcp\/installers:debian",
|
|
"entrypoint": "bash"
|
|
}
|
|
},
|
|
"variables": [
|
|
{
|
|
"name": "SITCoop Version",
|
|
"description": "Version of the SIT co-op mod for the server. Use \"latest\" for latest release, or the github release\/tag\/hash.\r\n\r\nSITCoop: https:\/\/github.com\/stayintarkov\/SIT.Aki-Server-Mod",
|
|
"env_variable": "SIT_VERSION",
|
|
"default_value": "latest",
|
|
"user_viewable": true,
|
|
"user_editable": true,
|
|
"rules": "required|string",
|
|
"sort": null,
|
|
"field_type": "text"
|
|
},
|
|
{
|
|
"name": "SIT Mod Github Package",
|
|
"description": "Github package for the SIT Aki server co-op mod. \r\n\r\nSITCoop: https:\/\/github.com\/stayintarkov\/SIT.Aki-Server-Mod",
|
|
"env_variable": "SIT_PACKAGE",
|
|
"default_value": "stayintarkov\/SIT.Aki-Server-Mod",
|
|
"user_viewable": false,
|
|
"user_editable": false,
|
|
"rules": "required|string",
|
|
"sort": null,
|
|
"field_type": "text"
|
|
},
|
|
{
|
|
"name": "SIT Mod asset name",
|
|
"description": "SIT mod release file's asset name.",
|
|
"env_variable": "SIT_NAME",
|
|
"default_value": "SITCoop.tar.gz",
|
|
"user_viewable": false,
|
|
"user_editable": false,
|
|
"rules": "required|string",
|
|
"sort": null,
|
|
"field_type": "text"
|
|
},
|
|
{
|
|
"name": "Github Username",
|
|
"description": "Optional, a github username to use to avoid Github API rate limit",
|
|
"env_variable": "GITHUB_USER",
|
|
"default_value": "",
|
|
"user_viewable": false,
|
|
"user_editable": true,
|
|
"rules": "present",
|
|
"sort": null,
|
|
"field_type": "text"
|
|
},
|
|
{
|
|
"name": "Github OAuth token",
|
|
"description": "Optional, A Github OAuth token to use to avoid API rate limit.",
|
|
"env_variable": "GITHUB_OAUTH_TOKEN",
|
|
"default_value": "",
|
|
"user_viewable": false,
|
|
"user_editable": true,
|
|
"rules": "present",
|
|
"sort": null,
|
|
"field_type": "text"
|
|
}
|
|
]
|
|
} |