f you 7 days to die

Gets rid of the need to have a specific 7dtd image to run the game.
This commit is contained in:
Michael (Parker) Parker 2018-10-07 00:26:18 -04:00
parent 329a4c9e00
commit 65113f2f9a

View File

@ -3,14 +3,14 @@
"meta": {
"version": "PTDL_v1"
},
"exported_at": "2018-07-07T19:23:03-04:00",
"exported_at": "2018-10-07T00:04:07-04:00",
"name": "7 Days To Die",
"author": "kristoffer.norman@bahnhof.se",
"description": "7 days to die server",
"image": "quay.io\/parkervcp\/pterodactyl-images:7daystodie",
"startup": "-ServerPort=${{SERVER_PORT}} -ServerMaxPlayerCount=${{MAX_PLAYERS}} -GameDifficulty=${{GAME_DIFFICULTY}} -ControlPanelEnabled=false -TelnetEnabled=true -TelnetPort=8081",
"image": "quay.io\/parkervcp\/pterodactyl-images:source",
"startup": "'.\/7DaysToDieServer.x86_64 -configfile=serverconfig.xml -quit -batchmode -nographics -dedicated -ServerPort=26900 -ServerMaxPlayerCount=8 -GameDifficulty=1 -ControlPanelEnabled=false -TelnetEnabled=true -TelnetPort=8081 -logfile logs\/latest.log & echo -e \"Checing on telnet connection\" && until nc -z -v -w5 127.0.0.1 8081; do echo \"Waiting for telnet connection...\"; sleep 5; done && telnet -E 127.0.0.1 8081'",
"config": {
"files": "{}",
"files": "{\r\n \"serverconfig.xml\": {\r\n \"parser\": \"xml\",\r\n \"find\": {\r\n \"ServerPort\": \"{{server.build.default.port}}\"\r\n }\r\n }\r\n}",
"startup": "{\r\n \"done\": \"Connected with 7DTD server\",\r\n \"userInteraction\": []\r\n}",
"logs": "{\r\n \"custom\": false,\r\n \"location\": \"logs\/latest.log\"\r\n}",
"stop": "shutdown"
@ -40,6 +40,15 @@
"user_viewable": 1,
"user_editable": 1,
"rules": "required|integer|between:0,5"
},
{
"name": "Source AppID",
"description": "This is the app id for 7dtd please no step on snek.",
"env_variable": "SRCDS_APPID",
"default_value": "294420",
"user_viewable": 0,
"user_editable": 0,
"rules": "required|string|max:20"
}
]
}