2018-09-14 11:09:32 +02:00
|
|
|
{
|
|
|
|
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
|
|
|
|
"meta": {
|
|
|
|
"version": "PTDL_v1"
|
|
|
|
},
|
2020-10-17 04:19:54 +02:00
|
|
|
"exported_at": "2020-10-17T02:19:36+00:00",
|
2018-09-14 11:09:32 +02: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.",
|
2019-03-10 15:39:40 +01:00
|
|
|
"image": "quay.io\/parkervcp\/pterodactyl-images:ubuntu_source",
|
2019-02-01 13:27:42 +01:00
|
|
|
"startup": ".\/mta-server64 --port {{SERVER_PORT}} --httpport {{SERVER_WEBPORT}} -n",
|
2018-09-14 11:09:32 +02:00
|
|
|
"config": {
|
2018-09-17 21:23:34 +02:00
|
|
|
"files": "{}",
|
2018-09-14 11:09:32 +02:00
|
|
|
"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": {
|
2020-10-17 04:19:54 +02:00
|
|
|
"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 -L -o multitheftauto_linux_x64.tar.gz https:\/\/linux.mtasa.com\/dl\/multitheftauto_linux_x64.tar.gz\r\ncurl -L -o mta-baseconfig.tar.gz https:\/\/linux.mtasa.com\/dl\/baseconfig.tar.gz\r\ncurl -L -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\r\ncp -rf multitheftauto_linux_x64\/* \/mnt\/server\r\n\r\nif [ ! -f \/mnt\/server\/x64\/libmysqlclient.so.16 ]; then\r\n curl -L http:\/\/nightly.mtasa.com\/files\/libmysqlclient.so.16 -o \/mnt\/server\/x64\/libmysqlclient.so.16\r\nfi\r\n\r\nmkdir -p \/mnt\/server\/mods\/deathmatch\/resources\r\nunzip -o -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\r\ncp -rf baseconfig\/* \/mnt\/server\/mods\/deathmatch\r\n\r\nchown -R root:root \/mnt\r\n\r\nexport HOME=\/mnt\/server",
|
2020-10-17 02:44:23 +02:00
|
|
|
"container": "ubuntu:18.04",
|
2018-09-14 11:09:32 +02:00
|
|
|
"entrypoint": "bash"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"variables": [
|
|
|
|
{
|
|
|
|
"name": "SERVER_WEBPORT",
|
2019-03-10 15:24:35 +01:00
|
|
|
"description": "The http port for web resource.\r\nThis Port needs to be the {{SERVER_PORT}}+3.",
|
2018-09-14 11:09:32 +02:00
|
|
|
"env_variable": "SERVER_WEBPORT",
|
|
|
|
"default_value": "22005",
|
2020-10-17 02:44:23 +02:00
|
|
|
"user_viewable": true,
|
|
|
|
"user_editable": false,
|
2018-09-22 08:43:30 +02:00
|
|
|
"rules": "required|numeric"
|
2018-09-14 11:09:32 +02:00
|
|
|
}
|
|
|
|
]
|
2020-10-17 02:44:23 +02:00
|
|
|
}
|