From 62cec86e0277f52b6b71f490a317eb7427857c6d Mon Sep 17 00:00:00 2001 From: Piotr Krawiecki <152773+krawiec@users.noreply.github.com> Date: Wed, 10 May 2023 03:24:22 +0200 Subject: [PATCH 1/3] Updated Project Zomboid Egg Updated ports according to PZ's Network changes. Updated Readme Replaced old not recognized -steamport1 with new -udpport parameter --- .../project_zomboid/README.md | 19 +++++++------------ .../project_zomboid/egg-project-zomboid.json | 8 ++++---- 2 files changed, 11 insertions(+), 16 deletions(-) diff --git a/game_eggs/steamcmd_servers/project_zomboid/README.md b/game_eggs/steamcmd_servers/project_zomboid/README.md index 6f6f9c32..e2fbf6fc 100644 --- a/game_eggs/steamcmd_servers/project_zomboid/README.md +++ b/game_eggs/steamcmd_servers/project_zomboid/README.md @@ -4,21 +4,16 @@ Project Zomboid is the ultimate in zombie survival. Alone or in MP: you loot, bu ## Server Ports -Project Zomboid requires one port for Steam and an additional **one port per player**. Additional ports are allocated as they connect. - -For example, when configured with a base allocation of 27016: +Project Zomboid requires one port for game data and one port for Steam. ```log -Zomboid Steam Server started, ports 27016 and 27016 must be open on the router -Connected new client kubi ID # 0 and assigned DL port 27017 -Connected new client kubi2 ID # 1 and assigned DL port 27018 +> *** SERVER STARTED ****. +> *** Steam is enabled. +> Server is listening on port 16261 (for Steam connection) and port 16262 (for UDPRakNet connection). +> Clients should use 16261 port for connections. ``` -If you're experiencing issues with players connecting it's likely because you have not allocated enough ports. These ports **must be in order** following the Steam port. - | Port | default | |-------------|---------| -| Game | 8766 | -| Player1 | 8767 | -| Player2 | 8768 | -| ... | 8769 | +| DefaultPort | 16261 | +| UDPPort | 16262 | diff --git a/game_eggs/steamcmd_servers/project_zomboid/egg-project-zomboid.json b/game_eggs/steamcmd_servers/project_zomboid/egg-project-zomboid.json index 5012b832..d3d3499f 100644 --- a/game_eggs/steamcmd_servers/project_zomboid/egg-project-zomboid.json +++ b/game_eggs/steamcmd_servers/project_zomboid/egg-project-zomboid.json @@ -15,7 +15,7 @@ "ghcr.io\/parkervcp\/games:source" ], "file_denylist": [], - "startup": "\/home\/container\/start-server.sh -port {{SERVER_PORT}} -steamport1 {{STEAM_PORT}} -cachedir=\/home\/container\/.cache -servername \"{{SERVER_NAME}}\" -adminusername {{ADMIN_USER}} -adminpassword \"{{ADMIN_PASSWORD}}\"", + "startup": "\/home\/container\/start-server.sh -port {{SERVER_PORT}} -udpport {{STEAM_PORT}} -cachedir=\/home\/container\/.cache -servername \"{{SERVER_NAME}}\" -adminusername {{ADMIN_USER}} -adminpassword \"{{ADMIN_PASSWORD}}\"", "config": { "files": "{}", "startup": "{\r\n \"done\": \"SERVER STARTED\"\r\n}", @@ -59,11 +59,11 @@ }, { "name": "SteamPort", - "description": "Sets the SteamPort1 option", + "description": "Sets the UFPPort option", "env_variable": "STEAM_PORT", - "default_value": "8766", + "default_value": "16262", "user_viewable": true, - "user_editable": false, + "user_editable": true, "rules": "required|string|max:20" }, { From 2f1747a8160b1adc9cbc234cdabfad39b6bd1af5 Mon Sep 17 00:00:00 2001 From: Piotr Krawiecki <152773+krawiec@users.noreply.github.com> Date: Wed, 10 May 2023 03:33:49 +0200 Subject: [PATCH 2/3] Exported from Panel Exported from Panel --- .../project_zomboid/egg-project-zomboid.json | 40 +++++++++++-------- 1 file changed, 24 insertions(+), 16 deletions(-) diff --git a/game_eggs/steamcmd_servers/project_zomboid/egg-project-zomboid.json b/game_eggs/steamcmd_servers/project_zomboid/egg-project-zomboid.json index d3d3499f..81d294a9 100644 --- a/game_eggs/steamcmd_servers/project_zomboid/egg-project-zomboid.json +++ b/game_eggs/steamcmd_servers/project_zomboid/egg-project-zomboid.json @@ -1,19 +1,19 @@ { "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", "meta": { - "version": "PTDL_v1", + "version": "PTDL_v2", "update_url": null }, - "exported_at": "2022-05-06T10:50:50+02:00", + "exported_at": "2023-05-10T03:31:04+02:00", "name": "Project Zomboid", - "author": "iamkubi@gmail.com", + "author": "pkrawiecki@gmail.com", "description": "Project Zomboid is an open world survival horror video game in alpha stage development by British and Canadian independent developer, The Indie Stone. The game is set in a post apocalyptic, zombie infested world where the player is challenged to survive for as long as possible before inevitably dying.", "features": [ "steam_disk_space" ], - "images": [ - "ghcr.io\/parkervcp\/games:source" - ], + "docker_images": { + "ghcr.io\/parkervcp\/games:source": "ghcr.io\/parkervcp\/games:source" + }, "file_denylist": [], "startup": "\/home\/container\/start-server.sh -port {{SERVER_PORT}} -udpport {{STEAM_PORT}} -cachedir=\/home\/container\/.cache -servername \"{{SERVER_NAME}}\" -adminusername {{ADMIN_USER}} -adminpassword \"{{ADMIN_PASSWORD}}\"", "config": { @@ -37,7 +37,8 @@ "default_value": "Pterodactyl", "user_viewable": true, "user_editable": true, - "rules": "required|alpha_num|max:64" + "rules": "required|alpha_num|max:64", + "field_type": "text" }, { "name": "Admin Username", @@ -46,7 +47,8 @@ "default_value": "admin", "user_viewable": true, "user_editable": true, - "rules": "required|string|max:20" + "rules": "required|string|max:20", + "field_type": "text" }, { "name": "Admin Password", @@ -55,16 +57,18 @@ "default_value": "password", "user_viewable": true, "user_editable": true, - "rules": "required|string|max:32" + "rules": "required|string|max:32", + "field_type": "text" }, { "name": "SteamPort", - "description": "Sets the UFPPort option", + "description": "Sets the UDPPort option", "env_variable": "STEAM_PORT", "default_value": "16262", "user_viewable": true, "user_editable": true, - "rules": "required|string|max:20" + "rules": "required|string|max:20", + "field_type": "text" }, { "name": "Max Players", @@ -73,7 +77,8 @@ "default_value": "10", "user_viewable": true, "user_editable": false, - "rules": "required|string|max:20" + "rules": "required|string|max:20", + "field_type": "text" }, { "name": "PZ Steam App ID", @@ -82,7 +87,8 @@ "default_value": "380870", "user_viewable": false, "user_editable": false, - "rules": "required|string|max:20" + "rules": "required|string|max:20", + "field_type": "text" }, { "name": "Steam Beta Branch [requires reinstall]", @@ -91,7 +97,8 @@ "default_value": "", "user_viewable": true, "user_editable": true, - "rules": "nullable|string|max:64" + "rules": "nullable|string|max:64", + "field_type": "text" }, { "name": "Steam Auto Update", @@ -100,7 +107,8 @@ "default_value": "0", "user_viewable": true, "user_editable": true, - "rules": "required|string|max:20" + "rules": "required|string|max:20", + "field_type": "text" } ] -} +} \ No newline at end of file From bb75e0adbfdc13b8361bf9d8bf4f19e3177d8793 Mon Sep 17 00:00:00 2001 From: Piotr Krawiecki <152773+krawiec@users.noreply.github.com> Date: Wed, 10 May 2023 09:59:00 +0200 Subject: [PATCH 3/3] Author fix --- .../steamcmd_servers/project_zomboid/egg-project-zomboid.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game_eggs/steamcmd_servers/project_zomboid/egg-project-zomboid.json b/game_eggs/steamcmd_servers/project_zomboid/egg-project-zomboid.json index 81d294a9..88fb636c 100644 --- a/game_eggs/steamcmd_servers/project_zomboid/egg-project-zomboid.json +++ b/game_eggs/steamcmd_servers/project_zomboid/egg-project-zomboid.json @@ -6,7 +6,7 @@ }, "exported_at": "2023-05-10T03:31:04+02:00", "name": "Project Zomboid", - "author": "pkrawiecki@gmail.com", + "author": "iamkubi@gmail.com", "description": "Project Zomboid is an open world survival horror video game in alpha stage development by British and Canadian independent developer, The Indie Stone. The game is set in a post apocalyptic, zombie infested world where the player is challenged to survive for as long as possible before inevitably dying.", "features": [ "steam_disk_space"