Colony Survival

games
Report Issue

Colony Survival is a unique first-person strategy game developed by a two-man team. Build your own colony in a voxel world. Command guards, farmers, miners and other colonists. Defend your colony against the horde of monsters that attacks every night!

Contributors:
README

Colony Survival

Documentation

Installation/System Requirements

Bare Minimum Recommended
Processor Any AMD64 will work **
RAM 2 GiB 4 GiB
Storage 2 GiB 3 GiB
Network Anything will work **
Game Ownership not needed Needed for mods but the egg does not support it

Server Ports

Ports required to run the server in a table format.

Port default
Game 27004
Steam 27005
Docker Images (1)
Name Image
SteamCMD ghcr.io/ptero-eggs/steamcmd:debian
Startup Command
./colonyserver.x86_64 -batchmode -nographics +server.world "{{WORLD_NAME}}" +server.networktype SteamOnline +server.name "{{SERVER_NAME}}" +server.maxplayers {{MAX_PLAYERS}} +server.gameport {{SERVER_PORT}} +server.ip 0.0.0.0 +server.steamport {{SERVER_STEAMPORT}}
Variables (6)

APP ID

Environment:
SRCDS_APPID
Default:
748090
User Viewable:
User Editable:
Rules:
required|string|in:748090

Auto update

Auto update the server on restart

Environment:
AUTO_UPDATE
Default:
1
User Viewable:
User Editable:
Rules:
required|boolean

World name

Environment:
WORLD_NAME
Default:
Pterodactyl
User Viewable:
User Editable:
Rules:
required|string|max:32

Server name

Environment:
SERVER_NAME
Default:
Pterodactyl
User Viewable:
User Editable:
Rules:
required|string|max:32

Maximum Players

Environment:
MAX_PLAYERS
Default:
10
User Viewable:
User Editable:
Rules:
required|integer|min:1|max:64

Server steamport

Environment:
SERVER_STEAMPORT
Default:
27005
User Viewable:
User Editable:
Rules:
required|string|
Installation Script
Container: ghcr.io/ptero-eggs/installers:debian
Entrypoint: bash
#!/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}  +app_update ${SRCDS_APPID} validate +quit ## other flags may be needed depending on install. looking at you cs 1.6

## 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

## install end
echo "-----------------------------------------"
echo "Installation completed..."
echo "-----------------------------------------"