Skip to content

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.

egg-multi-theft-auto.json

updated

Ports

Add an allocation on the node for each port.

  • Game 22003
  • http 22005
  • ASE 22126

Install

Installer image
ghcr.io/ptero-eggs/installers:ubuntu
Install script
29 lines

Image

  • mta image ghcr.io/ptero-eggs/games:mta

Startup

The Panel runs this command to start the server. It replaces each variable in the command with the value of that variable.

1 variable

Startup command

./mta-server64 --port 22003 --httpport 22005 -n

Dotted values come from the server settings. These values are examples.

  • The http port for web resource. This Port needs to be the {{SERVER_PORT}}+3.

    SERVER_WEBPORTUsers can see

    required|numeric

Wings

Stop command
shutdown
Running when the console shows
Server started and is ready to accept connections

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.

Changes

  1. Add standalone games

    · Daniel Barton · 74c706a

All changes on GitHub

Problem with this egg?

Open an issue on GitHub. Include your Panel and Wings versions.

Install script 29 lines bash in ghcr.io/ptero-eggs/installers:ubuntu Show
#!/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 "-----------------------------------------"