Server Quick-Start Guide

So soldier, you want to go out exploring on your adventures? First, listen here to your commander and get a few tips on how to set up your own server in this Quick-Start Guide.

This guide makes a few assumptions:

  • You know what IP addresses and port numbers are;
  • You know how to work with your router or ISP to do port-forwarding; or that you are working on a remote server which automatically does port-forwarding;
  • You understand what “Go to ‘steamapps/common/Battle Grounds III’ and open LaunchServer.bat for editing” means;
  • You are working on a Windows machine.

Get the Server Software

The server software is included with every download of BG3 through Steam. The server software is lightweight and requires much of the rest of BG3 to run, so it makes sense to include them together.

To download BG3 (and the server software) without having to download the Steam client, download Steam’s command-line tool, SteamCMD.

After you run SteamCMD and wait for it to update itself, download and install BG3 by running the command:

app_update 1057700

Where 1057700 is BG3’s AppID. Note: in some cases, in may be necessary to first use the “login” command to log in to an account which has already downloaded BG3 through a Steam client.

The game may take serveral minutes to an hour to download. Relative to SteamCMD, BG3 should now be downloaded in "steamapps/common/Battle Grounds III". Go into that folder.

Change the Server Name

Giving your server its own name helps make it identifiable to others. Open "Battle Grounds III/bg3/cfg/server.cfg" in a text editor such as notepad and edit the hostname variable in order to give your server its own name. Do not remove the quotes.

Add Users as Server Admins

Battle Grounds III does not support the SourceMod plugin, but it does have its own system for allowing specific users to remotely use commands on the server. Performing this step will let you run commands while you’re playing the game.

    1. For each user who wishes to be an admin, acquire their SteamID. Visit steamid.co and find the SteamID of a user by entering the URL to their Steam profile. You want the SteamID that looks like STEAM_1:X:XXXXXX
    2. WARNING! MOST OTHER “FIND YOUR STEAMID” SERVICES ARE WRONGThey ignore the public documentation. Other service’s results will (ignoring cases of special-use SteamIDs) erroneously output the SteamID as STEAM_0:X:XXXXXX instead of the correct STEAM_1:X:XXXXXX.
    3. Open "Battle Grounds III/bg3/cfg/permissions.res" for editing. Where it says “List SteamIDs here, each followed by a 1”, do that. Any line that begins with // is ignored. Just enter the SteamIDs each followed by a 1.
    4. It’s a good idea to label each SteamID with the name of user it belongs to. In the end, it should look something like this:
      permission_example

Any player who has their SteamID there, followed by a 1, will have admin powers.
NOTE: The game server must restart for changes to this file to take effect.

To learn more about what admin powers are available and how to use them, look at this page.

Edit Your Launch Script

It’s almost time to run your server! Open "Battle Grounds III/LaunchServer.bat" for editing. The part you need to edit is where you see +ip XXX.XXX.XXX.XXX. Replace that placeholder IP address with the IP address of your server. You may also wish to replace value of maxplayers in order to change how many players can connect to your server.

Run Your Server

Run your server by running LaunchServerRecovering.bat. This little script simply runs LaunchServer.bat and ensures that if your server crashes, the server will start back up again. This prevents you from having to re-run the server manually.

Congratulations, your server is running! Ensure that you’ve port-forwarded with your router, ISP, and/or hosting service so that other players are able to connect. Double-check that your server appears in the game’s server browser (and it’s not only in the LAN section) and that you are able to connect. Double-check that you have your admin roles set up correctly by running some commands. For example, connect to your server and try typing !clip @me into the game chat.

Adding Bots

BG3 has a new, custom bot AI. Bots are useful for filling up servers and giving players a chance to play a big game when few others are playing.

The easiest way to add bots is to run the command bot_minplayers_mode 3 in the server console, or (assuming you’re an admin) !rc bot_minplayers_mode 3 in the game chat. This command turns on the bot system and ensures that bots will be added in appropriate numbers to the maps that support them.

If you wish to avoid typing that command each time, you can put the bot_minplayers_mode 3 command into your server.cfg from before. To remove bots, run the bot_kick_all command.

 

That’s all folks! If you run into any issues, do not hesitate to submit a bug report or otherwise email community@battlegrounds3.com .

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at WordPress.com.

Up ↑

%d bloggers like this: