[PR #1224] [MERGED] Adding Multi Theft Auto Support #3290

Closed
opened 2026-02-27 03:53:58 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/GameServerManagers/LinuxGSM/pull/1224
Author: @braunsonm
Created: 1/3/2017
Status: Merged
Merged: 1/17/2017
Merged by: @dgibbs64

Base: feature/mtaserverHead: mta


📝 Commits (10+)

  • c739902 Adding Multi Theft Auto Support
  • cff49d1 Name adjustment
  • 1026922 Updated look of server file to match newer versions, updated version number
  • d7bcd4b Typo in the install file
  • c1f781e Added the mta resources to the core_functions script
  • 784a6ff Check if configuration directory exists before downloading and moving config files
  • b6d0888 Improved formatting of the mta_resource install
  • 410530a Custom opt
  • 9052fbb Changes to how the mysqlclient gets installed, if user cannot use sudo it will warn the user about doing it after the installation
  • f2cccf0 Appearance change

📊 Changes

13 files changed (+350 additions, -10 deletions)

View changed files

MultiTheftAuto/mtaserver (+180 -0)
📝 lgsm/functions/check_deps.sh (+4 -4)
📝 lgsm/functions/command_details.sh (+23 -4)
📝 lgsm/functions/command_install.sh (+2 -0)
📝 lgsm/functions/command_stop.sh (+30 -0)
📝 lgsm/functions/core_dl.sh (+1 -1)
📝 lgsm/functions/core_functions.sh (+5 -0)
📝 lgsm/functions/core_getopt.sh (+1 -1)
📝 lgsm/functions/info_config.sh (+34 -0)
📝 lgsm/functions/info_glibc.sh (+3 -0)
📝 lgsm/functions/install_config.sh (+7 -0)
lgsm/functions/install_mta_resources.sh (+58 -0)
📝 lgsm/functions/install_server_files.sh (+2 -0)

📄 Description

This is my first pull request ever on Github and I'm not the most experienced in bash so bare with me..

This commit aims to add support for Multi Theft Auto. MTA requires three things for it operate:

  • binary files
  • configuration files
  • resources(server script that the binaries interpret)

I created a file called install_mta_resources.sh which will download the required libmysqlclient socket in order to use database functions on the server and will download the default resources for use.

I'm not sure how to test this code since I'm not very familiar with it but I will if someone points me in the right direction. The only thing that is missing is the configuration files found here need to be added to the Game-Server-Configs repository. Pull request: https://github.com/GameServerManagers/Game-Server-Configs/pull/5

Please let me know if there is anything I can do to improve it.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/GameServerManagers/LinuxGSM/pull/1224 **Author:** [@braunsonm](https://github.com/braunsonm) **Created:** 1/3/2017 **Status:** ✅ Merged **Merged:** 1/17/2017 **Merged by:** [@dgibbs64](https://github.com/dgibbs64) **Base:** `feature/mtaserver` ← **Head:** `mta` --- ### 📝 Commits (10+) - [`c739902`](https://github.com/GameServerManagers/LinuxGSM/commit/c739902811551b9b7682ea7b7969f9eeabac6d41) Adding Multi Theft Auto Support - [`cff49d1`](https://github.com/GameServerManagers/LinuxGSM/commit/cff49d1cb50b5434044ceae1035b62e884372a61) Name adjustment - [`1026922`](https://github.com/GameServerManagers/LinuxGSM/commit/1026922eaa88471723c4ae6c3b2664db9d7fe0c1) Updated look of server file to match newer versions, updated version number - [`d7bcd4b`](https://github.com/GameServerManagers/LinuxGSM/commit/d7bcd4bad3408ed0b57258bae029ae8f9b5d44f6) Typo in the install file - [`c1f781e`](https://github.com/GameServerManagers/LinuxGSM/commit/c1f781ea18701d22f58906dde25dfd3b06276f14) Added the mta resources to the core_functions script - [`784a6ff`](https://github.com/GameServerManagers/LinuxGSM/commit/784a6ff26892fb5ab5562de4982fa774be029755) Check if configuration directory exists before downloading and moving config files - [`b6d0888`](https://github.com/GameServerManagers/LinuxGSM/commit/b6d0888a1b47af542f36aaa8657bfc1325f23fd9) Improved formatting of the mta_resource install - [`410530a`](https://github.com/GameServerManagers/LinuxGSM/commit/410530ae1e802c4a85ca970b92b46c3469de82c2) Custom opt - [`9052fbb`](https://github.com/GameServerManagers/LinuxGSM/commit/9052fbb13902ac86cd6d3a53365394218d972fe7) Changes to how the mysqlclient gets installed, if user cannot use sudo it will warn the user about doing it after the installation - [`f2cccf0`](https://github.com/GameServerManagers/LinuxGSM/commit/f2cccf0bdd832d53102f0dfc08dcd10d655e44d5) Appearance change ### 📊 Changes **13 files changed** (+350 additions, -10 deletions) <details> <summary>View changed files</summary> ➕ `MultiTheftAuto/mtaserver` (+180 -0) 📝 `lgsm/functions/check_deps.sh` (+4 -4) 📝 `lgsm/functions/command_details.sh` (+23 -4) 📝 `lgsm/functions/command_install.sh` (+2 -0) 📝 `lgsm/functions/command_stop.sh` (+30 -0) 📝 `lgsm/functions/core_dl.sh` (+1 -1) 📝 `lgsm/functions/core_functions.sh` (+5 -0) 📝 `lgsm/functions/core_getopt.sh` (+1 -1) 📝 `lgsm/functions/info_config.sh` (+34 -0) 📝 `lgsm/functions/info_glibc.sh` (+3 -0) 📝 `lgsm/functions/install_config.sh` (+7 -0) ➕ `lgsm/functions/install_mta_resources.sh` (+58 -0) 📝 `lgsm/functions/install_server_files.sh` (+2 -0) </details> ### 📄 Description This is my first pull request ever on Github and I'm not the most experienced in bash so bare with me.. This commit aims to add support for Multi Theft Auto. MTA requires three things for it operate: - binary files - configuration files - resources(server script that the binaries interpret) I created a file called `install_mta_resources.sh` which will download the required libmysqlclient socket in order to use [database functions](https://wiki.multitheftauto.com/wiki/Server_Scripting_Functions#SQL_functions) on the server and will download the default resources for use. I'm not sure how to test this code since I'm not very familiar with it but I will if someone points me in the right direction. The only thing that is missing is the configuration files found [here](https://linux.mtasa.com/dl/153/baseconfig-1.5.3.tar.gz) need to be added to the Game-Server-Configs repository. Pull request: https://github.com/GameServerManagers/Game-Server-Configs/pull/5 Please let me know if there is anything I can do to improve it. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 03:53:58 +03:00
Sign in to join this conversation.
No labels
Atomic
Epic
cannot reproduce
command: backup
command: console
command: debug
command: details
command: fast-dl
command: install
command: mods
command: monitor
command: post-details
command: restart
command: send
command: start
command: stop
command: update
command: update-lgsm
command: validate
command: wipe
distro: AlmaLinux
distro: Arch Linux
distro: CentOS
distro: Debian
distro: Fedora
distro: RedHat
distro: Rocky Linux
distro: Ubuntu
distro: openSUSE
engine: goldsrc
engine: source
game: 7 Days to Die
game: ARMA 3
game: Ark: Survival Evolved
game: Assetto Corsa
game: Avorion
game: BATTALION: Legacy
game: Barotrauma
game: Battalion 1944
game: Battlefield 1942
game: Black Mesa: Deathmatch
game: Blade Symphony
game: Call of Duty 2
game: Call of Duty 4
game: Call of Duty: United Offensive
game: Counter-Strike 1.6
game: Counter-Strike 2
game: Counter-Strike: Global Offensive
game: Counter-Strike: Source
game: Day of Infamy
game: Dayz
game: Death Match Classic
game: Don't Starve Together
game: ET: Legacy
game: Eco
game: Factorio
game: Factorio
game: Garry's Mod
game: Half-Life
game: Hurtword
game: Insurgecy
game: Insurgecy
game: Insurgency: Sandstorm
game: Just Cause 3
game: Killing Floor
game: Killing Floor 2
game: Left 4 Dead 2
game: Minecraft
game: Minecraft Bedrock
game: Mordhau
game: Multi Theft Auto
game: Mumble
game: Natural Selection 2
game: No More Room in Hell
game: Pavlov VR
game: Post Scriptum
game: Project Zomboid
game: Quake 3
game: QuakeWorld
game: Red Orchestra: Ostfront 41-45
game: Return to Castle Wolfenstein
game: Rising World
game: Rust
game: San Andreas Multiplayer
game: Satisfactory
game: Soldat
game: Soldier of Fortune 2
game: Squad
game: Squad 44
game: Starbound
game: Stationeers
game: Sven Co-op
game: Team Fortress 2
game: Teamspeak 3
game: Teeworlds
game: Terraria
game: The Front
game: Unreal Tournament 2004
game: Unreal Tournament 3
game: Unreal Tournament 99
game: Unturned
game: Valheim
game: Wurm Unlimited
game: Zombie Master Reborn
game: label missing
good first issue
help wanted
info: alerts
info: dependency
info: docker
info: docs
info: email
info: query
info: steamcmd
info: systemd
info: tmux
info: website
info: website
needs more info
outcome: duplicate
outcome: issue resolved
outcome: issue resolved
outcome: issue unresolved
outcome: pr accepted
outcome: pr rejected
outcome: unconfirmed
outcome: wontfix
outcome: wrong forum
potential-duplicate
priority
pull-request
type: bug
type: feature
type: feature
type: feature request
type: game server request
type: refactor
waiting response
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/LinuxGSM#3290
No description provided.