Download the latest dedicated server zip:
cd ~
wget http://files.v04.maniaplanet.com/server/TrackmaniaServer_Latest.zip
Unzip the file at a directory of your choice, note that the zip has no subfolder for dedicated.
mkdir tmserver
cd tmserver
unzip ../TrackmaniaServer_Latest.zip
Run it once
chmod 777 TrackmaniaServer
./TrackmaniaServer
It fails to start and this is totally normal.
This is to create some directorys for you.
Server Login
and click send
button.Next find /UserData/Config/dedicated_cfg.default.txt
and create a copy of it called dedicated_cfg.txt
cd /UserData/Config/
cp dedicated_cfg.default.txt dedicated_cfg.txt
then we need to edit the file to add dedicated account.
nano dedicated_cfg.txt
fill in your dedicated server account details, here’s an example how it should look
<masterserver_account>
<login>serverlogin</login>
<password><![CDATA[foobar]]></password>
</masterserver_account>
serverlogin
with your serverlogin from trackmania.com
foobar
with your password from trackmania.com
Then save and exit the editor.
cd ~/tmserver
./TrackmaniaServer /dedicated_cfg=dedicated_cfg.txt /game_settings=MatchSettings/example.txt
And you should have a running dedicated server setup.
There’s 3 ways to access your server.
Play > Local > Local network
URL: uplay://launch/5595/0/
#join=<uid>@Trackmania
Main menu > Settings > System > Join Link
and press enter⚙️ Administration
section at topClub Activities
Room > Use Dedicated server
Create