From bd9f966c8b2e0821881c2f5cc78732dcc38dec9e Mon Sep 17 00:00:00 2001 From: Hendalf <56977415+Hendalf-DEV@users.noreply.github.com> Date: Sun, 7 Apr 2024 22:55:58 +0300 Subject: [PATCH 1/7] Path Of Titans Path Of Titans server egg. Not tested properly but the server is running so I guess it works if you set all the required ports. --- game_eggs/path_of_titans/README.md | 30 +++++ .../path_of_titans/egg-path-of-titans.json | 103 ++++++++++++++++++ 2 files changed, 133 insertions(+) create mode 100644 game_eggs/path_of_titans/README.md create mode 100644 game_eggs/path_of_titans/egg-path-of-titans.json diff --git a/game_eggs/path_of_titans/README.md b/game_eggs/path_of_titans/README.md new file mode 100644 index 00000000..80e0e4eb --- /dev/null +++ b/game_eggs/path_of_titans/README.md @@ -0,0 +1,30 @@ +# Path Of Titans + + + +## From their [Github](https://github.com/Hendalf-DEV/eggs) + +## Install notes +This could be a little buggy or not well tested because made on the fast hand. + +You need to open these ports before running the server `7777, 7778, 7779, 7780`. They are require for RCON, seeing your servr on the list and etc. + +# Other documentation + +If you are experienced the I could reccomend using this documentation website on the github +[DOCS](https://github.com/Alderon-Games/pot-community-servers/wiki) + +## Server Ports + +Ports required to run the server in a table format. + +| Port | default | +|---------|---------| +| Game | 7777 | + +### Notes + + +`7777` is the default port, but any port can be used. + + diff --git a/game_eggs/path_of_titans/egg-path-of-titans.json b/game_eggs/path_of_titans/egg-path-of-titans.json new file mode 100644 index 00000000..5aabc8c7 --- /dev/null +++ b/game_eggs/path_of_titans/egg-path-of-titans.json @@ -0,0 +1,103 @@ +{ + "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", + "meta": { + "version": "PTDL_v2", + "update_url": null + }, + "exported_at": "2024-04-07T19:39:38+00:00", + "name": "Path Of Titans", + "author": "danielivanvladimir.revin@gmail.com", + "description": null, + "features": null, + "docker_images": { + "ghcr.io\/parkervcp\/yolks:ubuntu": "ghcr.io\/parkervcp\/yolks:ubuntu", + "ghcr.io\/parkervcp\/yolks:debian": "ghcr.io\/parkervcp\/yolks:debian" + }, + "file_denylist": [], + "startup": ".\/AlderonGamesCmd-Linux --game path-of-titans --server true --beta-branch {{BETA_BRANCH}} --auth-token {{AG_AUTH_TOKEN}} --install-dir .\/server\/ && .\/server\/PathOfTitansServer.sh {{SERVER_MAP}}?listen?MaxPlayers={{SERVER_MAX_PLAYERS}} -nullRHI -ServerName={{SERVER_NAME}} -ServerGUID={{SERVER_GUID}} -BranchKey={{BETA_BRANCH}} -Database={{SERVER_DB}} -log", + "config": { + "files": "{}", + "startup": "{\r\n \"done\": \"Server ready\"\r\n}", + "logs": "{}", + "stop": "quit" + }, + "scripts": { + "installation": { + "script": "#!\/bin\/bash\r\napt-get update && apt-get install -y --no-install-recommends apt-utils apt-transport-https ca-certificates libunwind8 icu-devtools openssl libkrb5-3 zlib1g libuuid1 dos2unix gnupg gnupg2 debian-archive-keyring gcc g++ lib32gcc-s1 lib32z1 lib32stdc++6 iproute2 gdb libsdl1.2debian libfontconfig libcurl4\r\napt-get autoremove --purge -y\r\nmkdir -p \/mnt\/server\r\ncd \/mnt\/server && curl -o AlderonGamesCmd-Linux https:\/\/launcher-cdn.alderongames.com\/AlderonGamesCmd-Linux-x64\r\nchmod +x \/mnt\/server\/AlderonGamesCmd-Linux\r\nchown -R root:root \/mnt\r\nexport HOME=\/mnt\/server", + "container": "ghcr.io\/parkervcp\/installers:debian", + "entrypoint": "bash" + } + }, + "variables": [ + { + "name": "Server Map", + "description": "", + "env_variable": "SERVER_MAP", + "default_value": "Island", + "user_viewable": true, + "user_editable": true, + "rules": "required|string|max:20", + "field_type": "text" + }, + { + "name": "Max Players", + "description": "", + "env_variable": "SERVER_MAX_PLAYERS", + "default_value": "100", + "user_viewable": true, + "user_editable": true, + "rules": "required|numeric|max:200", + "field_type": "text" + }, + { + "name": "Server name", + "description": "", + "env_variable": "SERVER_NAME", + "default_value": "YoutServerName", + "user_viewable": true, + "user_editable": true, + "rules": "required|string|max:25", + "field_type": "text" + }, + { + "name": "GUID", + "description": "Use https:\/\/guidgenerator.com\/", + "env_variable": "SERVER_GUID", + "default_value": "", + "user_viewable": true, + "user_editable": true, + "rules": "required|string|max:40", + "field_type": "text" + }, + { + "name": "Branch", + "description": "Choose between production or demo-public-test", + "env_variable": "BETA_BRANCH", + "default_value": "production", + "user_viewable": true, + "user_editable": true, + "rules": "required|string|max:15", + "field_type": "text" + }, + { + "name": "Database mode", + "description": "Server can use a Local or Remote Database. Specified using Local or Remote. We recommend using a Local Database unless you plan on connecting shared character data between servers.", + "env_variable": "SERVER_DB", + "default_value": "Local", + "user_viewable": true, + "user_editable": true, + "rules": "required|string|max:8", + "field_type": "text" + }, + { + "name": "Auth Token", + "description": "", + "env_variable": "AG_AUTH_TOKEN", + "default_value": "", + "user_viewable": true, + "user_editable": true, + "rules": "required|string|max:1500", + "field_type": "text" + } + ] +} \ No newline at end of file From 930810b3bd8fd7869389e5fa7cad1c82be9fec3c Mon Sep 17 00:00:00 2001 From: Hendalf <56977415+Hendalf-DEV@users.noreply.github.com> Date: Thu, 25 Apr 2024 12:52:27 +0300 Subject: [PATCH 2/7] Removing the non-working image --- game_eggs/path_of_titans/egg-path-of-titans.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/game_eggs/path_of_titans/egg-path-of-titans.json b/game_eggs/path_of_titans/egg-path-of-titans.json index 5aabc8c7..86e8b031 100644 --- a/game_eggs/path_of_titans/egg-path-of-titans.json +++ b/game_eggs/path_of_titans/egg-path-of-titans.json @@ -10,7 +10,6 @@ "description": null, "features": null, "docker_images": { - "ghcr.io\/parkervcp\/yolks:ubuntu": "ghcr.io\/parkervcp\/yolks:ubuntu", "ghcr.io\/parkervcp\/yolks:debian": "ghcr.io\/parkervcp\/yolks:debian" }, "file_denylist": [], @@ -100,4 +99,4 @@ "field_type": "text" } ] -} \ No newline at end of file +} From 09551c8c68783c67e4be966d57315b4ae63e026b Mon Sep 17 00:00:00 2001 From: Hendalf <56977415+Hendalf-DEV@users.noreply.github.com> Date: Fri, 26 Apr 2024 09:35:56 +0300 Subject: [PATCH 3/7] Update README.md --- game_eggs/path_of_titans/README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/game_eggs/path_of_titans/README.md b/game_eggs/path_of_titans/README.md index 80e0e4eb..57f0770b 100644 --- a/game_eggs/path_of_titans/README.md +++ b/game_eggs/path_of_titans/README.md @@ -7,7 +7,7 @@ ## Install notes This could be a little buggy or not well tested because made on the fast hand. -You need to open these ports before running the server `7777, 7778, 7779, 7780`. They are require for RCON, seeing your servr on the list and etc. +You need to open these ports before running the server `7777, 7778, 7779, 7780, 7781`. They are require for RCON, seeing your servr on the list and etc. # Other documentation @@ -21,10 +21,16 @@ Ports required to run the server in a table format. | Port | default | |---------|---------| | Game | 7777 | +| Query | 7778 | +| Rcon | 7779 | +| Stats | 7780 | ### Notes `7777` is the default port, but any port can be used. +You need to assign to network port `7779` if you want to use RCON +Also you need to open port `7778` and `7781` for the query, so it can appear on the server list. +`7780` is Stats port. From d6cfe10a6428856d42b5bf8c63063abd144bf82e Mon Sep 17 00:00:00 2001 From: Hendalf <56977415+Hendalf-DEV@users.noreply.github.com> Date: Fri, 26 Apr 2024 09:39:19 +0300 Subject: [PATCH 4/7] Update README.md --- game_eggs/path_of_titans/README.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/game_eggs/path_of_titans/README.md b/game_eggs/path_of_titans/README.md index 57f0770b..25e6d52b 100644 --- a/game_eggs/path_of_titans/README.md +++ b/game_eggs/path_of_titans/README.md @@ -18,12 +18,13 @@ If you are experienced the I could reccomend using this documentation website on Ports required to run the server in a table format. -| Port | default | -|---------|---------| -| Game | 7777 | -| Query | 7778 | -| Rcon | 7779 | -| Stats | 7780 | +| Port | default | +|---------------|---------| +| Game | 7777 | +| Reserved port | 7778 | +| Rcon | 7779 | +| Stats | 7780 | +| Query | 7781 | ### Notes @@ -33,4 +34,7 @@ You need to assign to network port `7779` if you want to use RCON Also you need to open port `7778` and `7781` for the query, so it can appear on the server list. `7780` is Stats port. +`7777, 7781` open for UDP +`7778, 7779, 7780` both protocols + From 7d0daaa2c08b0c5b97a5653943932ed7feb854aa Mon Sep 17 00:00:00 2001 From: Hendalf <56977415+Hendalf-DEV@users.noreply.github.com> Date: Fri, 26 Apr 2024 09:42:04 +0300 Subject: [PATCH 5/7] Update egg-path-of-titans.json --- game_eggs/path_of_titans/egg-path-of-titans.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/game_eggs/path_of_titans/egg-path-of-titans.json b/game_eggs/path_of_titans/egg-path-of-titans.json index 86e8b031..56141ed5 100644 --- a/game_eggs/path_of_titans/egg-path-of-titans.json +++ b/game_eggs/path_of_titans/egg-path-of-titans.json @@ -1,10 +1,10 @@ { - "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", + "_comment": "DO NOT EDIT IF YOU DO NOT KNOW WHAT YOU ARE DOING!", "meta": { "version": "PTDL_v2", "update_url": null }, - "exported_at": "2024-04-07T19:39:38+00:00", + "exported_at": "2024-04-26T06:39:41+00:00", "name": "Path Of Titans", "author": "danielivanvladimir.revin@gmail.com", "description": null, @@ -15,10 +15,10 @@ "file_denylist": [], "startup": ".\/AlderonGamesCmd-Linux --game path-of-titans --server true --beta-branch {{BETA_BRANCH}} --auth-token {{AG_AUTH_TOKEN}} --install-dir .\/server\/ && .\/server\/PathOfTitansServer.sh {{SERVER_MAP}}?listen?MaxPlayers={{SERVER_MAX_PLAYERS}} -nullRHI -ServerName={{SERVER_NAME}} -ServerGUID={{SERVER_GUID}} -BranchKey={{BETA_BRANCH}} -Database={{SERVER_DB}} -log", "config": { - "files": "{}", + "files": "{\r\n \"server.properties\": {\r\n \"parser\": \"properties\",\r\n \"find\": {\r\n \"server-ip\": \"0.0.0.0\",\r\n \"enable-query\": \"true\",\r\n \"server-port\": \"{{server.build.default.port}}\",\r\n \"query.port\": \"7778\"\r\n }\r\n }\r\n}", "startup": "{\r\n \"done\": \"Server ready\"\r\n}", "logs": "{}", - "stop": "quit" + "stop": "^C" }, "scripts": { "installation": { From 84e6fb551f44a7027d044e62307b1de610138874 Mon Sep 17 00:00:00 2001 From: Hendalf <56977415+Hendalf-DEV@users.noreply.github.com> Date: Fri, 26 Apr 2024 09:45:49 +0300 Subject: [PATCH 6/7] Update main README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 2ee2b061..58e70ca9 100644 --- a/README.md +++ b/README.md @@ -228,6 +228,8 @@ If you are reading this it looks like you are looking to add an egg to your serv * [OpenRA Red Alert](game_eggs/openra/openra_red_alert) * [OpenRA Tiberian Dawn](game_eggs/openra/openra_tiberian_dawn) +[Path Of Titans](game_eggs/paht_of_titans) + [Red Dead Redemption](game_eggs/rdr) * [RedM](game_eggs/rdr/redm) From e7014a765c4824edcd82edc967c27dfec04ad481 Mon Sep 17 00:00:00 2001 From: Hendalf <56977415+Hendalf-DEV@users.noreply.github.com> Date: Fri, 26 Apr 2024 09:55:01 +0300 Subject: [PATCH 7/7] Removing hardcoded port Added variable Removed hardcoded code for port --- game_eggs/path_of_titans/egg-path-of-titans.json | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/game_eggs/path_of_titans/egg-path-of-titans.json b/game_eggs/path_of_titans/egg-path-of-titans.json index 56141ed5..9e5948ac 100644 --- a/game_eggs/path_of_titans/egg-path-of-titans.json +++ b/game_eggs/path_of_titans/egg-path-of-titans.json @@ -15,7 +15,7 @@ "file_denylist": [], "startup": ".\/AlderonGamesCmd-Linux --game path-of-titans --server true --beta-branch {{BETA_BRANCH}} --auth-token {{AG_AUTH_TOKEN}} --install-dir .\/server\/ && .\/server\/PathOfTitansServer.sh {{SERVER_MAP}}?listen?MaxPlayers={{SERVER_MAX_PLAYERS}} -nullRHI -ServerName={{SERVER_NAME}} -ServerGUID={{SERVER_GUID}} -BranchKey={{BETA_BRANCH}} -Database={{SERVER_DB}} -log", "config": { - "files": "{\r\n \"server.properties\": {\r\n \"parser\": \"properties\",\r\n \"find\": {\r\n \"server-ip\": \"0.0.0.0\",\r\n \"enable-query\": \"true\",\r\n \"server-port\": \"{{server.build.default.port}}\",\r\n \"query.port\": \"7778\"\r\n }\r\n }\r\n}", + "files": "{\r\n \"server.properties\": {\r\n \"parser\": \"properties\",\r\n \"find\": {\r\n \"server-ip\": \"0.0.0.0\",\r\n \"enable-query\": \"true\",\r\n \"server-port\": \"{{server.build.default.port}}\",\r\n \"query.port\": \"{{QUERY_PORT}}\"\r\n }\r\n }\r\n}", "startup": "{\r\n \"done\": \"Server ready\"\r\n}", "logs": "{}", "stop": "^C" @@ -97,6 +97,16 @@ "user_editable": true, "rules": "required|string|max:1500", "field_type": "text" + }, + { + "name": "Query port", + "description": "", + "env_variable": "QUERY_PORT", + "default_value": "7778", + "user_viewable": true, + "user_editable": true, + "rules": "required|numeric|max:8", + "field_type": "text" } ] }