- Description: Always show rail block visualization. Permanently show the rail block visualization instead of only when holding a rail signal. Disable by replacing true with false.
|Command||/c game.player.surface.peaceful_mode =|
|Command Category Description||Run Lua scripts. WARNING: The use of scripting and cheat commands will disable achievements. Please proceed with caution.|
|Description||Enable/Disable peaceful mode. Enabling peaceful mode prevents biter attacks until provoked. Substitute true for false to disable. Already existing biters are not affected by this command so attacks could continue for a while after activating peaceful mode.|
|Example||/c game.player.surface.peaceful_mode = true|
|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.