diff --git a/gta/README.md b/gta/README.md index e5cd3d17..0106aa42 100644 --- a/gta/README.md +++ b/gta/README.md @@ -12,3 +12,6 @@ RAGE Multiplayer is an multiplayer modification for Grand Theft Auto V that is a [GTA SA:MP](https://www.sa-mp.com/) SA-MP is a free Massively Multiplayer Online game mod for the PC version of Rockstar Games Grand Theft Auto: San Andreas (tm). + +[MTA SA](https://mtasa.com/) +What more could you want? Multi Theft Auto provides the best online Grand Theft Auto experience there is. Read on to find out more. diff --git a/gta/mtasa/README.md b/gta/mtasa/README.md new file mode 100644 index 00000000..ed5c0ff2 --- /dev/null +++ b/gta/mtasa/README.md @@ -0,0 +1,14 @@ +# Multi Theft Auto +[Multi Theft Auto](https://mtasa.com/) 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. diff --git a/gta/mtasa/egg-multi-theft-auto.json b/gta/mtasa/egg-multi-theft-auto.json new file mode 100644 index 00000000..1500c5d6 --- /dev/null +++ b/gta/mtasa/egg-multi-theft-auto.json @@ -0,0 +1,36 @@ +{ + "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", + "meta": { + "version": "PTDL_v1" + }, + "exported_at": "2019-03-10T15:39:00+01:00", + "name": "Multi Theft Auto", + "author": "info@six-gaming.com", + "description": "What more could you want? Multi Theft Auto provides the best online Grand Theft Auto experience there is. Read on to find out more.", + "image": "quay.io\/parkervcp\/pterodactyl-images:ubuntu_source", + "startup": ".\/mta-server64 --port {{SERVER_PORT}} --httpport {{SERVER_WEBPORT}} -n", + "config": { + "files": "{}", + "startup": "{\r\n \"done\": \"Server started and is ready to accept connections\"\r\n}", + "logs": "{\r\n \"custom\": false,\r\n \"location\": \"logs\/latest.log\"\r\n}", + "stop": "shutdown" + }, + "scripts": { + "installation": { + "script": "#!\/bin\/bash\r\napt -y update\r\napt -y --no-install-recommends install curl unzip lib32gcc1 ca-certificates\r\n\r\ncd \/tmp\r\ncurl -sSL -o multitheftauto_linux_x64.tar.gz https:\/\/linux.mtasa.com\/dl\/multitheftauto_linux_x64.tar.gz\r\ncurl -sSL -o mta-baseconfig.tar.gz https:\/\/linux.mtasa.com\/dl\/baseconfig.tar.gz\r\ncurl -sSL -o mtasa-resources-latest.zip http:\/\/mirror.mtasa.com\/mtasa\/resources\/mtasa-resources-latest.zip\r\n\r\nmkdir -p \/mnt\/server\r\ntar -xzvf multitheftauto_linux_x64.tar.gz -C \/mnt\/server\/\r\ncp -r \/mnt\/server\/multitheftauto_linux_x64\/* \/mnt\/server\r\nrm -rf \/mnt\/server\/multitheftauto_linux_x64\/\r\n\r\nmkdir -p \/mnt\/server\/mods\/deathmatch\/resources\r\nunzip -d \/mnt\/server\/mods\/deathmatch\/resources mtasa-resources-latest.zip\r\n\r\nmkdir -p \/mnt\/server-conf\r\ntar -xzvf mta-baseconfig.tar.gz -C \/mnt\/server-conf\r\ncp -r \/mnt\/server-conf\/baseconfig\/* \/mnt\/server\/mods\/deathmatch\r\nrm -rf \/mnt\/server-conf\r\n\r\nchown -R root:root \/mnt\r\n\r\nexport HOME=\/mnt\/server", + "container": "ubuntu:16.04", + "entrypoint": "bash" + } + }, + "variables": [ + { + "name": "SERVER_WEBPORT", + "description": "The http port for web resource.\r\nThis Port needs to be the {{SERVER_PORT}}+3.", + "env_variable": "SERVER_WEBPORT", + "default_value": "22005", + "user_viewable": 1, + "user_editable": 0, + "rules": "required|numeric" + } + ] +}