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 does not contain sub-directory for the files of the server, so don’t just unzip it in your home folder.
mkdir tmserver
cd tmserver
unzip ../TrackmaniaServer_Latest.zip
Run the server once.
chmod 777 TrackmaniaServer
./TrackmaniaServer
The server will fail to start - this is normal.
It will however create some directories for you that are necessary.
Server Login
field.Navigate to ~/tmserver/UserData/Config
and create a copy of the dedicated_cfg.default.txt
file called dedicated_cfg.txt
.
cd ~/tmserver/UserData/Config/
cp dedicated_cfg.default.txt dedicated_cfg.txt
Edit the newly created dedicated_cfg.txt
using your text editor of choice, we will use nano
here.
nano dedicated_cfg.txt
Fill in your dedicated server login details, here’s an example of how it should look like.
<masterserver_account>
<login>serverlogin</login>
<password><![CDATA[5up3rSecretP4ssw0rd]]></password>
</masterserver_account>
serverlogin
with the server login you chose earlier.5up3rSecretP4ssw0rd
with the password you received.
Then save and exit the editor - in case of nano
this would be with Ctrl-O followed by Ctrl-X.
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