Machines
The three ways to host (bdr's machines, your dedicated server, results only); add a machine that bdr starts races on, run the host agent on it, and fix a machine that is not reporting or has no room.
There are three ways to host your community's races. The video and the Add a machine card on your Machines tab show them side by side.
| Way | What it means | |
|---|---|---|
| 1 | Rent a Game Server from BD.R (the easiest) | Your ACC server on our dedicated machines in Germany: up to 25 slots, low ping across Europe, nothing to set up, and every platform feature on top. 13 € a month per game server: Rent a game server, pay, then pick bdr's machines under Where it runs when you open a lobby. Each one is one always-open lobby; rent another for one more. |
| 2 | Your own hardware, run by BD.R | The same capabilities on a Linux dedicated server you manage, with the host agent: bdr starts a game server on it for each race or lobby. Needs your community's Own machines boost, on its Boosts page. Most of this page is about this way. |
| 3 | Your own ACC, results to BD.R | You start ACC yourself; a small agent sends bdr each session's results. Those races are unranked. See Race servers. |
A machine is a computer your community controls. On a Linux machine with the host agent, bdr starts the races: one Docker container on it, the host agent, starts an ACC server for each split or lobby when it is due and stops it afterwards. This page explains how such machines work and what to do when one isn't working.
How it works
- You add the machine on bdr and get a host key for it.
- You install the ACC dedicated server on the machine once and start the host agent with that key.
- The agent contacts bdr every 30 seconds. bdr never connects to the machine, so the agent needs no inbound ports for the platform.
- When a race is due, the agent starts one container per split, each on its own game port. When the race is over, it stops them.
Add a machine
- On your community's Machines tab, under Add a machine, select Add my dedicated server under Your own hardware, run by BD.R. The Set up a machine card's first step leads there too. It opens the machines page with your community's form.
- Fill in the form:
- Name: for example
rack-one. - Region: where the machine is. Races are only placed on machines in the series' region.
- Address: the public IP or host name of the machine. You can set it later.
- Cores, Memory (MB): optional, for your own overview.
- Name: for example
- Select Register.
bdr shows the host key once, together with the setup steps.
Warning
Copy the host key before you select Done. bdr only stores a hash of it, so it can't show it again. If you lose it, select Rotate key on the machine's page to get a new one.
Beside the key, a link such as Back to Friday GT3's machines returns you to your community's Machines tab. Once the machine reports in, host your first race from the Races tab: pick it under Where it runs. See Community setup.
You must be an owner or admin of the community to add a machine. A machine only ever runs its own community's races.
The official community races on bdr's machines and has none of its own. A platform admin sees Add to bdr's machines on its Machines tab instead, which adds a machine to bdr's fleet. See Platform.
Moving from the older setup
If your community still has a server whose agent starts ACC itself (the older setup), add a machine with the host agent as above and pick it under Where it runs. Then switch the old server to results only with Edit on the Machines tab, or remove it. See Race servers.
Set up the machine
Follow the setup guide on the machine's page. It has every command filled in for your machine. In short:
- Prepare a Linux machine with Docker Engine and the compose plugin.
- Create
/srv/bdr/accand/srv/bdr/slotsand give them to an ordinary user, not root. - Install the ACC dedicated server into
/srv/bdr/accwith SteamCMD, or copy theserverfolder over from a Windows PC. You need a Steam account that owns Assetto Corsa Competizione. The dedicated server can't be downloaded anonymously. - Save the compose file from the guide as
/srv/bdr/docker-compose.ymland start it. - Open TCP and UDP ports 9601 to 9620 in the machine's firewall and in your router. Race servers always start at 9601 and count up, one port for each server running at the same time, so 20 ports cover 20 servers at once. Open more if the machine runs more.
- Set Address drivers connect to and select Save.
After an ACC update, run the install command again (or copy the folder again). All race servers on the machine share this one install.
Status and heartbeat
The agent sends a heartbeat every 30 seconds. The machine's badge shows:
| Badge | Meaning |
|---|---|
| Online | The last heartbeat arrived recently. |
| Stale | Marked online, but no heartbeat for over 2 minutes. |
| Offline | No heartbeat for over 2 minutes, or never. |
The machine's page also shows:
- Last heartbeat, with the agent version.
- Containers running, with the Docker version and the image new race servers start from.
- Needs attention: problems worth acting on, such as the agent not reporting while a race is due, a container that won't start, or a clock more than 5 seconds off.
- Containers: the race servers the agent is running, with the version of the agent inside each. An empty list between races is normal. agent silent means a container is up but the agent inside it has stopped reporting. update pending means a newer image is available; see Updates below.
- Next four hours: races that have reserved room on this machine.
- Resource usage: CPU and memory over the last 6 hours. It fills in about two minutes after the agent starts.
Once the agent is reporting, the setup guide moves into Setup, address and ports at the bottom of the page.
Updates
When a new race server image reaches the machine, new race servers start from it at once. A server that is already running only moves to it once nobody has been on it for 15 minutes, so an update never interrupts drivers. A server finishing a race is never moved.
A new image has to run for 5 minutes before the agent trusts it. If its servers stop 3 times before that, the agent holds the image back. It goes back to the last image that worked, and the machine's page lists the image under Held-back images, with the reason. Once you have fixed the cause, select Try again. The agent then tries the image again from scratch.
Note
A held-back image usually points at the machine, not the image, for example a missing or broken ACC install. Check a container's log (see below) before you try again.
Which machine a race goes to
Each race books room when you generate it, for the largest field it could have: Most splits × Split size. With the defaults that is 2 × 30 = 60 drivers. The booking runs from 5 minutes before the start until the end of the race plus 30 minutes. Races that overlap in time add up.
A race server stops earlier when nobody is left on it: once the race session has started and the server has been empty for 5 minutes, bdr gives the split up and the machine stops its server. ACC writes no result for a race everyone left, so the split ends without one. If nobody came at all, it counts as a no-show.
bdr puts the race on the machine that has the least booked at that time. Each race server counts as 5 drivers on top of its own, because a server costs its machine something even when few drive on it. There is no capacity to set: nobody knows yet how many drivers a machine really holds, so bdr spreads the races over your machines instead. For now this works best with machines of about the same size: a big machine gets no more races than a small one. If yours differ a lot, contact us on Discord. Cores and memory, if you enter them, and the system metrics the agent sends will let bdr schedule by size later.
bdr looks for room where Where it runs says, in the series' region: any of your machines, one of them, or bdr's machines. bdr's machines only take the official community's races, and those of a community bdr gave a grant. A grant is shown on your community's Races tab, under bdr's machines. With a grant, Any of my machines stays on your machines; choose bdr's machines to use the grant. A machine only needs to be added to take bookings. It must be reporting by race time.
Open servers
An open server is an ACC server anyone can join, for open practice. Open one from your community's Races tab: select Open server under Host a race. Manage on the tab's Open servers card brings you back to the running ones. Pick a track, the cars, the sessions and how long it stays open. ACC loops the sessions for as long as the server is open. There is no entry list, and nothing on an open server counts for standings. Its results are kept, but they count for ratings only if the platform has made the server ranked. Only servers on the platform's own machines can be ranked; see Ratings.
- Where it runs picks the machines: Any of my machines puts it on the one with the least booked, Only one machine puts it there, and bdr's machines needs a grant (or the official community), as many at a time as the grant says.
- It books room for all its cars for the whole time it is open. A 30-car server open for 30 days counts as 30 drivers on its machine for those 30 days, plus 5 for the server.
- There is no limit on how many a community opens, only the room on its machines.
- ACC itself limits how many drivers join a public server, by what it requires: 10, one more per track medal and one more per 4 points of SA, 30 at most. A server with no requirements takes 10, SA 60 takes 25, SA 80 takes 30. Asked for more, a public server is saved with room for what ACC lets on, and books only that; the form says the number as you choose. A password lifts the limit. Races on BumpDraft have none, as only their entry list joins.
- The ACC settings come in folds: Joining (whether races lock once they start, track medals, SA, RC, a spectator password), Sessions (grid wait, overtime, formation lap), Conditions (time of day, time multiplier, temperature, clouds, rain, weather randomness), Race rules (mandatory pit stops, tyre change, refuelling, pit window) and Assists. Track medals, SA and RC are ACC's own entry checks; -1 lets anyone in. Leave a setting as it is for the platform's default.
- Drivers find it in the ACC server list under its name: the server's own name in your community's naming template. Its name may hold
{{track}}, and the settings show the full name as you type it. See Server names. Set a password to keep it to your community. - Select Stop to close it early. Its container stops within a minute and the room is free again.
Change a running server
Select Edit on a running server to change its name, track, cars, password, sessions, room, the ACC settings, or to keep it open longer. ACC reads its settings when it starts, so the server takes the change on once nobody has been on it for 5 minutes. Restart now applies it at once: everyone on the server is dropped, and it is back in the server list within a minute or two. Restart after this session waits until the session running now is over and its result is in, tells the drivers in the chat, and then restarts; if a newer server version is waiting on the machine, it is put on in the same go. An empty server restarts at once.
More cars or more days book room on its machine again. If the machine has no room, nothing changes and you are told why. A server keeps its machine and port; a server can stay open for at most 90 days from now. A day or two before a server open for some days ends, your Open lobbies channel on Discord is told, with a link to keep it open longer.
A lobby's page
Each running server has a page of its own, at /lobbies/…: its card, what it is doing now, and its past races. While it runs a session, Live timing there opens its running order, with a stream overlay for casters; see Live timing and the stream overlay. It is the same page drivers see, and the one to go to as staff: the row on the Races tab and Lobby page on the Open servers tab lead there. Owners, admins and stewards also see on it:
- Chat: the server's in-game chat, live, to read and answer. What you send is said in the game in your name: Enter sends, Shift+Enter starts a new line, and each line is said on its own. A line of a driver still on the server has their race number before their name; select the name to open their window, as with the cog. Next to it, who is on the server, by car, Restart session to restart the session everyone is in, Next session to end it and go on to the next, and Clear all penalties to take back every car's pending penalties and disqualifications at once, as Clear penalties does for one car. Each asks once more. Every ACC lobby has them.
- The cog beside a driver opens their window: Message, a Penalty, Kick or Ban. It is that driver's whatever the order does meanwhile; their name and number are at its top. Kick and disqualify ask once more. Esc or a click outside closes it.
- Message: a line to that driver alone, in your name. It shows on their screen for some seconds, as the server's (
SRV), and nobody else sees it; your chat lists it as theirs only. On ACC servers on BumpDraft's machines. - Penalty: +5 s or +15 s on the race time (given twice, they add up), Drive-through, Stop & go of 10, 20 or 30 s, Disqualify, or Clear penalties to take back the ones it has not served yet, and a disqualification; ACC keeps the time added. Tick For causing a collision first, and +5 s, +15 s and the drive-through tell the driver it is for causing a collision. A drive-through has to be served within 3 laps or the car is disqualified; if the race ends first, it becomes 80 s on the race time. ACC gives it at once, and the chat says who gave it. The penalty a car has now shows at the top of its window, where the server reports it (bdr's own machines).
- Ban: asks why, and for how long (a day up to a year, or for good). The driver is banned from your community's races and lobbies by their Steam ID, even without a BumpDraft account; the chat tells them until when, and they are kicked, now and each time they join again. The ban is listed on the Bans card under Stewarding, where it can be lifted.
- On the server: who is on it, on a server of another game.
- Passwords: the password to join and the admin password, to Show or Copy; what the admin password does is under In-game administration.
Settings at the top opens the server under Organise, to change it, restart it or stop it. A server behind a password has the page too, for whoever has its link: it is on no list, search engines are kept off it, and only your staff see its password there. A stopped server has no page; its past races are on its settings page and on your community's page.
Admin password and commands in the game
Each open server has an admin password, and your staff run the server from its chat: kick, ban, penalties, restarts. See In-game administration.
Balance of Performance
An open server can race on a Balance of Performance set: ACC's bop.json, extra ballast and restrictor per track and car. The server gets the entries for its track, and the set's name goes at the end of its server name, so drivers see whose balance they race on. Without a set, it races on ACC's own balance.
Your community's sets are on the BoP tab. Upload a bop.json under a name; a file under an existing name replaces that set, and servers using it switch once nobody is on them. Pick a set when you open a server, or change it on a running one.
- Your sets are your community's alone. No other community sees or uses them.
- You answer for the file. When you upload, you confirm that your community may use it. A balance someone else made comes with their terms. LFM's BoP, for example, is for LFM supporters' own servers, so upload your own copy under your own membership. bdr keeps who uploaded each file.
Track marking
An open server can mark tracks: where the brake boards stand, where the curbs start and end, and the white lines and boards across the track. Add tracks under Track marking on its page, in the order to drive them, or Add the … with races kept for every track bdr already keeps a race of. The server switches to the first track, and you drive it and type what you pass in the chat:
B100,B50, …: the brake board, its metresCS: a curb starts hereCE: the curb ends hereWL: a white line across the track hereBRD: a board over the track here!undo: takes your last mark back!next: restarts the server on the next track; anyone on it is dropped
Each mark keeps where your car was when you sent the line: its place on the track and how far round the lap. The server's recording gives the place, so it only works on an ACC server with bdr's server modifications, and each mark shows its place on the page some 15 seconds later. You see a short confirmation on your screen. Mark a curb from the side of the track it is on: the maps draw it along the edge nearer to where you were. A server without tracks under Track marking treats these lines as ordinary chat.
What a driver costs
The What a driver costs table on the same page lists every minute your pool servers ran, open servers and race splits alike, by how many drivers were on them:
| Column | Meaning |
|---|---|
| CPU avg, CPU p95 | How busy the server's container was, in cores. 1.00 is one whole core. |
| Memory max | The most memory the container used. |
| Late steps / min | How often per minute ACC reported that the server fell behind ("Server was running late ... not enough CPU power"). A few per second are normal and drivers don't notice them. Watch for a rate that climbs steeply as the field gets bigger: that is where the field size needs more room on the machine. |
An open server left running for a few weeks fills in the field sizes that actually turn up. Select Load curve on a server to see its CPU, memory, drivers and late steps over time, minute by minute on one time axis, so you can see whether late steps follow drivers joining or a CPU peak.
The machine's agent records the drivers and late steps together with CPU and memory. If the machine loses its connection to bdr, it keeps these minutes and sends them once it is back, so the table has no gaps.
Troubleshooting
The agent is not reporting
- On the machine, check the agent's log:
docker compose logs -f host-agentin/srv/bdr. HTTP 401: the platform rejected the API keymeans the key is wrong. Rotate the key on the machine's page, put the new key into the compose file, and rundocker compose up -dagain.network errormeans the agent can't reach bdr. Check the platform address in the compose file and that the machine allows outbound HTTPS.
Warning
Rotating the key stops every race server on the machine from authenticating. Don't rotate during a race.
A container won't start
The Containers list shows each container's state, its restarts and, in red, the last error the agent got from Docker. For more detail, read the container's own log on the machine, for example docker logs bdr-1. The containers are named bdr-1, bdr-2 and so on.
The most common cause is a missing ACC install: /srv/bdr/acc/server/accServer.exe must exist. The container's log then says "No accServer.exe in the machine's shared install". Repeat the install step of the setup guide.
Drivers can't join
Every ten minutes bdr pings each race server from the internet, the way the game's server list does: up to three tries, each given three seconds. Each server in the Containers list then shows reachable or not reachable. A server that misses two checks in a row raises an alert on the machine's page and in your Discord's Machines channel, and its lobby's page says drivers can't reach it.
To check right away, for example after changing your router, select Ping from BD.R under the server: it shows each attempt, then the round trip or no answer. The time is measured from BD.R's platform, not from your PC. A successful ping clears the alert at once. On the machine's page, Ping it from a PC gives the same ping as a command for Windows or Linux and Mac. Run it from outside the machine's own network, such as a friend's PC or on your phone's hotspot, because many routers don't loop back to their own address.
A server that is not reachable usually shows in ACC's server list without a ping, and nobody can join it. Its announcement gets out, but the drivers' packets don't get in. Check that TCP and UDP ports 9601 to 9620 reach the machine, both in its firewall and in your router. Each race server running at the same time uses one port number, starting at 9601.
Warning
Docker Desktop (Windows or Mac) is known not to work well for race servers. The machine's page says so when it finds Docker Desktop.
A driver's game sends its ping and its join to your internet address, and your router passes them on to your PC. But Docker Desktop doesn't run the race servers on the PC itself: it runs them inside a small virtual computer of its own, with its own network. The driver's data arrives at your PC and stops there, so the game server never hears it. That is why the servers still show up in ACC's server list (sending out works) while nobody can ping or join them (nothing comes in), even with the ports forwarded.
We don't encourage hosting race servers at home, on a private PC or anywhere in a home network behind a consumer internet connection:
- It is a security risk: the ports forwarded on the router let anyone on the internet reach a PC inside your home network, next to everything else on it.
- A big grid may need more upload than a consumer connection provides.
- The address changes, and the router has to keep forwarding the ports.
Use a dedicated Linux server instead, or rent a game server from us on your community's Machines tab.
If it has to be a Windows PC, use Docker in WSL 2 with mirrored networking. Install Docker Engine inside an Ubuntu distribution on WSL 2 (wsl --install -d Ubuntu, then Docker's guide for Ubuntu), and quit Docker Desktop. In %UserProfile%\.wslconfig, under [wsl2], set networkingMode=mirrored, then run wsl --shutdown and open Ubuntu again. Run the agent there with the same compose file. A community's Windows PC hosts its lobbies this way. If drivers still can't reach it, allowing incoming connections in the Hyper-V firewall for WSL could help, but we have not tested that.
"No machine has room"
If Generate races fails with "no machine in EU has room for 60 drivers then", the region has no machine with enough free capacity at that time. To fix it:
- Lower Most splits or Split size in the series.
- Space the races further apart, or pick another time.
- Add another machine in that region.