Updated Project Zomboid Egg

Updated ports according to PZ's Network changes.
Updated Readme
Replaced old not recognized -steamport1 with new -udpport parameter
This commit is contained in:
Piotr Krawiecki 2023-05-10 03:24:22 +02:00
parent b9dc587044
commit 62cec86e02
2 changed files with 11 additions and 16 deletions

View File

@ -4,21 +4,16 @@ Project Zomboid is the ultimate in zombie survival. Alone or in MP: you loot, bu
## Server Ports ## Server Ports
Project Zomboid requires one port for Steam and an additional **one port per player**. Additional ports are allocated as they connect. Project Zomboid requires one port for game data and one port for Steam.
For example, when configured with a base allocation of 27016:
```log ```log
Zomboid Steam Server started, ports 27016 and 27016 must be open on the router > *** SERVER STARTED ****.
Connected new client kubi ID # 0 and assigned DL port 27017 > *** Steam is enabled.
Connected new client kubi2 ID # 1 and assigned DL port 27018 > 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 | | Port | default |
|-------------|---------| |-------------|---------|
| Game | 8766 | | DefaultPort | 16261 |
| Player1 | 8767 | | UDPPort | 16262 |
| Player2 | 8768 |
| ... | 8769 |

View File

@ -15,7 +15,7 @@
"ghcr.io\/parkervcp\/games:source" "ghcr.io\/parkervcp\/games:source"
], ],
"file_denylist": [], "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": { "config": {
"files": "{}", "files": "{}",
"startup": "{\r\n \"done\": \"SERVER STARTED\"\r\n}", "startup": "{\r\n \"done\": \"SERVER STARTED\"\r\n}",
@ -59,11 +59,11 @@
}, },
{ {
"name": "SteamPort", "name": "SteamPort",
"description": "Sets the SteamPort1 option", "description": "Sets the UFPPort option",
"env_variable": "STEAM_PORT", "env_variable": "STEAM_PORT",
"default_value": "8766", "default_value": "16262",
"user_viewable": true, "user_viewable": true,
"user_editable": false, "user_editable": true,
"rules": "required|string|max:20" "rules": "required|string|max:20"
}, },
{ {