-
Notifications
You must be signed in to change notification settings - Fork 0
/
egg-jc2mp--linux.json
36 lines (36 loc) · 1.95 KB
/
egg-jc2mp--linux.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-09-05T12:13:47+08:00",
"name": "JC2MP-Linux",
"author": "[email protected]",
"description": "Just Cause 2 Multiplayer Linux",
"image": "hcgcloud\/pterodactyl-jc2mp:latest",
"startup": ".\/Jcmp-Server -bindport {{SERVER_PORT}}",
"config": {
"files": "{}",
"startup": "{\r\n \"done\": \"Server started up successfully\",\r\n \"userInteraction\": []\r\n}",
"logs": "{\r\n \"custom\": true,\r\n \"location\": \"latest.log\"\r\n}",
"stop": "exit"
},
"scripts": {
"installation": {
"script": "apt update\r\napt -y --no-install-recommends install curl lib32gcc1 ca-certificates\r\ncd \/tmp\r\ncurl -sSL -o steamcmd.tar.gz http:\/\/media.steampowered.com\/installer\/steamcmd_linux.tar.gz\r\nmkdir -p \/mnt\/server\/steamcmd\r\ntar -xzvf steamcmd.tar.gz -C \/mnt\/server\/steamcmd\r\ncd \/mnt\/server\/steamcmd\r\nchown -R root:root \/mnt\r\nexport HOME=\/mnt\/server\r\n.\/steamcmd.sh +login anonymous +force_install_dir \/mnt\/server +app_update 261140 +quit\r\nif [ ! -d scripts ]; then\r\ncp -r \/mht\/server\/default_scripts\/ \/mht\/server\/scripts\/\r\nfi\r\nif [ ! -f \/mnt\/server\/config.lua ]; then\r\ncp \/mnt\/server\/default_config.lua \/mnt\/server\/config.lua\r\nfi\r\nmkdir -p \/mnt\/server\/.steam\/sdk32\r\ncp -v linux32\/steamclient.so ..\/.steam\/sdk32\/steamclient.so",
"container": "ubuntu:16.04",
"entrypoint": "bash"
}
},
"variables": [
{
"name": "Server Auto Update",
"description": "Input 1 to enable or 0 to disable",
"env_variable": "SERVER_AUTOUPDATE",
"default_value": "1",
"user_viewable": 1,
"user_editable": 1,
"rules": "required|integer|between:0,1"
}
]
}