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.
Name | Tag |
---|---|
ghcr.io/ptero-eggs/yolks:debian | ghcr.io/ptero-eggs/yolks:debian |
Name | Description | Environment Variable | Default Value | User Viewable | User Editable |
---|---|---|---|---|---|
Master Server Login | Master Server username. Obtained from https://www.trackmania.com/player/dedicated-servers | MASTERSERVER_LOGIN | Yes | Yes | |
Master Server Password | Password for the servers master server account. Obtained from Obtained from https://www.trackmania.com/player/dedicated-servers | MASTERSERVER_PASSWORD | Yes | Yes | |
Game Config FIle | Location of the game config file | GAME_CONFIG | MatchSettings\example.txt | Yes | Yes |
Server Name | SERVER_NAME | A Pterodactyl Hosted Server | Yes | Yes | |
Server Comment | SERVER_COMMENT | A Pterodactyl Hosted Server | Yes | Yes | |
Server Password | SERVER_PASSWORD | Yes | Yes |
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