2020-10-10 16:48:06 +02:00
{
2024-06-01 02:21:13 +02:00
"_comment" : "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PANEL" ,
2020-10-10 16:48:06 +02:00
"meta" : {
2023-01-18 15:46:15 +01:00
"version" : "PTDL_v2" ,
2021-07-23 11:04:47 +02:00
"update_url" : null
2020-10-10 16:48:06 +02:00
} ,
2024-06-01 02:21:13 +02:00
"exported_at" : "2024-06-01T00:17:26+00:00" ,
2020-10-10 16:48:06 +02:00
"name" : "Among Us - Impostor Server" ,
2023-10-05 18:47:50 +02:00
"author" : "eggs@goover.dev" ,
2024-06-01 02:21:13 +02:00
"uuid" : "0693efe8-b3a5-44ec-a3af-3c4d8a4aa431" ,
2023-01-18 15:46:15 +01:00
"description" : "Impostor is one of the first Among Us private servers, written in C#.\r\n\r\nThere are no special features at this moment, the goal is aiming to be as close as possible to the real server, for now. In a later stage, making modifications to game logic by modifying GameData packets can be looked at." ,
2020-11-20 15:01:21 +01:00
"features" : null ,
2023-01-18 15:46:15 +01:00
"docker_images" : {
"Dotnet_7" : "ghcr.io\/parkervcp\/yolks:dotnet_7" ,
"Dotnet_6" : "ghcr.io\/parkervcp\/yolks:dotnet_6"
} ,
2021-07-23 11:04:47 +02:00
"file_denylist" : [ ] ,
2020-10-10 16:48:06 +02:00
"startup" : ".\/Impostor.Server" ,
"config" : {
2020-11-12 14:11:39 +01:00
"files" : "{\r\n \"config.json\": {\r\n \"parser\": \"json\",\r\n \"find\": {\r\n \"Server.PublicPort\": \"{{server.build.default.port}}\",\r\n \"Server.ListenPort\": \"{{server.build.default.port}}\"\r\n }\r\n }\r\n}" ,
2021-07-23 11:04:47 +02:00
"startup" : "{\r\n \"done\": \"Matchmaker is listening on\"\r\n}" ,
2020-10-10 16:48:06 +02:00
"logs" : "{}" ,
2021-07-23 11:04:47 +02:00
"stop" : "^^C"
2020-10-10 16:48:06 +02:00
} ,
"scripts" : {
"installation" : {
2023-03-04 15:05:57 +01:00
"script" : "#!\/bin\/bash\r\n\r\napt update\r\napt -y install curl jq tar\r\n\r\nmkdir -p \/mnt\/server\r\ncd \/mnt\/server\r\n\r\n## get release info and download links\r\nLATEST_JSON=$(curl --silent \"https:\/\/api.github.com\/repos\/Impostor\/Impostor\/releases\/latest\")\r\nRELEASES=$(curl --silent \"https:\/\/api.github.com\/repos\/Impostor\/Impostor\/releases\")\r\nMATCH=$([[ \"$(uname -m)\" == \"x86_64\" ]] && echo \"linux-x64\" || echo \"linux-arm64\")\r\n\r\nif [ -z \"${VERSION}\" ] || [ \"${VERSION}\" == \"latest\" ]; then\r\n DOWNLOAD_URL=$(echo ${LATEST_JSON} | jq .assets | jq -r .[].browser_download_url | grep -i ${MATCH})\r\nelse\r\n VERSION_CHECK=$(echo ${RELEASES} | jq -r --arg VERSION \"${VERSION}\" '.[] | select(.tag_name==$VERSION) | .tag_name')\r\n if [ \"${VERSION}\" == \"${VERSION_CHECK}\" ]; then\r\n DOWNLOAD_URL=$(echo ${RELEASES} | jq -r --arg VERSION \"${VERSION}\" '.[] | select(.tag_name==$VERSION) | .assets[].browser_download_url' | grep -i ${MATCH})\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\n\r\necho -e \"\\nDownloading from $DOWNLOAD_URL\"\r\ncurl -sSL -o imposter-server.tar.gz $DOWNLOAD_URL\r\n\r\n\r\necho -e \"\\nUnpacking .tar.gz\"\r\ntar xvf imposter-server.tar.gz\r\n\r\nrm imposter-server.tar.gz\r\nchmod +x Impostor.Server\r\n\r\necho -e \"\\nInstall completed\"" ,
2024-05-01 20:20:20 +02:00
"container" : "ghcr.io\/parkervcp\/installers:debian" ,
2020-10-10 16:48:06 +02:00
"entrypoint" : "bash"
}
} ,
"variables" : [
{
2021-07-23 11:04:47 +02:00
"name" : "Download Version" ,
2023-01-18 15:46:15 +01:00
"description" : "Version to Download. Leave latest for the latest release.\r\n\r\nFind all releases at https:\/\/github.com\/Impostor\/Impostor\/releases\r\nNote: versions start with a v, example: v1.8.0" ,
2020-10-23 15:15:37 +02:00
"env_variable" : "VERSION" ,
"default_value" : "latest" ,
"user_viewable" : true ,
"user_editable" : true ,
2023-01-18 15:46:15 +01:00
"rules" : "required|string|max:30" ,
2024-06-01 02:21:13 +02:00
"sort" : null ,
2023-01-18 15:46:15 +01:00
"field_type" : "text"
2020-10-10 16:48:06 +02:00
}
]
2024-06-01 02:21:13 +02:00
}