Your server's game mode is set in its match settings file. It plays Time Attack by default.
Changing the Game Mode
- 1Log in to Bropanel and
Stopyour server. - 2In the sidebar, go to
Filesand openUserData/Maps/MatchSettings. - 3Open your match settings file,
example.txtunless you changedMatch Settings FileinSettings. - 4Replace the mode in
<script_name>with one from the table below, for example<script_name>Trackmania/TM_Rounds_Online</script_name>. - 5Save the file and start your server.
| Mode | <script_name> | How it plays |
|---|---|---|
| Time Attack | Trackmania/TM_TimeAttack_Online | Drive as many runs as you like until the time runs out. The best time wins |
| Rounds | Trackmania/TM_Rounds_Online | Everyone races each round and scores points by finishing position. The first player to the points limit wins |
| Cup | Trackmania/TM_Cup_Online | Like Rounds, but reaching the points limit makes you a finalist, and a finalist has to win a race to win the cup |
| Laps | Trackmania/TM_Laps_Online | One race per track on multilap tracks. The player who passes the most checkpoints wins |
| Teams | Trackmania/TM_Teams_Online | Red against Blue. Players score points for their team by finishing position, and the first team to the points limit wins |
| Knockout | Trackmania/TM_Knockout_Online | Rounds where the last players of each race are knocked out, until one player is left |
Changing the Mode's Limits
Add a <mode_script_settings> block under </gameinfos> in your match settings file, with one line per setting you want to change. For example, 10 minute Time Attack maps:
</gameinfos>
<mode_script_settings>
<setting name="S_TimeLimit" type="integer" value="600"/>
</mode_script_settings>
| Setting | Modes | What it does |
|---|---|---|
S_TimeLimit | Time Attack, Laps | Seconds per track. Time Attack plays 300 by default; 0 means no limit |
S_PointsLimit | Rounds, Cup, Teams | Points needed to win. Defaults: Rounds 50, Cup 100, Teams 5 |
S_RoundsPerMap | Rounds, Cup, Teams, Knockout | Rounds on each track before the next one. Cup plays 5 by default |
S_FinishTimeout | Rounds, Cup, Teams, Laps, Knockout | Seconds the others get to finish after the first player. -1 sets it from the track |
S_NbOfWinners | Cup | Players who have to win before the cup ends, 3 by default |
S_WarmUpNb | All | Warm up rounds before each track, 0 by default |
S_ForceLapsNb | All | Laps per race on multilap tracks. -1 uses the track's own number |
S_ChatTime | All | Seconds between tracks for the podium and chat |
Settings that are on or off use type="boolean" with value="True" or value="False".
Note
Royal and Stunt tracks don't work in these modes. Use tracks built for racing.
