Skip to content

Instantly share code, notes, and snippets.

View jamiemtdwyer's full-sized avatar

Jamie Dwyer jamiemtdwyer

  • T.O.
View GitHub Profile
#!/bin/bash
# Connect to an RCON client listening on the port specified by RCON_PORT
RCON_DIR=~/rcon/
RCON_CONFIG_FILE=~/rcon/rcon.yaml
export RCON_PORT=27015
export PATH=$RCON_DIR:$PATH
echo "Waiting for RCON server on port ${RCON_PORT} to open..."
timeout 300 bash -c 'until echo > /dev/tcp/localhost/"${RCON_PORT}"; do sleep 0.5; done' 2>/dev/null

Project Zomboid Dedicated Server Guide

Ubuntu Server 20.04 LTS (64-bit)

1. Install steamcmd

 sudo add-apt-repository multiverse
 sudo dpkg --add-architecture i386
 sudo apt update
 sudo apt install lib32gcc1 steamcmd