Factorio – Useful Console Commands (Cheat Codes)

Want to mine at stupid speeds? Hate nights? Hate biters? Spawn in stuff? All possible using console commands! Read this guide to learn how to use the Factorio console commands (cheat codes).

How to open the console?

To open the console in Factorio:

  1. Press the ~ key or / key (these are the default keys)
  2. If you can’t find the right key:
  • Go to the options menu
  • Look in the controls section
  • Find “Toggle Lua console”
  • The correct key will be shown there

Need to use a command again? Just press the up arrow key on your keyboard. This will show you commands you used before.

Console commands (cheat codes)

You can use the console to spawn items, walk faster, unlock researches and many more. Here’s a bunch of useful commands.

Mine faster (Default – 1).
/c game.player.force.manual_mining_speed_modifier=100

Craft faster (Default – 1).
/c game.player.force.manual_crafting_speed_modifier=100

Laboratories research faster (Default – 1).
/c game.player.force.laboratory_speed_modifier=100

Complete all researches (This activates all researches as if you have researched them).
/c game.player.force.research_all_technologies()

Zoom out further than usual (Zoom resets when you zoom in again. Note: values below 0.07 are buggy and impact game performance negatively).
/c game.player.zoom=0.1

Always daytime
/c game.always_day=true

Set game speed (Warning: higher speeds negatively affect your framerate/game performance).
/c game.speed=2

Kill all biters
/c game.forces[‘enemy’].kill_all_units()

Spawn items (Internal name: iron-plate, copper-plate, coal, steam-engine, submachine-gun, etc.)
/c game.player.insert{name=’internal-name’, count=1}

Volodymyr Azimoff
About Volodymyr Azimoff 8040 Articles
I love games and I live games. Video games are my passion, my hobby and my job. My experience with games started back in 1994 with the Metal Mutant game on ZX Spectrum computer. And since then, I’ve been playing on anything from consoles, to mobile devices. My first official job in the game industry started back in 2005, and I'm still doing what I love to do.

Be the first to comment

Leave a Reply

Your email address will not be published.


*