Egg Repository

Pterodactyl Community Egg Repository

Trackmania

Trackmania combines easy-to-learn, hard-to-master gameplay with a wide diversity of tracks and skin customization, in addition to regular seasons & live events.

Read Me
Yolks
NameTag
ghcr.io/ptero-eggs/yolks:debianghcr.io/ptero-eggs/yolks:debian
Variables and Startup

Startup Command

./TrackmaniaServer /dedicated_cfg=dedicated_cfg.txt /game_settings={{GAME_CONFIG}} /noDaemon

Variables

Master Server Login

Master Server username. Obtained from https://www.trackmania.com/player/dedicated-servers

Environment Variable: MASTERSERVER_LOGIN
Default Value:
User Viewable:
User Editable:
Master Server Password

Password for the servers master server account. Obtained from Obtained from https://www.trackmania.com/player/dedicated-servers

Environment Variable: MASTERSERVER_PASSWORD
Default Value:
User Viewable:
User Editable:
Game Config FIle

Location of the game config file

Environment Variable: GAME_CONFIG
Default Value: MatchSettings\example.txt
User Viewable:
User Editable:
Server Name

Environment Variable: SERVER_NAME
Default Value: A Pterodactyl Hosted Server
User Viewable:
User Editable:
Server Comment

Environment Variable: SERVER_COMMENT
Default Value: A Pterodactyl Hosted Server
User Viewable:
User Editable:
Server Password

Environment Variable: SERVER_PASSWORD
Default Value:
User Viewable:
User Editable:
Install Script
cd /mnt/server || exit 1

echo "Downloading Trackmania Server."
wget http://files.v04.maniaplanet.com/server/TrackmaniaServer_Latest.zip -O TrackmaniaServer.zip

echo "Extracting Trackmania Server."
unzip -o TrackmaniaServer.zip
rm TrackmaniaServer.zip

echo "Setting file permissions."
chmod 755 TrackmaniaServer

echo "Setting up config."
if [ ! -f UserData/Config/dedicated_cfg.txt ] ; then
    echo "Creating default config file."
    cp UserData/Config/dedicated_cfg.default.txt UserData/Config/dedicated_cfg.txt
fi

if [ ! -f MatchSettings/example.txt ] ; then
    echo "Creating default match settings file"
    mkdir -p MatchSettings
    cp UserData/Maps/MatchSettings/example.txt MatchSettings/example.txt
fi
Installation Imageghcr.io/ptero-eggs/installers:debianInstallation Entrypointbash