Best Factorio Console Commands & Cheats

POST CATEGORIES:

GamingBest Factorio Console Commands & Cheats

In Factorio, it’s possible to open up the console and enter commands. These commands can change your game dramatically, with there being options for god mode, unlimited crafting, increased speeds and more.

Below, you can find out how to open the console, as well as a list of useful commands. For more Factorio Guides, make sure to check out our dedicated area here at PwrDown!

How to Open the Console

Before entering any cheats in Factorio, you will need to open up the console. You can do this by pressing the tilde key (~), located in the top left corner of your keyboard next to the ‘1’ key. If this doesn’t work, you should check your default control settings, specifically the control for Lua Console.

Doing so will open up the console in the bottom left corner of the screen. Here is where you can paste your commands and enter them. To close the console, press either Return, ESC or ~ again. 

Best Console Commands and Cheats

Now there are dozens of commands and scripting options available, but only some will be useful to you.

Whilst in-game, simply copy a command below, change any parameters if you want to and paste them into the Factorio Command Console. 

Multiplayer Commands

These commands will only work when playing on a multiplayer server, and not on a single player mode. Most of them are also only able to be used by admins.

  • /admin – Opens up the player management interface.
  • /ban <player> <reason> – Bans the specified player and displays a reason to them. 
  • /unban <player> – Removes the ban of a specified player.
  • /banlist – Shows a list of currently banned players.
  • /ignore <player> – Prevents a players messages from appearing in the chat.
  • /unignore <player> – Allows a player to chat again.
  • /ignores – Show a list of players who are being ignored.
  • /open <player> – Opens a players inventory, allowing you to see what’s inside.
  • /players – Shows a list of online players. Do /players online to show only online players, or /players count to show all players.
  • /reply <message> – Replies to the last user who whispered to you.
  • /server-save – Saves the current map and progress of the multiplayer server.
  • /whisper <player> – Allows you to whisper to a player, only they can see your message.
  • /promote <player> – Promotes a player to the admin rank.
  • /demote <player> – Demotes a player back to the standard user rank.

Other Commands and Cheats

These cheats all affect your gameplay, whether it be resource collection speed, mining speed or other tweaks. Using them will disable achievements for your save.

  • /cheat – Researches all technologies and turns on ‘Cheat Mode’.
  • /c game.player.force.manual_mining_speed_modifier=1000 – Changes the speed at which ores and other resources are mined in the game world.
  • /c game.player.force.manual_crafting_speed_modifier=1000 – Makes the player craft items faster.
  • /c game.player.force.laboratory_speed_modifier=1 – Increases the research speed inside a Laboratory.
  • /c game.player.force.research_all_technologies() – Unlocks and researches all technologies in the tree. 
  • /c game.player.cheat_mode=true – Lets the player conduct free, infinite crafting. Change the value to false to revert this command.
  • /c game.player.selected.amount=7500 – Refills all resources at the tile where your mouse is hovering, such as on ores or oil.
  • /c game.player.insert{name=”copper-plate”, count=100} – Adds items to the players inventory, in this case, Copper Plate. Change this value to any item you require.
  • /c game.player.surface.always_day=true – Disables night time in Factorio. Change the true to false to revert this command.
  • /c game.player.surface.clear_pollution() – Removes all pollution from the Factorio world.
  • /c game.player.surface.peaceful_mode = true – Enables peaceful mode, which stops enemy attacks unless provoked.
[irp]
Phillip Anderson
Phillip Anderson
Hey, I'm Phillip Anderson! After studying Video Game Design at University, I began writing articles at PwrDown in my free time. I currently play my games on PC, but also own a PS4 & Nintendo Switch. I'm also a VR enthusiast, owning an Oculus Rift S where you might find me playing Beat Saber or Skyrim VR!