Egg Repository

Pterodactyl Community Egg Repository

Multi Theft Auto

What more could you want? Multi Theft Auto provides the best online Grand Theft Auto experience there is. Read on to find out more.

Read Me

Multi Theft Auto

Multi Theft Auto is a Open Source Grand Theft Auto: San Andreas Multiplayer modification.

Server Ports

Multi Theft Auto requires 3 ports.

Port Default
Game 22003
http 22005
ASE 22126

The ASE port is required to announce the server to the mta server list, this port is always the Game port (22003) +123.

Yolks
NameTag
ghcr.io/ptero-eggs/games:mtaghcr.io/ptero-eggs/games:mta
Variables
NameDescriptionEnvironment VariableDefault ValueUser ViewableUser Editable
SERVER_WEBPORTThe http port for web resource. This Port needs to be the {{SERVER_PORT}}+3.SERVER_WEBPORT22005YesNo
Install Script
#!/bin/bash

cd /tmp
curl -sSL -o multitheftauto_linux_x64.tar.gz https://linux.multitheftauto.com/dl/multitheftauto_linux_x64.tar.gz
curl -sSL -o mta-baseconfig.tar.gz https://linux.multitheftauto.com/dl/baseconfig.tar.gz
curl -sSL -o mtasa-resources-latest.zip https://mirror.multitheftauto.com/mtasa/resources/mtasa-resources-latest.zip

mkdir -p /mnt/server
tar -xvf multitheftauto_linux_x64.tar.gz
cp -rf multitheftauto_linux_x64/* /mnt/server

if [ ! -f /mnt/server/x64/libmysqlclient.so.16 ]; then
    curl -L http://nightly.mtasa.com/files/libmysqlclient.so.16 -o /mnt/server/x64/libmysqlclient.so.16
fi

mkdir -p /mnt/server/mods/deathmatch/resources
unzip -o -d /mnt/server/mods/deathmatch/resources mtasa-resources-latest.zip

tar -xvf mta-baseconfig.tar.gz
cp -rf baseconfig/* /mnt/server/mods/deathmatch

chown -R root:root /mnt

export HOME=/mnt/server

## install end
echo "-----------------------------------------"
echo "Installation completed..."
echo "-----------------------------------------"