2018-03-01 21:34:22 +08:00
{
"_comment" : "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO" ,
"meta" : {
"version" : "PTDL_v1"
} ,
2018-03-02 06:26:52 +08:00
"exported_at" : "2018-03-01T17:26:17-05:00" ,
2018-03-01 21:34:22 +08:00
"name" : "7 Days to Die" ,
"author" : "brycea@rapidnetworks.org" ,
"description" : "Set in a brutally unforgiving post-apocalyptic world overrun by the undead, 7 Days to Die is an open-world game that is a unique combination of first person shooter, survival horror, tower defense, and role-playing games." ,
"image" : "quay.io\/exonical\/7-days-to-die" ,
"startup" : ".\/startserver.sh -configfile=serverconfig.xml -nographics -logfile 7DaysToDie_Data\/output_log.txt $@" ,
"config" : {
"files" : "{\r\n \"serverconfig.xml\": {\r\n \"parser\": \"xml\",\r\n \"find\": {\r\n \"ServerPort\": \"{{server.build.default.port}}\",\r\n \"ServerName\": \"{{server.build.env.HOSTNAME}}\"\r\n }\r\n }\r\n}" ,
"startup" : "{\r\n \"done\": \"\",\r\n \"userInteraction\": []\r\n}" ,
2018-03-01 21:36:08 +08:00
"logs" : "{\r\n \"custom\": true,\r\n \"location\": \"logs\/latest.log\"\r\n}" ,
2018-03-01 21:34:22 +08:00
"stop" : "^C"
} ,
"scripts" : {
"installation" : {
2018-03-02 06:26:52 +08:00
"script" : "apt update\r\napt -y --no-install-recommends install curl unzip libstdc++6 lib32gcc1 ca-certificates\r\ncd \/tmp\r\ncurl -sSL -o steamcmd.tar.gz http:\/\/media.steampowered.com\/installer\/steamcmd_linux.tar.gz\r\n\r\nmkdir -p \/mnt\/server\/steam\r\ntar -xzvf steamcmd.tar.gz -C \/mnt\/server\/steam\r\ncd \/mnt\/server\/steam\r\nchown -R root:root \/mnt\r\n\r\nexport HOME=\/mnt\/server\r\n.\/steamcmd.sh +login anonymous +force_install_dir \/mnt\/server +app_update 294420 +quit\r\nmkdir -p \/mnt\/server\/.steam\/sdk32\r\ncp -v \/mnt\/server\/steam\/linux32\/steamclient.so \/mnt\/server\/.steam\/sdk32\/steamclient.so" ,
2018-03-01 21:34:22 +08:00
"container" : "ubuntu:16.04" ,
"entrypoint" : "bash"
}
} ,
"variables" : [
{
"name" : "Steam Username" ,
"description" : "" ,
"env_variable" : "steam_user" ,
"default_value" : "anonymous" ,
"user_viewable" : 1 ,
"user_editable" : 1 ,
"rules" : "required|string|max:50"
} ,
{
"name" : "Steam Password" ,
"description" : "" ,
"env_variable" : "steam_pass" ,
"default_value" : "" ,
"user_viewable" : 1 ,
"user_editable" : 1 ,
"rules" : "required|string|max:20"
} ,
{
"name" : "Hostname" ,
"description" : "Name of the server that appears publicly." ,
"env_variable" : "HOSTNAME" ,
"default_value" : "My Server" ,
"user_viewable" : 1 ,
"user_editable" : 1 ,
"rules" : "required|string|max:64"
}
]
}