Linux Dedicated Server Guide¶
So you want to use a linux server but dont know where to start? This guide is for you.
(Note for ARM server runners: You cannot currently use Box64 for ARM servers as the latest server version relies on features Box64 does not yet support)
Prereqs (Steam Early Access Edition)¶
You will need:
- a linux X86_64 VM with a recent CPU with 2-4 cores
- at least 2 GB of RAM.
- steamcmd
- a copy of brickadia
- ability to port forward udp port 7777
- a public IP address
Instructions¶
- Log in to your linux VM and install steamcmd
- Note: if you prefer a distro agnostic method, just create a directory to hold steamcmd,
cdinto it, then runcurl -sqL "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz" | tar zxvf -to grab steamcmd. be sure to install the neededlib32gcc-s1library from your package manager.
- Note: if you prefer a distro agnostic method, just create a directory to hold steamcmd,
- Create a new folder somewhere to house the game files.
- Create a file called
update-brickadia.sh, then runchmod +x update-brickadia.shon it to make it executable. - Open the file with your favorite editor and put the following:
#!/usr/bin/env bash /path/to/steamcmd/steamcmd.sh +force_install_dir /your/install/directory +login anonymous +app_update 3017590- Be sure to replace
/path/to/steamcmd/with whatever path the steamcommand shell script lives at. - Also be sure to replace
/your/install/directorywith wherever you want the game files to live.
- Be sure to replace
- Run the
update-brickadia.shscript. It should install the brickadia server to the path you set above. You can re-use this script in the future to update the server when needed. - Once the download finishes, you'll be dropped to the steamcmd shell, you can just type
exithere. - Inside of the install directory you set earlier, you will now have files. One of which is the folder
Brickadia - Go inside
Brickadia/Binaries/Linux, and you should see the fileBrickadiaServer-Linux-Shipping, this will be what we will use to launch the server in a bit. - Go to https://brickadia.com/account and login, then generate a server hosting token and copy this somewhere.
- Back in the vm in the directory with the server launcher binary mentioned earlier, run the following command:
./BrickadiaServer-Linux-Shipping -log -port=7777 -token=yourTokenHere - This will spin up the server, and after about 2 minutes it should be fully loaded.
- Connect to your dedicated server via manual connection in game. then go to Menu -> Edit Game and set up the server options and save them.
- In the linux environment, hit ctrl+c to stop the server.
- Run
cd ~/.config/Epic/Brickadia/Saved/Config/LinuxServerto drop into the folder with the server config files. - Edit
GameUserSettings.inito set your server name, password, etc until you are happy with it. - Verify in your network port
7777udp is port forwarded so that others can connect. - Once the network is in place, go back to the directory with
BrickadiaServer-Linux-Shippingin it. - Since we have already registered the token to the game server, we can now just run the server with
./BrickadiaServer-Linux-Shipping -port=7777 -loggoing forward. Do this now. - Open up Brickadia and connect to your server by hitting Join Game -> Connect Manually.
- You should now be connected, and the server is up!
Post-Setup Configuration Tips¶
Enable Auto Save¶
- In your server console, type
BR.World.SaveAs savename(where savename is what you want the name of your save to be). This will create your save file for the server.- Note: If you do not run this command, the Auto Save won't function.
- If you already created a save file for your server, you can skip this step.
- Connect to your server in game, press the escape key to open the menu -> edit game
- Click the advanced settings toggle at the top left of the menu
- Scroll to the bottom and enable Auto Save. You can also configure save interval and announcing of the saves.
- Whenever you restart your server, you will need to run
BR.World.Load savenameto have the server reload the save file.