How to change Factorio server settings without a restart
Type /config set <option> <value> in the Console tab of your SLASHPLAY server, for example /config set autosave-interval 5. It lasts until the server restarts.
config
Reads or changes a server setting on the running server, such as the join password, player limit or autosave interval.
/config <get|set> <option> [<value>] Examples
/config set autosave-interval 5 Autosaves every 5 minutes.
/config get max-players Shows the player limit.
/config set afk-auto-kick 30 Kicks players idle for 30 minutes.
Arguments
actionRequiredgetshows the value,setchanges it.optionRequired- The setting, for example
autosave-interval. valueOptional- The new value, for
set. afk-auto-kick and autosave-interval are in minutes, max-upload-speed in kilobytes per second.
What it does
/config get <option> shows a setting and /config set <option> <value> changes it at once. Options: afk-auto-kick, allow-commands, allow-debug-settings, auto-pause-when-players-connect, autosave-interval, autosave-only-on-server, description, ignore-player-limit-for-returning-players, max-players, max-upload-slots, max-upload-speed, name, only-admins-can-pause, password, require-user-verification, tags, visibility-lan, visibility-public and visibility-steam.
Good to know
- A change made with
/config setisn't written toconfig/server-settings.json, so it lasts until the server restarts. To keep it, edit the file in the Files tab. - SLASHPLAY sets the name, the join password, public visibility and user verification again on every start. Change the name and the join password on the General tab instead.
- On SLASHPLAY, type it in the Console tab of the server page, with the leading slash. The Console runs it as the server, so it needs no admin rights.
- In game, an admin types it in chat, which opens with the key under Esc. Typed with no arguments in game, it opens the server settings window.
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.