Skip to content

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.

Report an issue
updated
variables
6
images
1
author
eggs@purpleflaghosting.com
sha256
8e7d5f6b3506

Readme

This egg ships without a README.

Startup command

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

The parts in blue are filled in by the panel when the server starts, from the variables below.

Docker image

  • ghcr.io/ptero-eggs/yolks:debian

1 contributor

Variables

6 settings

  • Master Server Login

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

    env
    MASTERSERVER_LOGIN
    default
    none
    rules
    string|max:30
    • viewable
    • editable
  • Master Server Password

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

    env
    MASTERSERVER_PASSWORD
    default
    none
    rules
    string|max:30
    • viewable
    • editable
  • Game Config FIle

    Location of the game config file

    env
    GAME_CONFIG
    default
    MatchSettings\example.txt
    rules
    required|string|max:255
    • viewable
    • editable
  • Server Name

    env
    SERVER_NAME
    default
    A Pterodactyl Hosted Server
    rules
    required|string|max:255
    • viewable
    • editable
  • Server Comment

    env
    SERVER_COMMENT
    default
    A Pterodactyl Hosted Server
    rules
    required|string|max:1024
    • viewable
    • editable
  • Server Password

    env
    SERVER_PASSWORD
    default
    none
    rules
    nullable|string|max:30
    • viewable
    • editable
Installation script 23 lines container ghcr.io/ptero-eggs/installers:debian entrypoint bash show
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