01
Three families of mods
Since Alpha 17, 7 Days to Die mods load from a Mods folder, without touching the game's original files. Before installing one, check which family it belongs to: that decides what players will have to do.
- XML modlets: they change the game's XML files (items, recipes, zombies, loot, interface) through XPath instructions stored in their
Config subfolder. According to the game's official wiki, these XML changes are pushed from the server to players: a pure XML modlet can be installed on the server alone.
- Mods with assets: item icons, models, textures (Unity bundles, often in a
Resources folder). The same wiki states that these files are not pushed to players: each of them must install the mod on their PC.
- Mods with code: they contain
.dll files. Some only run on the server (admin tools, for example); those that must also run on players' PCs require turning the anti-cheat off, as explained below.
Large mods that transform the whole game (overhauls) often combine all three and come with their own instructions. Each mod's page says whether players must install it. Mods only concern the PC version of the game.
This guide follows the installation from the guide creating a 7 Days to Die server on a Linux VPS: user sdtd, server in /opt/7dtd/serveur, service 7dtd and settings in monserveur.xml.
02
Back up before installing
The official wiki reminds you that a mod can cause glitches and crashes, or even corrupt a save. Stop the server and archive the world, the admin list and your settings, stored by default in ~/.local/share/7DaysToDie of the server user:
sudo systemctl stop 7dtd
sudo -u sdtd tar czf /opt/7dtd/avant-mods-$(date +%F).tar.gz -C /opt/7dtd .local/share/7DaysToDie serveur/monserveur.xml
sudo systemctl start 7dtd
If the Mods folder already exists, add serveur/Mods at the end of the command: you can then return to the old mod list along with the old world. Move the archive off the VPS (scp, rsync). Keep several dated archives: a problem caused by a mod sometimes shows up days later.
03
Install a mod in the Mods folder
The Mods folder does not exist at first: create it at the server root, next to the launch files. Installation is the same on the server as on a player's PC.
sudo systemctl stop 7dtd
sudo -u sdtd mkdir -p /opt/7dtd/serveur/Mods
Unpack the mod on your computer and look for the ModInfo.xml file. Upload the folder that contains it, not its contents, to /opt/7dtd/serveur/Mods. The result should look like this:
Mods/NomDuMod/ModInfo.xml
Mods/NomDuMod/Config/items.xml
One folder too many between Mods and ModInfo.xml, and the mod is not loaded: without that file, the game does not recognise the folder as a mod. Then give the files back to the server user, restart it and look for the [MODS] lines in the log:
sudo chown -R sdtd: /opt/7dtd/serveur/Mods
sudo systemctl start 7dtd
grep -h "\[MODS\]" /opt/7dtd/serveur/7DaysToDieServer_Data/output_log*
Each loaded mod appears on a Loaded Mod line, with its name and version. Add mods one at a time: it is the simplest way to find the one causing trouble. The server's ports do not change with mods (see game server ports).
04
EasyAntiCheat: when to turn it off
The game's anti-cheat, EasyAntiCheat (EAC), is set on the server by the EACEnabled property in your settings file. It is true by default. A mod that must run code (.dll) on players' PCs does not load with EAC on: you then have to set it to false in monserveur.xml:
<property name="EACEnabled" value="false"/>
Then restart the server. This choice has consequences:
- On the player side: everyone launches the game without EasyAntiCheat, which the game's launcher offers, and installs the mod at the same version as the server.
- Cheating: without anti-cheat, nothing stops a player from running a modified client. On a public server, protect access with a password (
ServerPassword) and keep active admins.
- Crossplay: console players cannot install mods, and crossplay requires the anti-cheat to be on. A server without EAC is for PC players only.
For XML modlets only, leave EAC on. For a code mod that only runs on the server, as for all others, the mod's page says whether it requires turning the anti-cheat off: read it before installing.
05
Game version and updates
A mod is written for a given version of the game. XML modlets often survive minor updates, but a major update can make whole mods unusable until their authors adapt them. The server and the players must run the same game version, and the same version of every mod installed on both sides.
- Before updating the server, check on each mod's page that a version exists for the new game version.
- Stop the server and make a backup, as above.
- Update the server with SteamCMD (ID 294420), then replace the mod folders with their new versions.
- Restart, read the
[MODS] lines in the log, then tell your players which mods to update on their side.
sudo systemctl stop 7dtd
sudo -iu sdtd /usr/games/steamcmd +force_install_dir /opt/7dtd/serveur +login anonymous +app_update 294420 validate +quit
sudo systemctl start 7dtd
The Mods folder is not touched by the update: that is the whole point of modlets. The Version field in each ModInfo.xml tells you which version of a mod is installed. Removing a mod that added items or blocks can leave traces in an existing world: if in doubt, go back to the backup or start a new world.
06
On CloudFive
CloudFive has no ready-made 7 Days to Die plan: the server, its mods and its settings are installed on a VPS, as in this guide. The Ryzen VPS, from €5.99 per month, suits it well:
- an AMD Ryzen 9 9950X, with DDR5 memory and NVMe storage: a fast core handles horde nights better, and large mods add load;
- root access and a dedicated IPv4 address;
- basic anti-DDoS protection included. A game-specific filter is part of Premium Protection, a paid option (see protecting a game server against DDoS attacks).
Servers are in France, on our own network, billed monthly with no commitment, with support in French 7 days a week. To choose the VPS size, see which VPS for a game server and the gaming VPS page; to prepare it before opening the server, securing a Linux VPS.
07
Frequently asked questions
How do I install a mod on a 7 Days to Die server?
Stop the server, create a Mods folder at its root if it does not exist, then copy into it the mod folder that directly contains the ModInfo.xml file. Restart and look for the mod's Loaded Mod line in the server log.
Do players have to install the 7 Days to Die server's mods?
Not for pure XML modlets: the server pushes these changes to players. However, mods that add icons, models, textures or code must be installed by every player, at the same version. The mod's page says which.
Do you need to disable EAC for mods on 7 Days to Die?
Only for mods that run code (.dll) on players' PCs. Then set EACEnabled to false in the server's settings file, and every player launches the game without EasyAntiCheat. For XML modlets, leave EAC on.
Why won't my 7 Days to Die mod load?
Most often, an extra folder sits between Mods and ModInfo.xml, or the mod is not made for the game version installed on the server. Check the folder structure, the version the mod requires and the [MODS] lines in the server log.
Does a 7 Days to Die update break mods?
A major update can make mods unusable until their authors adapt them. Back up before updating the server, check that each mod exists for the new version, and update the server and the players together.