Egg Repository

Pterodactyl Community Egg Repository

Among Us - Impostor Server

Impostor is one of the first Among Us private servers, written in C#. There 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.

Read Me

Among Us - Impostor Server

From their Github

Impostor is one of the first Among Us private servers, written in C#. There 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.

Install notes

You MUST use Port 22023 for the Master Server. To host multiple servers, please read Impostor Multiple Servers Documentation.

Server Ports

Ports required to run the server in a table format.

Port default
Game 22023
Yolks
NameTag
Dotnet_7ghcr.io/ptero-eggs/yolks:dotnet_7
Dotnet_6ghcr.io/ptero-eggs/yolks:dotnet_6
Variables
NameDescriptionEnvironment VariableDefault ValueUser ViewableUser Editable
Download VersionVersion to Download. Leave latest for the latest release. Find all releases at https://github.com/Impostor/Impostor/releases Note: versions start with a v, example: v1.8.0VERSIONlatestYesYes
Install Script
#!/bin/bash

apt update
apt -y install curl jq tar

mkdir -p /mnt/server
cd /mnt/server

## get release info and download links
LATEST_JSON=$(curl --silent "https://api.github.com/repos/Impostor/Impostor/releases/latest")
RELEASES=$(curl --silent "https://api.github.com/repos/Impostor/Impostor/releases")
MATCH=$([[ "$(uname -m)" == "x86_64" ]] && echo "linux-x64" || echo "linux-arm64")

if [ -z "${VERSION}" ] || [ "${VERSION}" == "latest" ]; then
    DOWNLOAD_URL=$(echo ${LATEST_JSON} | jq .assets | jq -r .[].browser_download_url | grep -i ${MATCH})
else
    VERSION_CHECK=$(echo ${RELEASES} | jq -r --arg VERSION "${VERSION}" '.[] | select(.tag_name==$VERSION) | .tag_name')
    if [ "${VERSION}" == "${VERSION_CHECK}" ]; then
        DOWNLOAD_URL=$(echo ${RELEASES} | jq -r --arg VERSION "${VERSION}" '.[] | select(.tag_name==$VERSION) | .assets[].browser_download_url' | grep -i ${MATCH})
    else
        echo -e "defaulting to latest release"
        DOWNLOAD_URL=$(echo ${LATEST_JSON} | jq .assets | jq -r .[].browser_download_url)
    fi
fi

echo -e "\nDownloading from $DOWNLOAD_URL"
curl -sSL -o imposter-server.tar.gz $DOWNLOAD_URL


echo -e "\nUnpacking .tar.gz"
tar xvf imposter-server.tar.gz

rm imposter-server.tar.gz
chmod +x Impostor.Server

echo -e "\nInstall completed"