Sign inSign up

ich777/mtaserver

By ich777

•Updated almost 2 years ago

Image
0

10K+

ich777/mtaserver repository overview

⁠Multi Theft Auto in Docker optimized for Unraid

This Docker will download and install Multi Theft Auto

Initial Servername: "Docker MTA Server" Password: "Docker"

If you want to connect to the console open a terminal and enter 'docker exec -u mta -ti NAMEOFYOURCONTAINER screen -xS MTA' (without quotes), to disconnect close the window.

UPDATE NOTICE: You can Force Update this Container (please note that you have to set Download Resources to 'true' and leave Skip Basicconfiguration blank to download everything new).

⁠Env params

NameValueExample
SERVER_DIRFolder for gamefiles/serverdata/serverfiles
GAME_PARAMSCommandline startup parametersblank
SKIP_BASECONFIG_CHKSet to 'true' (without quotes) to skip the download of the Basic Configuration files.blank
DOWNLOAD_RESOURCESSet to 'true' (without quotes) to download the resources, otherwise leave blank.true
FORCE_UPDATESet to 'true' (without quotes) to redownload the whole server (please note that you have to set Download Resources to 'true' and leave Skip Basicconfiguration blank to download everything new).blank
LOGFILE_DIRChange only if you know what you are doing.multitheftauto_linux_x64/mods/deathmatch/logs/server.log
UIDUser Identifier99
GIDGroup Identifier100

⁠Run example

docker run --name MTA -d \
    -p 22003:22003/udp -p 22126:22126/udp -p 22005:22005 \
    --env 'DOWNLOAD_RESOURCES=true' \
    --env 'LOGFILE_DIR=multitheftauto_linux_x64/mods/deathmatch/logs/server.log' \
    --env 'UID=99' \
    --env 'GID=100' \
    --volume /path/to/mta:/serverdata/serverfiles \
    --restart=unless-stopped \
    ich777/ich777/mtaserver

This Docker was mainly created for the use with Unraid, if you don’t use Unraid you should definitely try it!

⁠Support Thread: https://forums.unraid.net/topic/79530-support-ich777-gameserver-dockers/⁠

Tag summary

Content type

Image

Digest

sha256:894c6ddf1…

Size

38 MB

Last updated

almost 2 years ago

docker pull ich777/mtaserver