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

Portdefault
Game22000
Yolks
NameTag
ghcr.io/ptero-eggs/yolks:debianghcr.io/ptero-eggs/yolks:debian
Variables and Startup

Startup Command

./Server

Variables

Game type

Sets the game this server will support. Available options: gta:iii, gta:vc, gta:sa, gta:ug, gta:iv, gta:eflc

Environment Variable: GAMETYPE
Default Value: gta:iv
User Viewable:
User Editable:
Server Name

The name of the server, which appears in the server browser.

Environment Variable: SERVERNAME
Default Value: Pterodactyl Server
User Viewable:
User Editable:
serverbrowser

Whether to show the server in the server browser, set to true or false

Environment Variable: SERVERBROWSER
Default Value: true
User Viewable:
User Editable:
Server Version

The version of GATC to install such as 1.2.10, enter latest for the latest version.

Environment Variable: DL_VERSION
Default Value: latest
User Viewable:
User Editable:
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"
Installation Imageghcr.io/ptero-eggs/installers:debianInstallation Entrypointbash