Add Dotnet 8 to Amongus Imposter Server Eggs (#20)

* Add dotnet 8

* Add Dotnet 8

* import and export

---------

Co-authored-by: QuintenQVD0 <josdekurk@gmail.com>
This commit is contained in:
Rowan 2024-07-01 09:29:43 +01:00 committed by GitHub
parent 2700cb360e
commit 70e1cac1ce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 17 additions and 15 deletions

View File

@ -4,20 +4,21 @@
"version": "PTDL_v2", "version": "PTDL_v2",
"update_url": null "update_url": null
}, },
"exported_at": "2024-06-01T00:17:26+00:00", "exported_at": "2024-07-01T08:27:45+00:00",
"name": "Among Us - Impostor Server", "name": "Among Us - Impostor Server",
"author": "eggs@goover.dev", "author": "eggs@goover.dev",
"uuid": "0693efe8-b3a5-44ec-a3af-3c4d8a4aa431", "uuid": "0693efe8-b3a5-44ec-a3af-3c4d8a4aa431",
"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.", "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.",
"features": null, "features": null,
"docker_images": { "docker_images": {
"Dotnet_8": "ghcr.io\/parkervcp\/yolks:dotnet_8",
"Dotnet_7": "ghcr.io\/parkervcp\/yolks:dotnet_7", "Dotnet_7": "ghcr.io\/parkervcp\/yolks:dotnet_7",
"Dotnet_6": "ghcr.io\/parkervcp\/yolks:dotnet_6" "Dotnet_6": "ghcr.io\/parkervcp\/yolks:dotnet_6"
}, },
"file_denylist": [], "file_denylist": [],
"startup": ".\/Impostor.Server", "startup": ".\/Impostor.Server",
"config": { "config": {
"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}", "files": "{\r\n \"config.json\": {\r\n \"parser\": \"json\",\r\n \"find\": {\r\n \"Server.PublicPort\": \"{{server.allocations.default.port}}\",\r\n \"Server.ListenPort\": \"{{server.allocations.default.port}}\"\r\n }\r\n }\r\n}",
"startup": "{\r\n \"done\": \"Matchmaker is listening on\"\r\n}", "startup": "{\r\n \"done\": \"Matchmaker is listening on\"\r\n}",
"logs": "{}", "logs": "{}",
"stop": "^^C" "stop": "^^C"
@ -31,6 +32,7 @@
}, },
"variables": [ "variables": [
{ {
"sort": null,
"name": "Download Version", "name": "Download Version",
"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", "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",
"env_variable": "VERSION", "env_variable": "VERSION",
@ -38,7 +40,6 @@
"user_viewable": true, "user_viewable": true,
"user_editable": true, "user_editable": true,
"rules": "required|string|max:30", "rules": "required|string|max:30",
"sort": null,
"field_type": "text" "field_type": "text"
} }
] ]

View File

@ -1,37 +1,38 @@
{ {
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PANEL", "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": { "meta": {
"update_url": null, "version": "PTDL_v2",
"version": "PTDL_v2" "update_url": null
}, },
"exported_at": "2024-06-01T00:17:26+00:00", "exported_at": "2024-07-01T10:26:38+02:00",
"name": "Among Us - Impostor Server", "name": "Among Us - Impostor Server",
"author": "eggs@goover.dev", "author": "eggs@goover.dev",
"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.", "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.",
"features": null, "features": null,
"docker_images": { "docker_images": {
"Dotnet_6": "ghcr.io/parkervcp/yolks:dotnet_6", "Dotnet_8": "ghcr.io\/parkervcp\/yolks:dotnet_8",
"Dotnet_7": "ghcr.io/parkervcp/yolks:dotnet_7" "Dotnet_7": "ghcr.io\/parkervcp\/yolks:dotnet_7",
"Dotnet_6": "ghcr.io\/parkervcp\/yolks:dotnet_6"
}, },
"file_denylist": [], "file_denylist": [],
"startup": "./Impostor.Server", "startup": ".\/Impostor.Server",
"config": { "config": {
"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}", "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}",
"logs": "{}",
"startup": "{\r\n \"done\": \"Matchmaker is listening on\"\r\n}", "startup": "{\r\n \"done\": \"Matchmaker is listening on\"\r\n}",
"logs": "{}",
"stop": "^^C" "stop": "^^C"
}, },
"scripts": { "scripts": {
"installation": { "installation": {
"container": "ghcr.io/parkervcp/installers:debian", "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\"",
"entrypoint": "bash", "container": "ghcr.io\/parkervcp\/installers:debian",
"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\" ]] \u0026\u0026 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\"" "entrypoint": "bash"
} }
}, },
"variables": [ "variables": [
{ {
"name": "Download Version", "name": "Download Version",
"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", "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",
"env_variable": "VERSION", "env_variable": "VERSION",
"default_value": "latest", "default_value": "latest",
"user_viewable": true, "user_viewable": true,