With the right configuration, you can turn your The Bus server into exactly the server you have in mind: your own name, a password, your preferred map, the right operating plan, and mods from the Steam Workshop. In this guide, we'll show you which settings are available, where to find them in ZapX, and what you can adjust directly in the configuration file.
Your The Bus server reads its settings from the Settings/ServerSettings.cfg file when it starts. The file is written in JSON format. You can find it in the Files tab, in the Settings folder. The game creates it automatically the first time it starts.
However, you don't have to change the four most important values manually: set the Server name, Server password, Admin password, and Max. players in ZapX under Startup parameters in the Configuration tab. Each time your server starts, it writes these four values to ServerSettings.cfg. All other entries in the file, such as the starting map, operating plan, or time, are left unchanged. Edit those directly in the file.
Always change the server name, passwords, and player count in the Startup Parameters, not in ServerSettings.cfg. If you change these values in the file, they will be overwritten with the values from the startup parameters the next time the server starts.
After you save the startup parameters, ZapX will offer to restart the server. Changes to ServerSettings.cfg also take effect only after a restart, because the server reads the file when it starts.
| Startup parameter | Meaning |
|---|---|
| Server name | Your server's name in the server list. Default: ZapX The Bus Server |
| Server password | Password required to join. Leave blank for an open server. |
| Admin password | Password for the admin menu, which players can open from the pause menu. Anyone who opens the menu with this password gets admin permissions on your server. |
| Max. players | The number of players who can drive on your server at the same time. Default: 10 |
When you set up your server, ZapX automatically generates a random admin password. You can replace it with your own password in the startup parameters at any time.
Anyone with the admin password can manage the map, operating plan, and players on your server. Only share it with people you trust.
Enter any settings that aren't available as startup parameters directly in ServerSettings.cfg. These are the most important entries:
| Entry | Meaning |
|---|---|
description (in the serverDescription block) | Description players see for your server. Default: blank |
listServerAsPublic | true displays your server in the public server list. Default: false |
startMap | Map your server loads at startup: Berlin (default) or Hamburg |
operatingPlanType | Source of the operating plan: Standard (default), Custom, or Workshop |
operatingPlan | Name of the operating plan. Default: Standard |
useRealTime | true starts the game with the current real-world date and time. Default: false |
dateTime | In-game date and time at startup, in the format YYYY.MM.DD-HH.MM.SS. Default: 2023.07.01-08.00.00 |
allowFastTravel | true allows players to fast travel on the map. Default: true |
showJoinLeaveMessages | true displays a chat message when a player joins or leaves the server. Default: true |
A snippet from the file looks like this:
{
"serverDescription": {
"description": "Willkommen auf unserem Busserver!",
"externalLinks": []
},
"dateTime": "2023.07.01-08.00.00",
"useRealTime": false,
"startMap": "Berlin",
"operatingPlanType": "Standard",
"operatingPlan": "Standard",
"listServerAsPublic": true,
"allowFastTravel": true,
"showJoinLeaveMessages": true
}
The file contains additional entries, such as serverGuid, weatherSettingsType, vehicleFleet, dlcSettings, chatColors, and bannedPlayerList. Leave these entries unchanged. The game manages them automatically, including the ban list, and also saves any changes you make in the admin menu there.
Make sure your edits are valid JSON: put text in quotation marks, add a comma between entries, and don't add a comma after the last entry in a block. If the file is no longer valid JSON, your server will save a copy with the suffix .invalid- followed by a number the next time it starts, then create a new file. The new file will contain only the values from the startup parameters; the map, operating plan, and ban list will revert to their default values. You can find your old settings in the copy in the Settings folder.
Use startMap to choose which map your server starts on:
Berlinis the default map.Hamburgis the map from the Hamburg DLC.
Enter the name exactly as shown here, paying attention to capitalization. Save the file and restart your server.
The operating plan determines which routes, schedules, and vehicle schedules are used on your server. Use operatingPlanType to choose the source:
| Value | Meaning |
|---|---|
Standard | The server uses the map's built-in operating plan. |
Custom | The server loads a custom operating plan. |
Workshop | The server loads an operating plan from the Steam Workshop. |
Enter the name of the operating plan in operatingPlan. If the selected map doesn't have a plan with that name, your server automatically uses the map's own operating plan. On Hamburg, this is the Hochbahn plan.
If useRealTime is set to true, your server starts with the current real-world date and time. The value in dateTime is then ignored. If you'd rather always start at a fixed time, set useRealTime to false and enter the time in dateTime, for example, 2023.07.01-08.00.00 for July 1, 2023, at 8:00 AM.
In addition to ServerSettings.cfg, your server creates its own profile under Saved/Profiles. Its Settings/Settings.cfg file contains game settings such as traffic density, pedestrian and passenger density, event frequency, the autosave interval, bus AI, and live events.
Most of the other entries in this file are options for players on their own computers, such as graphics, audio, or controls. They have no effect on a server. That's why the Configuration tab in ZapX only shows the profile settings that your server actually uses.
Your server resets the map and date in the server profile every time it starts. Always set the starting map and time in ServerSettings.cfg.
Install The Bus mods from the Steam Workshop using the Workshop tab:
- Open the Workshop tab.
- Under Workshop Mods, enter the item IDs or links to the Workshop pages. The item ID is the number in the Workshop page address. Separate multiple IDs with a comma.
- Save the list and restart your server.
The next time it starts, your server will download the mods and place each one in its own subfolder named with its ID in the Mods folder. Large mods may add a few minutes to startup time. You can add up to 40 individual items; collections aren't supported. Each item must be public and belong to The Bus.
If you remove an item from the list, your server will delete it from the Mods folder the next time it starts. Mods you've uploaded yourself as individual folders to Mods using the Files tab will remain there.
It's best to add new mods one at a time and restart your server after each one. That way, if a mod causes problems, you'll know which one is responsible.
Your The Bus server is now configured just the way you want it. For instructions on how to connect to your server, see Connect to your server. To learn about all the areas of your server in ZapX, see the Dashboard overview. If something isn't working properly, our guide to Common issues can help. If you have any other questions, our support team is available every day! 🙂
