A collection of management scripts and configs for my game servers.
Each game has its own mini-binary for managing the startup, shutdown, backup or update of the respective server.
All games are then launched in tmux sessions. That way you can attach to each server and still have an interactive tty.
This is designed to be used in combination with the selfhosted-gaming guides.
There is a games.service
systemd service, which utilizes the start.sh
and stop.sh
mini-scripts.
That way you can easily start/stop/backup servers on boot/shutdown
Minecraft:
- jre8-openjdk-headless
ut2004:
- lib32-libstdc++5
CSGO:
- lib32-gcc-libs
- steamcmd
Once the server is booted, you have to connect to it once via the actual Satisfactory interface. You can then set a password and create a new world in the in-game interface.
If you want to load a local save on your server, do this:
- Create a new world.
- Make sure the world has been saved at least once, by checking the server's save directory.
- Shut down the server
- Remove the newly created savegame from your server's save folder.
- Copy on of your local autosave files to the server's save folder.
The savegames of the local machine are located in:
/home/nuke/storage/SteamLibrary/steamapps/compatdata/526870/pfx/drive_c/users/steamuser/Local Settings/Application Data/FactoryGame/Saved/SaveGames
The savegames of the server are located in .config/Epic/FactoryGame/Saved/SaveGames/server
.
Server settings are saved in that directory as well in their own format. Hence, it's not possible to have some immutable config for servers
To update Factorio, call factorio update 1.1.37
.