How to change the mods folder of a Factorio server
Start the server with --mod-directory <path>. On SLASHPLAY mods go in the mods folder, which is kept between runs.
--mod-directory
The folder Factorio loads mods from, mods by default.
--mod-directory <path> Examples
--mod-directory mods The default folder.
Arguments
pathRequired- Path to the mods folder.
What it does
Use it to keep several mod sets side by side.
Good to know
- SLASHPLAY keeps the
modsfolder, withmod-list.json, between runs. Factorio has no Launch args field on SLASHPLAY. The start line is in.slashplay/boot.sh, which you can edit from Advanced, Terminal; the change applies at the next Restart.
Run it on your server
Type commands with the leading slash in the Console tab, which runs them as the server; in game, admins type them in chat. Settings go in config/server-settings.json in the Files tab and apply at the next restart. New to this? Start a Factorio server first.
Your own
Factorio server.
From $0.03 an hour, only while it runs. New accounts get 6 free tokens.