add auto update disable to 7dtd

This is to resolve #255

add variable to disable auto_update

move to using `quay.io/parkervcp/pterodactyl-images:ubuntu_source` as the image
This commit is contained in:
Michael (Parker) Parker 2019-07-25 14:11:43 -04:00
parent 06210fc0ea
commit 42e98494a2
No known key found for this signature in database
GPG Key ID: 1C74B05F7BE35E49

View File

@ -3,14 +3,14 @@
"meta": {
"version": "PTDL_v1"
},
"exported_at": "2019-06-02T19:20:57-04:00",
"exported_at": "2019-07-25T14:08: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:source",
"image": "quay.io\/parkervcp\/pterodactyl-images:ubuntu_source",
"startup": "'.\/7DaysToDieServer.x86_64 -configfile=serverconfig.xml -quit -batchmode -nographics -dedicated -ServerPort=${{server.build.default.port}} -ServerMaxPlayerCount=${{server.build.env.MAX_PLAYERS}} -GameDifficulty=${{server.build.env.GAME_DIFFICULTY}} -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 \"ServerSettings.property name=\\\"ServerPort\\\"\": \"value=\\\"{{server.build.env.SERVER_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"
@ -49,6 +49,15 @@
"user_viewable": 0,
"user_editable": 0,
"rules": "required|string|max:20"
},
{
"name": "Auto Update",
"description": "This is to auto update the server on start.\r\n\r\nOptions are 0 or 1\r\nDefault is 1",
"env_variable": "AUTO_UPDATE",
"default_value": "1",
"user_viewable": 1,
"user_editable": 1,
"rules": "required|boolean"
}
]
}