Game catalogue

Project Zomboid

Project Zomboid dedicated server, downloaded anonymously from Steam. Stable, or the unstable (Build 42) branch.

DownloadSteam, anonymous (app 380870)
Architecturesamd64
Portsgame UDP 16261 · udp UDP 16262 · rcon TCP 27015
Recommended3072 MB memory + 64 MB per player · 2 cores · 8 GB disk
Player counta2s
RCONsource
Version04b0203333a2

Settings

Template

project-zomboid.yaml · import it in the panel or add it from the catalogue.

# Project Zomboid dedicated server (anonymous Steam download).
id: project-zomboid
name: Project Zomboid
description: Project Zomboid dedicated server, downloaded anonymously from Steam. Stable, or the unstable (Build 42) branch.
architectures: [amd64]
images:
  - label: Steam runtime
    image: registry.audifire.ch/hosting-panel/runtime-images/steam:latest
startupMode: shell
startup: >-
  ./start-server.sh -cachedir=/home/container/Zomboid -servername "{{SERVER_NAME}}"
  -port {{SERVER_PORT}} -udpport {{UDP_PORT}} -adminpassword "{{ADMIN_PASSWORD}}"
stop:
  command: quit
  timeoutSeconds: 90
readyPattern: "*** SERVER STARTED ***"
ports:
  - role: game
    protocol: udp
    default: 16261
  - role: udp
    protocol: udp
    default: 16262
    variable: UDP_PORT
  - role: rcon
    protocol: tcp
    default: 27015
    variable: RCON_PORT
steam:
  appId: "380870"
  beta: "{{BRANCH}}"
# Project Zomboid answers Steam queries on its game port
query:
  protocol: a2s
# Source RCON (empty RCON password: off); the console itself uses stdin
rcon:
  protocol: source
  password: "{{env.RCON_PASSWORD}}"
# starting points for the limits when creating a server; memory grows with the player slots
resources:
  memoryMb: 3072
  memoryPerPlayerMb: 64
  playersVariable: MAX_PLAYERS
  cpuPercent: 200
  diskMb: 8192
variables:
  - key: BRANCH
    name: Branch
    description: Empty for stable, "unstable" for the newest build. Reinstall after changing.
    visibility: admin
    rules: nullable|in:,unstable
  - key: SERVER_NAME
    name: Server name
    description: Also the name of its settings file (Zomboid/Server/<name>.ini).
    default: servertest
    rules: required|alpha_dash|max:40
  - key: PUBLIC_NAME
    name: Name in the server browser
    default: My Zomboid Server
    rules: required|string|max:64
  - key: MAX_PLAYERS
    name: Max players
    default: "16"
    rules: required|integer|between:1,100
  - key: SERVER_PASSWORD
    name: Join password
    visibility: secret
    rules: nullable|string|max:64
  - key: ADMIN_PASSWORD
    name: Admin password
    description: For the "admin" account in game.
    visibility: secret
    rules: required|string|min:6|max:64
  - key: RCON_PASSWORD
    name: RCON password
    visibility: secret
    rules: nullable|string|max:64
configFiles:
  - path: Zomboid/Server/{{env.SERVER_NAME}}.ini
    parser: ini
    values:
      - key: PublicName
        value: "{{env.PUBLIC_NAME}}"
      - key: MaxPlayers
        value: "{{env.MAX_PLAYERS}}"
      - key: Password
        value: "{{env.SERVER_PASSWORD}}"
      - key: DefaultPort
        value: "{{server.build.default.port}}"
      - key: UDPPort
        value: "{{env.UDP_PORT}}"
      - key: RCONPort
        value: "{{env.RCON_PORT}}"
      - key: RCONPassword
        value: "{{env.RCON_PASSWORD}}"
      # the panel opens the ports (port forwarding); the game must not change the router itself
      - key: UPnP
        value: "false"
install:
  image: registry.audifire.ch/hosting-panel/runtime-images/base:latest
  entrypoint: bash
  script: |
    cd /mnt/server
    if [ ! -f start-server.sh ]; then echo "start-server.sh is missing: the Steam download failed."; exit 1; fi
    chmod +x start-server.sh
    mkdir -p Zomboid/Server
    echo "Project Zomboid installed."