Multi Theft Auto
GamesWhat more could you want? Multi Theft Auto provides the best online Grand Theft Auto experience there is. Read on to find out more.
README
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.
Docker Images (1)
| Name | Image |
|---|---|
ghcr.io/ptero-eggs/games:mta | ghcr.io/ptero-eggs/games:mta |
Startup Command
./mta-server64 --port {{SERVER_PORT}} --httpport {{SERVER_WEBPORT}} -n Variables (1)
SERVER_WEBPORT
The http port for web resource. This Port needs to be the {{SERVER_PORT}}+3.
- Environment:
SERVER_WEBPORT- Default:
22005- User Viewable:
- ❌
- User Editable:
- ❌
- Rules:
required|numeric
Installation Script
Container:
ghcr.io/ptero-eggs/installers:ubuntuEntrypoint:
bash#!/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 "-----------------------------------------"