Operation: Harsh Doorstop is an Unreal Engine powered shooter sandbox similar to mod-friendly games like Ravenfield and Garry's Mod but with roots in tactical shooters like Squad and Arma III. Our game is entirely donation funded, completely free, and has full Steam workshop support!
Operation: Harsh Doorstop is an Unreal Engine powered shooter sandbox similar to mod-friendly games like Ravenfield and Garry's Mod but with roots in tactical shooters like Squad and Arma III. Our game is entirely donation funded, completely free, and has full Steam workshop support!
Operation Harsh Doorstop servers require 3 ports to be open
Port | default |
---|---|
Game | 7777 |
Query | 27005 |
RCON | 7779 |
Name | Tag |
---|---|
ghcr.io/ptero-eggs/steamcmd:debian | ghcr.io/ptero-eggs/steamcmd:debian |
Name | Description | Environment Variable | Default Value | User Viewable | User Editable |
---|---|---|---|---|---|
Autop update | Auto update the server on startup | AUTO_UPDATE | 1 | Yes | Yes |
app id | SRCDS_APPID | 950900 | No | No | |
Max Players | Maximum number of players allowed by this server. | MAX_PLAYERS | 32 | Yes | No |
Server name | Defines the display or host name of the game server when listed in a server browser | SERVER_NAME | Harsh Doorstop Dedicated Server | Yes | Yes |
Query port | Defines port for Steam master server traffic | QUERY_PORT | 27005 | Yes | No |
Rcon Port | Defines port for RCON server traffic | RCON_PORT | 7779 | Yes | No |
Rcon Max Auth Attempts | Defines the maximum number of authentication attempts an RCON connection can make before being forcibly disconnected | RCON_MAX_AUTH_ATTEMPTS | 3 | Yes | Yes |
Rcon Password | Defines the password used for authenticating with the RCON server | RCON_PASSWORD | Yes | Yes | |
Rcon Max Connections | Maximum number of concurrent RCON connections | RCON_MAX_CONNECTIONS | 5 | Yes | Yes |
#!/bin/bash
# steamcmd Base Installation Script
#
# Server Files: /mnt/server
# Image to install with is 'ghcr.io/ptero-eggs/installers:debian'
## just in case someone removed the defaults.
if [[ "${STEAM_USER}" == "" ]] || [[ "${STEAM_PASS}" == "" ]]; then
echo -e "steam user is not set.\n"
echo -e "Using anonymous user.\n"
STEAM_USER=anonymous
STEAM_PASS=""
STEAM_AUTH=""
else
echo -e "user set to ${STEAM_USER}"
fi
## download and install steamcmd
cd /tmp
mkdir -p /mnt/server/steamcmd
curl -sSL -o steamcmd.tar.gz https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz
tar -xzvf steamcmd.tar.gz -C /mnt/server/steamcmd
mkdir -p /mnt/server/steamapps # Fix steamcmd disk write error when this folder is missing
cd /mnt/server/steamcmd
# SteamCMD fails otherwise for some reason, even running as root.
# This is changed at the end of the install process anyways.
chown -R root:root /mnt
export HOME=/mnt/server
## install game using steamcmd
./steamcmd.sh +force_install_dir /mnt/server +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} $( [[ "${WINDOWS_INSTALL}" == "1" ]] && printf %s '+@sSteamCmdForcePlatformType windows' ) +app_update ${SRCDS_APPID} validate +quit
## set up 32 bit libraries
mkdir -p /mnt/server/.steam/sdk32
cp -v linux32/steamclient.so ../.steam/sdk32/steamclient.so
## set up 64 bit libraries
mkdir -p /mnt/server/.steam/sdk64
cp -v linux64/steamclient.so ../.steam/sdk64/steamclient.so
## add below your custom commands if needed
mkdir -p /mnt/server/HarshDoorstop/Saved/Config/LinuxServer/
cd /mnt/server/HarshDoorstop/Saved/Config/LinuxServer/
touch Game.ini
tee -a mnt/server/HarshDoorstop/Saved/Config/LinuxServer/Game.ini << END
[/Script/RCON.RCONServerSystem]
bEnabled=True
ListenPort=7779
Password="LetMeIn"
MaxActiveConnections=5
MaxAuthAttempts=3
[/Script/Engine.GameSession]
MaxPlayers=32
ServerName="My Awesome Server"
Password="cookies"
END
## install end
echo "-----------------------------------------"
echo "Installation completed..."
echo "-----------------------------------------"