2018-12-07 07:24:50 +01:00
{
"_comment" : "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO" ,
"meta" : {
2023-01-08 16:23:19 +01:00
"version" : "PTDL_v2" ,
2021-04-10 00:43:23 +02:00
"update_url" : null
2018-12-07 07:24:50 +01:00
} ,
2023-03-26 16:14:31 +02:00
"exported_at" : "2023-03-26T16:13:26+02:00" ,
2018-12-07 07:24:50 +01:00
"name" : "OpenTTD Server" ,
"author" : "admin@justmyrandomstuff.com" ,
"description" : "OpenTTD is an open source simulation game based upon the popular Microprose game \"Transport Tycoon Deluxe\", written by Chris Sawyer. It attempts to mimic the original game as closely as possible while extending it with new features.\r\n\r\nOpenTTD is modelled after the original Transport Tycoon game by Chris Sawyer and enhances the game experience dramatically. Many features were inspired by TTDPatch while others are original." ,
2021-04-10 00:43:23 +02:00
"features" : null ,
2023-01-08 16:23:19 +01:00
"docker_images" : {
"ghcr.io\/parkervcp\/yolks:debian" : "ghcr.io\/parkervcp\/yolks:debian"
} ,
2021-04-10 00:43:23 +02:00
"file_denylist" : [ ] ,
2018-12-07 07:24:50 +01:00
"startup" : ".\/openttd -D" ,
"config" : {
2020-01-31 02:48:28 +01:00
"files" : "{\r\n \"openttd.cfg\": {\r\n \"parser\": \"ini\",\r\n \"find\": {\r\n \"network.server_port\": \"{{server.build.default.port}}\",\r\n \"network.server_name\": \"{{server.build.env.srv_name}}\",\r\n \"network.lan_internet\": 0,\r\n \"network.server_advertise\": \"{{server.build.env.srv_advertise}}\"\r\n }\r\n }\r\n}" ,
2021-07-02 03:36:56 +02:00
"startup" : "{\r\n \"done\": \"[net] Map generated, starting game\"\r\n}" ,
"logs" : "{}" ,
2018-12-07 07:24:50 +01:00
"stop" : "exit"
} ,
"scripts" : {
"installation" : {
2023-03-26 16:14:31 +02:00
"script" : "#!\/bin\/ash\r\napk add --no-cache xz curl tar unzip\r\n\r\nmkdir -p \/mnt\/server\r\ncd \/mnt\/server\r\n\r\necho -e \"\\ncurl -SsL -o openttd-linux.tar.xz https:\/\/cdn.openttd.org\/openttd-releases\/${OPENTTD_VERSION}\/openttd-${OPENTTD_VERSION}-linux-generic-amd64.tar.xz\"\r\ncurl -SsL -o openttd-linux.tar.xz https:\/\/cdn.openttd.org\/openttd-releases\/${OPENTTD_VERSION}\/openttd-${OPENTTD_VERSION}-linux-generic-amd64.tar.xz \r\n\r\necho -e \"\\nUnpacking tar\"\r\ntar -xf openttd-linux.tar.xz --strip-components=1\r\nrm openttd-linux.tar.xz\r\nchmod +x openttd\r\n\r\necho -e \"\\nRunning curl -sSL -o opengfx.zip https:\/\/cdn.openttd.org\/opengfx-releases\/${OPENGFX_VERSION}\/opengfx-${OPENGFX_VERSION}-all.zip\"\r\ncurl -sSL -o opengfx.zip https:\/\/cdn.openttd.org\/opengfx-releases\/${OPENGFX_VERSION}\/opengfx-${OPENGFX_VERSION}-all.zip\r\nunzip opengfx.zip \r\n\r\ntar --strip-components=1 -C baseset\/ -xvf opengfx*.tar\r\nrm -fR open*zip open*tar open*gz\r\n\r\n[ -f \/home\/container\/openttd.cfg ] || curl https:\/\/raw.githubusercontent.com\/parkervcp\/eggs\/master\/game_eggs\/tycoon_games\/openttd\/openttd.cfg > openttd.cfg\r\n\r\n## install end\r\necho \"-----------------------------------------\"\r\necho \"Installation completed...\"\r\necho \"-----------------------------------------\"" ,
"container" : "alpine:latest" ,
2018-12-26 02:37:10 +01:00
"entrypoint" : "ash"
2018-12-07 07:24:50 +01:00
}
} ,
"variables" : [
{
"name" : "Server Name" ,
"description" : "The name shown in the serverlist" ,
"env_variable" : "srv_name" ,
"default_value" : "OpenTTD Server" ,
2021-04-10 00:43:23 +02:00
"user_viewable" : true ,
"user_editable" : true ,
2023-01-08 16:23:19 +01:00
"rules" : "required|string|max:20" ,
"field_type" : "text"
2018-12-07 07:24:50 +01:00
} ,
{
"name" : "Show in masterlist?" ,
"description" : "Show the server in the serverlist on the client, true or false" ,
"env_variable" : "srv_advertise" ,
"default_value" : "true" ,
2021-04-10 00:43:23 +02:00
"user_viewable" : true ,
"user_editable" : true ,
2023-03-26 16:14:31 +02:00
"rules" : "required|string|in:true,false" ,
2023-01-08 16:23:19 +01:00
"field_type" : "text"
2018-12-07 07:24:50 +01:00
} ,
2019-04-10 05:01:48 +02:00
{
"name" : "OpenTTD Version" ,
2023-03-26 16:14:31 +02:00
"description" : "The version of OpenTTD i.e. 12.2" ,
2019-04-10 05:01:48 +02:00
"env_variable" : "OPENTTD_VERSION" ,
2023-03-26 16:14:31 +02:00
"default_value" : "13.0-RC2" ,
2021-04-10 00:43:23 +02:00
"user_viewable" : true ,
"user_editable" : false ,
2023-01-08 16:23:19 +01:00
"rules" : "required|string|max:20" ,
"field_type" : "text"
2019-04-10 05:01:48 +02:00
} ,
{
"name" : "OpenGFX Version" ,
2023-03-26 16:14:31 +02:00
"description" : "The OpenGFX Version i.e. 7.1" ,
2019-04-10 05:01:48 +02:00
"env_variable" : "OPENGFX_VERSION" ,
2023-01-08 16:23:19 +01:00
"default_value" : "7.1" ,
2021-04-10 00:43:23 +02:00
"user_viewable" : true ,
"user_editable" : false ,
2023-01-08 16:23:19 +01:00
"rules" : "required|string|max:20" ,
"field_type" : "text"
2018-12-07 07:24:50 +01:00
}
]
2023-03-26 16:14:31 +02:00
}