Grand Theft Auto Connected is a custom scriptable multiplayer modification for multiple Grand Theft Auto games.
The GTAC Grand Theft Auto Connected is a custom scriptable multiplayer modification for multiple Grand Theft Auto games.
GTAC requires one port for both UDP/TCP
Port | default |
---|---|
Game | 22000 |
Name | Tag |
---|---|
ghcr.io/ptero-eggs/yolks:debian | ghcr.io/ptero-eggs/yolks:debian |
Name | Description | Environment Variable | Default Value | User Viewable | User Editable |
---|---|---|---|---|---|
Game type | Sets the game this server will support. Available options: gta:iii, gta:vc, gta:sa, gta:ug, gta:iv, gta:eflc | GAMETYPE | gta:iv | Yes | Yes |
Server Name | The name of the server, which appears in the server browser. | SERVERNAME | Pterodactyl Server | Yes | Yes |
serverbrowser | Whether to show the server in the server browser, set to true or false | SERVERBROWSER | true | Yes | Yes |
Server Version | The version of GATC to install such as 1.2.10, enter latest for the latest version. | DL_VERSION | latest | Yes | Yes |
#!/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"