Egg Repository

Pterodactyl Community Egg Repository

Grand Theft Auto Connected

Grand Theft Auto Connected is a custom scriptable multiplayer modification for multiple Grand Theft Auto games.

Read Me

Grand Theft Auto Connected

The GTAC Grand Theft Auto Connected is a custom scriptable multiplayer modification for multiple Grand Theft Auto games.

Server Ports

GTAC requires one port for both UDP/TCP

Port default
Game 22000
Yolks
NameTag
ghcr.io/ptero-eggs/yolks:debianghcr.io/ptero-eggs/yolks:debian
Variables
NameDescriptionEnvironment VariableDefault ValueUser ViewableUser Editable
Game typeSets the game this server will support. Available options: gta:iii, gta:vc, gta:sa, gta:ug, gta:iv, gta:eflcGAMETYPEgta:ivYesYes
Server NameThe name of the server, which appears in the server browser.SERVERNAMEPterodactyl ServerYesYes
serverbrowserWhether to show the server in the server browser, set to true or falseSERVERBROWSERtrueYesYes
Server VersionThe version of GATC to install such as 1.2.10, enter latest for the latest version.DL_VERSIONlatestYesYes
Install Script
#!/bin/bash
cd /mnt/server


if [ "${DL_VERSION}" == "latest" ]; then
    DOWNLOAD_LINK=https://gtaconnected.com/downloads/server/latest/linux
else
    DOWNLOAD_LINK=https://gtaconnected.com/downloads/GTAC-Server-Linux-${DL_VERSION}.tar.gz
fi

if [ ! -z "${DOWNLOAD_LINK}" ]; then 
    if curl --output /dev/null --silent --head --fail --location ${DOWNLOAD_LINK}; then
        echo -e "Chosen server version is valid."
    else
        echo -e "Chosen server version is invalid, tried $DOWNLOAD_LINK. Exiting installation"
        exit 2
    fi
else
    echo -e "no download link, stopping installation"
    exit 3
fi

echo -e "Downloading ${DL_VERSION} version of the server"
curl -sSL ${DOWNLOAD_LINK} -o GTAC.tar.gz
echo "Extracting files"
tar -xf GTAC.tar.gz

chmod +x Server
rm GTAC.tar.gz

echo "Install complete"