Grand Theft Auto Connected
Grand Theft Auto Connected is a custom scriptable multiplayer modification for multiple Grand Theft Auto games.
- updated
- variables
- 4
- images
- 1
- author
- admin@softwarenoob.com
- sha256
- 9d22f53da50e
Readme
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 |
Variables
4 settings
-
Game type
Sets the game this server will support. Available options: gta:iii, gta:vc, gta:sa, gta:ug, gta:iv, gta:eflc
- env
- GAMETYPE
- default
- gta:iv
- rules
- required|string|in:gta:iii,gta:vc,gta:sa,gta:ug,gta:iv,gta:eflc
- viewable
- editable
-
Server Name
The name of the server, which appears in the server browser.
- env
- SERVERNAME
- default
- Pterodactyl Server
- rules
- required|string|max:60
- viewable
- editable
-
serverbrowser
Whether to show the server in the server browser, set to true or false
- env
- SERVERBROWSER
- default
- true
- rules
- required|string|in:true,false
- viewable
- editable
-
Server Version
The version of GATC to install such as 1.2.10, enter latest for the latest version.
- env
- DL_VERSION
- default
- latest
- rules
- required|string|max:20
- viewable
- editable
Installation script 31 lines container ghcr.io/ptero-eggs/installers:debian entrypoint bash show hide
#!/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"