-
Notifications
You must be signed in to change notification settings - Fork 3
/
egg-s-a--m-p--windows.json
36 lines (36 loc) · 1.84 KB
/
egg-s-a--m-p--windows.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
"version": "PTDL_v1"
},
"exported_at": "2019-12-13T22:18:21+08:00",
"name": "SA-MP-Windows",
"author": "[email protected]",
"description": "SA-MP is a free Massively Multiplayer Online game mod for the PC version of Rockstar Games Grand Theft Auto: San Andreas (tm).",
"image": "hcgcloud\/pterodactyl-images:ubuntu-wine",
"startup": "wine64 .\/samp-server.exe",
"config": {
"files": "{\r\n \"server.cfg\": {\r\n \"parser\": \"file\",\r\n \"find\": {\r\n \"port\": \"port {{server.build.default.port}}\",\r\n \"maxplayers\": \"maxplayers {{server.build.env.MAX_PLAYERS}}\"\r\n }\r\n }\r\n}",
"startup": "{\r\n \"done\": \"Started server on port: \",\r\n \"userInteraction\": []\r\n}",
"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\ncd \/tmp\r\ncurl -SL -o samp.zip http:\/\/files.sa-mp.com\/samp037_svr_R2-1-1_win32.zip\r\nmkdir -p \/mnt\/server\r\nunzip -o -d \/mnt\/server\/ samp.zip\r\ncd \/mnt\/server\r\nchown -R root:root \/mnt\r\nexport HOME=\/mnt\/server",
"container": "ubuntu:16.04",
"entrypoint": "bash"
}
},
"variables": [
{
"name": "Max Players",
"description": "Max players allowed to play in the server",
"env_variable": "MAX_PLAYERS",
"default_value": "50",
"user_viewable": 1,
"user_editable": 0,
"rules": "required|integer|between:1,1000"
}
]
}