Official documentation for settings up a dedicated server: https://pzwiki.net/wiki/Dedicated_Server
While this package says version 41.65 the newest version from steamcmd
will always be downloaded.
While this package attempts to make running a PZ server as easy as possible, several manual steps need to be taken to get a working server:
- You will need to change the passwords in
/etc/project-zomboid/server.conf
- You will need to open UDP ports 16261 and 8766 (for Steam, see docs for running a Non-steam server)
Further settings can be configured via:
- Passwords & launch args:
/etc/project-zomboid/server.conf"
- Server & game settings (made on first launch):
/opt/project-zomboid-server/Zomboid/Server/servertest*"
- JVM settings (RAM):
/opt/project-zomboid-server/ProjectZomboid64.json"
By default, saves will be stored in /opt/project-zomboid-server/Zomboid/Saves/Multiplayer/
The best way to edit game settings (servertest* by default) is in game:
Main Menu -> Host -> Manage settings... -> Create New Settings
Copy files saved from the client to the server.
Pinned Comments
Shasta commented on 2022-01-04 07:49 (UTC) (edited on 2022-01-04 08:14 (UTC) by Shasta)
Official documentation for settings up a dedicated server: https://pzwiki.net/wiki/Dedicated_Server
While this package says version 41.65 the newest version from
steamcmd
will always be downloaded.While this package attempts to make running a PZ server as easy as possible, several manual steps need to be taken to get a working server:
/etc/project-zomboid/server.conf
Further settings can be configured via:
/etc/project-zomboid/server.conf"
/opt/project-zomboid-server/Zomboid/Server/servertest*"
/opt/project-zomboid-server/ProjectZomboid64.json"
By default, saves will be stored in
/opt/project-zomboid-server/Zomboid/Saves/Multiplayer/
The best way to edit game settings (servertest* by default) is in game:
Copy files saved from the client to the server.