{ "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", "meta": { "version": "PTDL_v1" }, "exported_at": "2018-03-01T08:34:00-05: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}", "logs": "{\r\n \"custom\": false,\r\n \"location\": \"logs\/latest.log\"\r\n}", "stop": "^C" }, "scripts": { "installation": { "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 320850 +quit\r\nmkdir -p \/mnt\/server\/.steam\/sdk32\r\ncp -v \/mnt\/server\/steam\/linux32\/steamclient.so \/mnt\/server\/.steam\/sdk32\/steamclient.so", "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" } ] }