This guide covers setting up and configuring your Trackmania dedicated server on Legion Hosting. Trackmania is a competitive racing game with easy-to-learn gameplay, track customization, and regular seasons and live events. For admin tools and server commands, see our Trackmania Admin Commands guide.
What is Trackmania?
Trackmania combines easy-to-learn, hard-to-master gameplay with a wide diversity of tracks and skin customization, in addition to regular seasons and live events. The dedicated server allows you to host custom tracks and competitions for your community.
Prerequisites
Before starting your Trackmania server, you need a Dedicated Server Login from Trackmania:
- Go to trackmania.com/player/dedicated-servers
- Log in with your Trackmania/Ubisoft account
- Create a dedicated server login and password
- Note down the login and password — you will need these for your startup variables
First Start
- Log in to GPanel at gpanel.legionhosting.net
- Select your Trackmania server from the server list
- Go to the Startup tab and enter your Master Server Login and Password
- Set your server name and other preferences
- Click Start to launch the server
- The server is online when the console displays
...Load succeeds
GPanel Startup Variables
| Variable | Description | Default |
|---|---|---|
MASTERSERVER_LOGIN |
Dedicated server login from Trackmania website. Required. | (empty) |
MASTERSERVER_PASSWORD |
Dedicated server password from Trackmania website. Required. | (empty) |
SERVER_NAME |
Server name shown to players in the browser | A Pterodactyl Hosted Server |
SERVER_COMMENT |
Server description/comment visible to players | A Pterodactyl Hosted Server |
SERVER_PASSWORD |
Password to join the server (leave empty for public) | (empty) |
GAME_CONFIG |
Path to the match settings file | MatchSettings\example.txt |
Configuration Files
Trackmania uses XML-based configuration:
UserData/Config/dedicated_cfg.txt <-- Main server config (XML)
MatchSettings/example.txt <-- Match settings and track list
The dedicated_cfg.txt file is automatically updated with your GPanel startup variables. For advanced settings, edit it directly via File Manager or SFTP.
Match Settings
The match settings file defines which tracks are loaded and the game mode. The default file is at MatchSettings/example.txt. You can create custom match settings files and point to them via the GAME_CONFIG variable.
Adding Custom Maps
- Download or create track files (
.Map.Gbx) - Upload them to
UserData/Maps/via SFTP - Add the track filenames to your match settings file
- Restart the server
How to Connect
- Launch Trackmania
- Go to Play → Live → Server Browser
- Search for your server by name
- Click to join
Related Articles
Need Help?
If you are experiencing issues with your Trackmania server, our support team is here to help. Submit a support ticket and we will get back to you as soon as possible.