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] 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" }, {