With the right configuration, you can turn your Wreckfest 2 game server into exactly the server you have in mind: your own name, a short description for the server list, a password, track and game mode, plus rules for laps, time limit, and AI drivers. In this guide, we'll show you which settings to configure as startup parameters in ZapX and what your server does with them when it starts.
You configure everything for your Wreckfest 2 server using startup parameters. In ZapX, you'll find them in the Configuration tab under Startup parameters.
The settings are written to two files in the save folder: server_config.scnf (name, description, password, port) and the event list zapx_loop.becl (track, game mode, race rules, AI drivers). Every time your server starts, it writes the values from your startup parameters to these files. It creates zapx_loop.becl from scratch each time.
Any changes you make directly to the startup parameter values in save/server_config.scnf or save/zapx_loop.becl will be lost the next time the server starts, because your server rewrites these files on every startup. Always change your settings in the startup parameters instead. Other entries in server_config.scnf, such as ban durations, are preserved.
After you save, ZapX will prompt you to restart the server. Your changes will only take effect after the restart. The console for your Wreckfest 2 server is read-only: you can see the server output there, but you can't enter commands. You can only change settings using the startup parameters.
| Startup parameter | Meaning |
|---|---|
| Server name | Your server's name in the in-game server list. Default: ZAP-Hosting Wreckfest 2 Server |
| Server description | A short description of your server in the server list. Default: Wreck them all |
| Server password | Password required to join. Leave blank for a public server with no password. |
| Max. players | The number of participants (players and AI drivers) who can compete in a race at the same time. Default: 24 |
| Track | The internal name of the track your server uses. Default: blank (Wreckfest 2's default rotation) |
| Game mode | The internal name of the game mode your server starts with. Default: bangerrace |
| Laps | The number of laps in each race. Default: 3 |
| Time limit | The maximum length of a match in minutes. Default: 20 |
| Number of bots | The number of AI drivers competing in addition to players. Default: 0 (no AI drivers) |
The Max. players, Laps, Time limit, and Number of bots fields only accept whole numbers, with no units. If you enter anything else, your server will fail to start and show an error in the console.
If you leave Track blank, your server uses Wreckfest 2's default rotation: a selection of changing tracks and game modes with AI drivers, as defined by the game. Game mode, Laps, Time limit, Max. players, and Number of bots only apply when you enter a track. Your server will then run that one event every time.
Enter the track and game mode using their internal names, not their display names, just as Wreckfest 2 expects them in its configuration. Examples of internal names include track07_1 (Scrapyard), track10_2 (Crash Canyon), track01_1 (FinnCross Circuit), track06_2 (Speedway, Demolition Arena), and track13_2_sr (Mora Raceway, Suicide Circuit). Wreckfest 2's default rotation uses bangerrace, demolitionderby, suiciderace, and waypointrace as game modes. If the track you enter doesn't exist, your server will also use the default rotation and display a warning in the console. To return to the default rotation, clear the Track field and restart the server.
- In ZapX, open the Configuration tab, then select Startup parameters.
- Enter the internal name in Track and Game mode, exactly as Wreckfest 2 uses it, for example
track07_1orbangerrace. - Set the length of a race with Laps and the maximum match duration in minutes with Time limit.
- Save and restart your server.
According to the game's Steam page, Wreckfest 2 has racing modes (Banger, Waypoint, Suicide, and Chase) and derby modes (Last Man Standing, Deathmatch, and Demolition Derby).
Want to race with friends only? Set a Server password. Only players who know the password will be able to join your server. See Connect to the server to learn how your friends can join.
According to the game's Steam page, up to 24 cars can compete against each other in Wreckfest 2 multiplayer. Use Max. players to set how many participants can compete in a race. The default is 24.
Use Number of bots to fill out the starting grid with AI drivers. Bots compete in addition to players. Set this to 0 for races with real players only.
Both files are JSON files. Your server writes server details to the net server config section of server_config.scnf, and a reference to the event list to the game server config section. When a track is specified, the relevant part looks like this (if no track is specified, it contains default_loop, the game's default rotation):
{
"net server config": [{
"name": "ZAP-Hosting Wreckfest 2 Server",
"description": "Wreck them all",
"password": "",
"game port": 27015
}],
"game server config": [{
"event loop name": "zapx_loop"
}]
}
The event list zapx_loop.becl contains the race your server runs. Here, it uses track track07_1 and the other default values:
{
"events": [{
"level": [{
"level id": "track07_1",
"game mode id": "bangerrace"
}],
"rules": [{
"laps": 3,
"time limit": 20,
"max number of participants": 24
}],
"bot count": 0
}]
}
Here's how the files and startup parameters correspond:
| File entry | Startup parameter |
|---|---|
name (server_config.scnf) | Server name |
description (server_config.scnf) | Server description |
password (server_config.scnf) | Server password |
level id (zapx_loop.becl) | Track |
game mode id (zapx_loop.becl) | Game mode |
laps (zapx_loop.becl) | Laps |
time limit (zapx_loop.becl) | Time limit |
max number of participants (zapx_loop.becl) | Max. players |
bot count (zapx_loop.becl) | Number of bots |
Your server sets the port (game port) automatically, so you don't need to worry about it. The example shows 27015; your file will contain the port assigned to your server by ZapX.
The Wreckfest 2 dedicated server is only available for Windows. That's why it runs on your server using Wine, a runtime environment for running Windows programs on Linux. In the Files tab, you'll see two folders:
save: Wreckfest 2 stores your server data here. In addition toserver_config.scnf, this includes saved admin and moderator roles in theserver_privilege.sprvfile.wineprefix: Your server's Wine environment is stored here. You don't need to change anything in this folder. If it's damaged, your server will automatically create it again the next time it starts.
Create a backup before making major changes to files in the save folder. See our backups guide to learn how.
Your Wreckfest 2 server is now set up just the way you want it. To learn how to show players a short message in the server list, see Automated server messages. For instructions on how your friends can join, see Connect to the server. If something isn't working as expected, our Common issues guide can help. If you have any other questions, our support team is available every day! 🙂
