Trackmania keeps its server configuration in an XML file. It holds three things that matter: the master server account, the admin passwords, and the server options players see.
Open the file
- Stop the server.
- In the panel open Files and go to:
UserData/Config/dedicated_cfg.txt
It is XML despite the .txt extension, so every tag has to be closed.
The dedicated server account
A Trackmania server needs its own account to log in to the master server and appear publicly.
<masterserver_account>
<login>yourserverlogin</login>
<password>yourserverpassword</password>
<validation_key>ABCDE</validation_key>
</masterserver_account>
Create the account on the official Trackmania server account page, then copy the login, password and validation key here. Without a valid account the server runs but is not listed.
Authorization levels
<authorization_levels>
<level>
<name>SuperAdmin</name>
<password>a-long-password-here</password>
</level>
<level>
<name>Admin</name>
<password>another-password</password>
</level>
<level>
<name>User</name>
<password></password>
</level>
</authorization_levels>
SuperAdmin has every command. Admin is the level for staff. Change all of them from the shipped defaults before the server goes public, because the defaults are widely known.
Server options
<server_options>
<name>My PlayNHost Trackmania Server</name>
<comment>Ranked rounds, all welcome.</comment>
<max_players>17</max_players>
<password></password>
<max_spectators>8</max_spectators>
<password_spectator></password_spectator>
<callvote_timeout>60000</callvote_timeout>
<callvote_ratio>0.5</callvote_ratio>
<keep_player_slots>false</keep_player_slots>
</server_options>
passwordis what a player needs to race.password_spectatoris separate and controls watching.callvote_ratioof-1disables voting entirely.
Ports
The system_config section holds the server port and the XML-RPC port. Both must match the values allocated to your server, shown on the server overview. Do not pick arbitrary numbers.
Slots
Your plan's slot count is applied through the MAX_PLAYERS variable on your server's Startup Settings page, reachable from the server overview. Note that max_spectators counts separately in the config but against the same hosting total. Upgrade the plan in the billing area to run more players.
Apply and verify
Save and start the server. Read the panel console, which reports the master server login and any XML error in the config.





