Egg Repository

Pterodactyl Community Egg Repository

OpenTTD Server

OpenTTD is an open source simulation game based upon the popular Microprose game "Transport Tycoon Deluxe", written by Chris Sawyer. It attempts to mimic the original game as closely as possible while extending it with new features. OpenTTD is modelled after the original Transport Tycoon game by Chris Sawyer and enhances the game experience dramatically. Many features were inspired by TTDPatch while others are original.

Read Me

OpenTTD

OpenTTD is a business simulation game in which players try to earn money via transporting passengers and freight by road, rail, water and air. It is an open-source remake and expansion of the 1995 Chris Sawyer video game Transport Tycoon Deluxe

Server Ports

Port Default
Game 3979
Admin 3977
Yolks
NameTag
ghcr.io/ptero-eggs/yolks:debianghcr.io/ptero-eggs/yolks:debian
Variables
NameDescriptionEnvironment VariableDefault ValueUser ViewableUser Editable
Server NameThe name shown in the serverlistsrv_nameOpenTTD ServerYesYes
Show in masterlist?Show the server in the serverlist on the client, true or falsesrv_advertisetrueYesYes
OpenTTD VersionThe version of OpenTTD i.e. 12.2OPENTTD_VERSION13.0-RC2YesNo
OpenGFX VersionThe OpenGFX Version i.e. 7.1OPENGFX_VERSION7.1YesNo
Install Script
#!/bin/ash
apk add --no-cache xz curl tar unzip

mkdir -p /mnt/server
cd /mnt/server

echo -e "\ncurl -SsL -o openttd-linux.tar.xz https://cdn.openttd.org/openttd-releases/${OPENTTD_VERSION}/openttd-${OPENTTD_VERSION}-linux-generic-amd64.tar.xz"
curl -SsL -o openttd-linux.tar.xz https://cdn.openttd.org/openttd-releases/${OPENTTD_VERSION}/openttd-${OPENTTD_VERSION}-linux-generic-amd64.tar.xz 

echo -e "\nUnpacking tar"
tar -xf openttd-linux.tar.xz --strip-components=1
rm openttd-linux.tar.xz
chmod +x openttd

echo -e "\nRunning curl -sSL -o opengfx.zip https://cdn.openttd.org/opengfx-releases/${OPENGFX_VERSION}/opengfx-${OPENGFX_VERSION}-all.zip"
curl -sSL -o opengfx.zip https://cdn.openttd.org/opengfx-releases/${OPENGFX_VERSION}/opengfx-${OPENGFX_VERSION}-all.zip
unzip opengfx.zip 

tar --strip-components=1 -C baseset/ -xvf opengfx*.tar
rm -fR open*zip open*tar open*gz

[ -f /home/container/openttd.cfg  ] || curl https://raw.githubusercontent.com/ptero-eggs/game-eggs/main/openttd/openttd.cfg > openttd.cfg

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