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 6 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,
cd
into 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-s1
library 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.sh
on 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/directory
with wherever you want the game files to live.
- be sure to replace
- run the
update-brickadia.sh
script. 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
exit
here. - 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/LinuxServer
to drop into the folder with the server config files. - edit
GameUserSettings.ini
to set your server name, password, etc until you are happy with it. - verify in your network port
7777
udp is port forwarded so that others can connect. - once the network is in place, go back to the directory with
BrickadiaServer-Linux-Shipping
in 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 -log
going 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 savename
to have the server reload the save file.