-
Notifications
You must be signed in to change notification settings - Fork 5
Post installation
The script has multiple configuration functions to enable integrations. The config_script is not optional and must be configured.
These functions can be re-executed to change the configuration or you can edit the configuration files manually. The configuration files are located in the following folder:
/srv/sesrv/config
For details and manual instructions on each of these functions check the wiki.
| Command | Description | Wiki page |
|---|---|---|
| Configuration and installation: | ||
config_script |
Configures the script, enables the systemd services and installs the wine prefix. | Wiki: Script configuration |
config_steam |
Configures steamcmd, automatic updates and installs the game server files. | Wiki: Steam configuration |
config_discord |
Configures discord integration. | Wiki: Discord configuration |
config_email |
Configures email integration. Due to postfix configuration files being in /etc this has to be executed as root. | Wiki: Email configuration |
config_tmpfs |
Configures tmpfs/ramdisk. Due to it adding a line to /etc/fstab this has to be executed as root. | Wiki: Tmpfs configuration |
The easiest way to do this is to just generate them locally and copy them over to the server, this can be done by using the dedicated server tool on your windows box, the tool is located in
[Steam install directory]\steamapps\common\SpaceEngineers\Tools\DedicatedServer\SpaceEngineersDedicated.exe
Select the Default profile, set up the world, save the config and start to generate the world. After that shutdown the server.
The files will be stored in
C:\Users\sesrv\AppData\Roaming\SpaceEngineersDedicated\Default\
Copy the files with the Saves folder to the following directory on your Linux server. The script now has multi instance support (defaut instance is 01)
/srv/sesrv/server/drive_c/Games/SpaceEngineersDedicated_Save/01
You'll have to change the <LoadWorld> tag in SpaceEngineers-Dedicated.cfg so it point to the correct directory.
If the Save folder is located in
/sesrv/sesrv/server/drive_c/Games/SpaceEngineersDedicated_Save/01/Saves/Star System
the <LoadWorld> tag must look like this:
<LoadWorld>C:\Games\SpaceEngineersDedicated_Save\01\Saves\Star System</LoadWorld>
You still need to use windows paths and backshlashes in the SpaceEngineers-Dedicated.cfg file.
You have to edit each server instance's configuration the same way.