Skip to content

Colony Survival

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!

egg-colony-survival.json

updated

Ports

Add an allocation on the node for each port.

  • Game 27004
  • Steam 27005

Install

Installer image
ghcr.io/ptero-eggs/installers:debian
Steam app
748090
Steam login
not required
Install script
46 lines

Image

  • SteamCMD ghcr.io/ptero-eggs/steamcmd:debian

Startup

The Panel runs this command to start the server. It replaces each variable in the command with the value of that variable.

6 variables

Startup command

./colonyserver.x86_64 -batchmode -nographics +server.world "Pterodactyl" +server.networktype SteamOnline +server.name "Pterodactyl" +server.maxplayers 10 +server.gameport 27004 +server.ip 0.0.0.0 +server.steamport 27005

Dotted values come from the server settings. These values are examples.

  • SRCDS_APPIDUsers cannot see

    required|string|in:748090

  • Auto update the server on restart

    AUTO_UPDATEUsers can edit

    required|boolean

  • WORLD_NAMEUsers can edit

    required|string|max:32

  • SERVER_NAMEUsers can edit

    required|string|max:32

  • MAX_PLAYERSUsers can edit

    required|integer|min:1|max:64

  • SERVER_STEAMPORTUsers can see

    required|string

Wings

Stop command
^C (SIGINT)
Running when the console shows
Starting networking type

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

Changes

  1. Add steamcmd based eggs

    · Daniel Barton · 60ef9fb

All changes on GitHub

Problem with this egg?

Open an issue on GitHub. Include your Panel and Wings versions.

Install script 46 lines bash in ghcr.io/ptero-eggs/installers:debian Show
#!/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 "-----------------------------------------"