What more could you want? Multi Theft Auto provides the best online Grand Theft Auto experience there is. Read on to find out more.
Multi Theft Auto is a Open Source Grand Theft Auto: San Andreas Multiplayer modification.
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.
Name | Tag |
---|---|
ghcr.io/ptero-eggs/games:mta | ghcr.io/ptero-eggs/games:mta |
Name | Description | Environment Variable | Default Value | User Viewable | User Editable |
---|---|---|---|---|---|
SERVER_WEBPORT | The http port for web resource. This Port needs to be the {{SERVER_PORT}}+3. | SERVER_WEBPORT | 22005 | Yes | No |
#!/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 "-----------------------------------------"