Repository navigation
Mtaserver
This guide covers the mtaserver module in AlphaGSM.
mtaserver is currently PASSED on the documented Ubuntu 24.04 Linux
baseline. The checked-in GitHub validation path for this server is
Docker-first through the shared steamcmd-linux runtime, with the built-in
HTTP health surface on httpport = port + 2 after AlphaGSM disables ase.
query and info resolve the runtime's reachable host, including Docker's
published endpoint when AlphaGSM runs in a separate container. This routing
correction is awaiting replacement GitHub CI validation.
-
dockerfor the validated Linux lifecycle - Python packages from
requirements.txt
Local process mode still exists for advanced/manual use, but the current
supported AlphaGSM lifecycle on Linux is the shared Docker-backed
steamcmd-linux runtime path.
Create the server:
alphagsm mymtaserve create mtaserverRun setup:
alphagsm mymtaserve setupStart it:
alphagsm mymtaserve startCheck it:
alphagsm mymtaserve statusStop it:
alphagsm mymtaserve stopSetup configures:
- the game port (default 22003)
- the built-in HTTP listener on
httpport = port + 2 - the install directory
- downloads and extracts the main Linux server archive
- auto-installs the official
baseconfig.tar.gzbundle whenmods/deathmatch/mtaserver.confis missing - syncs
mods/deathmatch/mtaserver.confso AlphaGSM owns:serverporthttpserver = 1httpportase = 0
AlphaGSM health checks use MTA's built-in HTTP listener, so:
-
querychecks generictcponhttpport -
infoandinfo --jsonreport the sametcplistener
Disabling ase avoids the extra unmanaged UDP announce port at port + 123,
which keeps AlphaGSM's owned port set aligned with the validated lifecycle.
alphagsm mymtaserve update
alphagsm mymtaserve backupMulti Theft Auto resource management uses the standard resource tree under
mods/deathmatch/resources/.
- AlphaGSM stores MTA mod cache/state under
.alphagsm/mods/mtaserver/. - Current mod source support is
manifest/curated,url, andcommunity. -
manifestinstalls checked-in MTA resource families from immutable release archives. The current built-in families arepattach,chat2, andanimationspanel. -
urlaccepts direct archive URLs for resource packs when the archive exposes eithermods/deathmatch/resources/<name>/..., a top-level resource directory that containsmeta.xml, or a resource archive whose root itself containsmeta.xml. -
communityaccepts canonical MTA community detail page URLs such ashttps://community.multitheftauto.com/index.php?p=resources&s=details&id=<id>and follows the upstream cookie-backed download flow automatically. - AlphaGSM records installed resource files per entry so
mod cleanupremoves only tracked resources and leaves unrelated resources alone.
Examples:
alphagsm mymtaserve mod add manifest pattach
alphagsm mymtaserve mod add url https://resources.example.invalid/coolrace.zip
alphagsm mymtaserve mod add community https://community.multitheftauto.com/index.php?p=resources&s=details&id=19052
alphagsm mymtaserve mod apply
alphagsm mymtaserve mod cleanupSome resources still need normal MTA-side enablement or configuration after
installation, such as adding them to mtaserver.conf, granting ACL rights, or
starting the resource in-game.
- Module name:
mtaserver - Default port: 22003
- Default AlphaGSM-managed
httpport:22005
After create mtaserver, inspect or change these with set:
alphagsm myserver set --list
alphagsm myserver set KEY --describe
alphagsm myserver set KEY VALUEThis module does not declare schema-backed keys. set --list after
create is still the live source of truth.
-
Executable:
mta-server64 -
Location:
<install_dir>/mta-server64 - Engine: Custom
-
Config file:
mods/deathmatch/mtaserver.conf - Template: See server-templates/mtaserver/ if available
-
Map directory:
mods/deathmatch/resources/ -
Mod directory:
mods/deathmatch/resources/ - Workshop support: No