2019-07-22 08:36:21 +08:00
|
|
|
{
|
|
|
|
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
|
|
|
|
"meta": {
|
|
|
|
"version": "PTDL_v1"
|
|
|
|
},
|
2020-10-28 21:04:05 +08:00
|
|
|
"exported_at": "2020-10-28T13:03:46+00:00",
|
2019-07-22 08:36:21 +08:00
|
|
|
"name": "SA-MP",
|
|
|
|
"author": "bl4ckspr4y@protonmail.com",
|
|
|
|
"description": "SA-MP is a free Massively Multiplayer Online game mod for the PC version of Rockstar Games Grand Theft Auto: San Andreas (tm).",
|
2022-05-04 20:43:58 +08:00
|
|
|
"image": "ghcr.io\/parkervcp\/games:samp",
|
2019-07-22 08:36:21 +08:00
|
|
|
"startup": ".\/samp03svr",
|
|
|
|
"config": {
|
|
|
|
"files": "{\r\n \"server.cfg\": {\r\n \"parser\": \"file\",\r\n \"find\": {\r\n \"port\": \"port {{server.build.default.port}}\"\r\n }\r\n }\r\n}",
|
2020-10-28 21:04:05 +08:00
|
|
|
"startup": "{\r\n \"done\": \"Started server on \",\r\n \"userInteraction\": []\r\n}",
|
2019-07-22 08:36:21 +08:00
|
|
|
"logs": "{\r\n \"custom\": true,\r\n \"location\": \"samp.log\"\r\n}",
|
|
|
|
"stop": "^C"
|
|
|
|
},
|
|
|
|
"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 samp.tar.gz http:\/\/files.sa-mp.com\/samp037svr_R2-1.tar.gz\r\n\r\nmkdir -p \/mnt\/server\r\ntar -xzvf samp.tar.gz -C \/mnt\/server\/\r\ncp -r \/mnt\/server\/samp03\/* \/mnt\/server\r\nrm -rf \/mnt\/server\/samp03\/\r\ncd \/mnt\/server\r\nsed -i '3d' \/mnt\/server\/server.cfg\r\necho \"rcon_password changemeplease\" >> \/mnt\/server\/server.cfg\r\n\r\nchown -R root:root \/mnt\r\n\r\nexport HOME=\/mnt\/server",
|
|
|
|
"container": "ubuntu:16.04",
|
|
|
|
"entrypoint": "bash"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"variables": []
|
2022-05-04 20:43:58 +08:00
|
|
|
}
|