How to Add Mods to Your CryoFall Server ​
Mods in CryoFall are individual .mpk files. You upload them into the /Data/Mods/ folder and then activate them in the file /Data/ModsConfig.xml. Without an entry in that file an uploaded mod is not loaded.
Caution
Stop your server before adding, updating or removing mods. Also create a backup beforehand – mods can change your world permanently.
No Steam Workshop
There is no Workshop integration for CryoFall servers. You always upload the .mpk file of every mod manually.
Get the mod ​
Choose a mod
You can find mods in the official CryoFall forum or on the websites and Discord servers of the respective mod authors.Check the tag
Mod authors state where their mod has to be installed:Tag Meaning [Server]Runs on the server only. Your players do not have to install anything. [Client]Pure player-side mod. It has no effect on the server. [Client+Server]Has to be installed on the server and on every player's PC. Note the mod ID
Write down the mod ID given by the author – often including a version number, for exampleduality_1.2.1. That exact ID is what you enter intoModsConfig.xmllater on.Check the version
Make sure the mod matches the game version of your server. Mods built for another version can prevent the server from starting.
Upload the mod ​
Stop the server
Stop your server via the dashboard.Connect via SFTP
Connect to your server via SFTP.Open the mods folder
Go to the following directory:/Data/Mods/Note
If the folder does not exist yet, create it inside
/Data/. The name has to be exactlyMods– your server runs on Linux and is case-sensitive.Upload the
.mpkfile
Upload the.mpkfile directly into this folder. Do not create any subfolders.
Activate the mod ​
Open ModsConfig.xml
Open the following file:/Data/ModsConfig.xmlAdd the mod
Add one line per mod containing its mod ID:xml<?xml version="1.0" encoding="utf-8" standalone="yes"?> <mods> <mod>core_1.0.0</mod> <mod>cnei</mod> </mods>Important
Do not delete existing entries. The core entry belongs to the game itself and has to stay. Simply add new mods below it.
Start the server
Save the file and start your server via the dashboard.Check the console
On startup your server reports the loaded mods in the console. If your mod does not show up there, the mod ID usually does not match the file name in theModsfolder.
Mods on your players' side ​
Important
Your server does not distribute mods to players automatically. For a mod tagged [Client+Server] every player has to install the same .mpk file in their own game as well – the mod author describes how in their forum post. Pure [Server] mods require no installation on the player side.
Do not block client mods
In the file /Data/SettingsServer.xml the value no_client_mods controls whether players may join with their own mods. On a modded server it has to be 0:
<no_client_mods>0</no_client_mods>If it is set to 1, all mods are disabled on the player side.
Remove mods ​
Stop the server
Stop your server via the dashboard.Delete the entry
Remove the line of that mod from the file/Data/ModsConfig.xml.Delete the file
Delete the matching.mpkfile from the/Data/Mods/folder.Start the server
Start your server again.
Caution
If you remove a mod that added items, buildings or technologies to the world, its content disappears from your world. When in doubt restore a backup instead of simply deleting the mod.
Note
After a game update mods can become incompatible and prevent the server from starting. In that case update your mods or temporarily remove them from ModsConfig.xml and the /Data/Mods/ folder.