DescriptionConsole input that does not start with / is shown as a chat message to your team.
|Command|| /whitelist |
|Command Category Description||Message filtering, user banning, and more.|
|Description||Adds or removes a player from the whitelist, where only whitelisted players can join the game. Enter nothing for “player” when using “get” to print a list of all whitelisted players. An empty whitelist disables the whitelist functionality allowing anyone to join.|
|How To Use|| |
The command console is Factorio's command-line interface, which can be used for running cheat commands, as well as chatting with other players and receiving occasional status updated.
To open the console, press the / or ~ key. The ~ key is usually located below the Esc key. The / key is also usually the ? key.
The console can accept raw Lua code as well as game commands.
Use the Tab key to auto-complete commands and player IDs. Enter the first few letters and then press the Tab key.
Disclaimer: Because commands can sometimes make unexpected changed to your game, it is recommended that you save your game before using any commands.