2019-03-11 11:47:12 +01:00
{
2024-06-01 02:21:13 +02:00
"_comment" : "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PANEL" ,
2019-03-11 11:47:12 +01:00
"meta" : {
2024-01-15 19:25:32 +01:00
"version" : "PTDL_v2" ,
"update_url" : null
2019-03-11 11:47:12 +01:00
} ,
2024-06-01 02:21:13 +02:00
"exported_at" : "2024-06-01T00:17:36+00:00" ,
2019-03-11 11:47:12 +01:00
"name" : "ET Legacy" ,
"author" : "parker@parkervcp.com" ,
2024-06-01 02:21:13 +02:00
"uuid" : "c18d776e-745a-4d59-87d2-cff9e9b53e6f" ,
2019-03-11 11:47:12 +01:00
"description" : "Welcome to Enemy Territory: Legacy, an open source project that aims to create a fully compatible client and server for the popular online FPS game Wolfenstein: Enemy Territory - whose gameplay is still considered unmatched by many, despite its great age." ,
2024-01-15 19:25:32 +01:00
"features" : null ,
"docker_images" : {
"ghcr.io\/parkervcp\/steamcmd:debian" : "ghcr.io\/parkervcp\/steamcmd:debian"
} ,
"file_denylist" : [ ] ,
"startup" : ".\/etlded +set net_port {{SERVER_PORT}} +map {{MAP}} +set omnibot_enable {{OMNIBOT}} $(if [ \"${OMNIBOT}\" == \"1\" ]; then echo '+set omnibot_path \".\/legacy\/omni-bot\"'; fi) + exec etl_server.cfg" ,
2019-03-11 11:47:12 +01:00
"config" : {
2024-01-15 19:25:32 +01:00
"files" : "{\r\n \"etmain\/etl_server.cfg\": {\r\n \"parser\": \"file\",\r\n \"find\": {\r\n \"\/\/set net_ip \\\"\\\"\": \"set net_ip \\\"0.0.0.0\\\"\",\r\n \"\/\/set net_port \\\"27960\\\"\": \"set net_port \\\"{{server.build.default.port}}\\\"\"\r\n }\r\n }\r\n}" ,
"startup" : "{\r\n \"done\": \"Game Initialization completed in\"\r\n}" ,
2019-03-11 11:47:12 +01:00
"logs" : "{}" ,
2019-04-29 15:58:28 +02:00
"stop" : "quit"
2019-03-11 11:47:12 +01:00
} ,
"scripts" : {
"installation" : {
2024-06-17 14:49:33 +02:00
"script" : "#!\/bin\/bash\r\n\r\ncd \/mnt\/server\r\n\r\necho \"Downloading $ET_VERSION bit ET Legacy version\"\r\n\r\nif [ $ET_VERSION == \"32\" ];then \r\n DOWNLOAD_URL=$(curl -s https:\/\/www.etlegacy.com\/download | grep \"i386 archive\" | grep -Eoi '<a [^>]+>' | grep -Eo 'href=\"[^\\\"]+\"' | grep -Eo '(http|https):\/\/[^\"]+')\r\n EXTENTION=i386\r\nelse\r\n DOWNLOAD_URL=$(curl -s https:\/\/www.etlegacy.com\/download | grep \"x86_64 archive\" | grep -Eoi '<a [^>]+>' | grep -Eo 'href=\"[^\\\"]+\"' | grep -Eo '(http|https):\/\/[^\"]+')\r\n EXTENTION=x86_64\r\nfi\r\n\r\necho \"Download URL: ${DOWNLOAD_URL}\"\r\ncurl -sSL -o etlegacy.tar.gz ${DOWNLOAD_URL}\r\n\r\necho \"Unpacking ET: Legacy\"\r\ntar xvf etlegacy.tar.gz --strip-components=1 \r\nrm etlegacy.tar.gz\r\n\r\n\r\nE_DOWNLOAD_URL=$(curl -s https:\/\/www.splashdamage.com\/games\/wolfenstein-enemy-territory\/ | grep .x86_full | grep -Eoi '<a [^>]+>' | grep -Eo 'href=\"[^\\\"]+\"' | grep -Eo --color=never '(http|https):\/\/[^\"]+')\r\n\r\necho \"Downloading latest enemy territory files from: ${E_DOWNLOAD_URL}\"\r\ncurl -sSL -o enemy_territory.zip ${E_DOWNLOAD_URL}\r\n\r\necho \"Unpacking enemy territory files\"\r\nunzip -o enemy_territory.zip\r\nrm enemy_territory.zip\r\n\r\necho \"Copying enemy territory assets\"\r\n.\/*.x86_keygen_V03.run --tar xvf .\/etmain\/\r\n#cp etmain\/pak*.pk3 \/mnt\/server\/etmain\/\r\n\r\n# Create .etlegacy as the server doesn't correctly create it\r\nmkdir -p \/mnt\/server\/.etlegacy\r\n\r\nrm *.run\r\n\r\nmv etlded.${EXTENTION} etlded\r\n\r\n## install end\r\necho \"-----------------------------------------\"\r\necho \"Installation completed...\"\r\necho \"-----------------------------------------\"" ,
2024-01-15 19:25:32 +01:00
"container" : "ghcr.io\/parkervcp\/installers:debian" ,
2019-03-11 11:47:12 +01:00
"entrypoint" : "bash"
}
} ,
"variables" : [
{
"name" : "ET Legacy Version" ,
"description" : "What version of the server to install. 32 or 64 bit version." ,
"env_variable" : "ET_VERSION" ,
2024-06-17 14:49:33 +02:00
"default_value" : "64" ,
2024-01-15 19:25:32 +01:00
"user_viewable" : true ,
"user_editable" : true ,
"rules" : "required|integer|in:32,64" ,
2024-06-01 02:21:13 +02:00
"sort" : null ,
2024-01-15 19:25:32 +01:00
"field_type" : "text"
2019-04-29 15:58:28 +02:00
} ,
{
"name" : "Default Map" ,
"description" : "The default map to use when starting the server." ,
"env_variable" : "MAP" ,
"default_value" : "oasis" ,
2024-01-15 19:25:32 +01:00
"user_viewable" : true ,
"user_editable" : true ,
"rules" : "required|string|max:20" ,
2024-06-01 02:21:13 +02:00
"sort" : null ,
2024-01-15 19:25:32 +01:00
"field_type" : "text"
} ,
{
"name" : "Enable Omnibot" ,
"description" : "" ,
"env_variable" : "OMNIBOT" ,
2024-06-17 14:49:33 +02:00
"default_value" : "1" ,
2024-01-15 19:25:32 +01:00
"user_viewable" : true ,
"user_editable" : true ,
"rules" : "required|boolean" ,
2024-06-01 02:21:13 +02:00
"sort" : null ,
2024-01-15 19:25:32 +01:00
"field_type" : "text"
2019-03-11 11:47:12 +01:00
}
]
2024-06-01 02:21:13 +02:00
}