Factorio Config Command


This command can be used to adjust (set) and view (get) many configuration settings.

Config Syntax


The syntax for the config command is as follows:

/config [get / set] [option] [value] Admin Only

This command has the following arguments:

Get / SetUse 'get' to get the value of your specified configuration option, use 'set' to set the value of your specified configuration option.
OptionThe configuration option you wish to get or set. Options are:
  • afk-auto-kick
  • allow-commands
  • allow-debug-settings
  • autosave-interval
  • autosave-only-on-server
  • ignore-player-limit-for-returning-players
  • max-players
  • max-upload-speed
  • only-admins-can-pause
  • password
  • require-user-verification
  • visibility-lan
  • visibility-public
ValueOnly required if using 'set'. This should be what you wish to set the configuration option to.

Looking for other commands?

Search our database of 39 Factorio commands...

I'd Be Honored

Config Examples


Find below working examples of the config command.


/config get max-players

This command will print the current value of the configuration setting 'max-players', which is the setting for the maximum amount of players that are allowed to be connected to the server at any given time.

/config set max-players 10

This command would set the configuration value 'max-players' to 10, meaning the maximum amount of players that can be connected to the server at any given time is 10.

/config set password secretpassword123

Executing this command would set the server's password to 'secretpassword123'.