Factorio Console Commands and Cheats For World Editor, Game Speed, God Mode, and More

Looking for ways to enhance your Factorio experience? Look no further! Our guide on Factorio console commands and cheats can help you do just that. With the use of cheats and console commands, you can enable god mode, increase game speed, and much more. From manipulating the world to controlling biters, from instant teleportation to increasing inventory, from adjusting game speed to instant crafting, our guide will teach you how to use all the powerful cheats available in the game.

How to Use the Factorio Console Command?

To Use Factorio’s console, all you have to do is hit the “/” key while in-world. If this doesn’t work, you can check (or assign) which key to press by opening the menu and navigating to Settings >Controls > Basic Interaction >Toggle chat (and Lua console).

Factorio Console Commands

Here is a list of all the Factorio console commands that you can use in the game. By using the following commands you can spawn items, kill all biters, enable God Mode, peaceful mode, achievements, space exploration, fog, get the infinite chest, and monsters, change game speed, always day, and much more. So, let’s take a look at all the Factorio console commands.

Factorio Player console commands

Teleport playerTeleports the player to the specified coordinates./c game.player.teleport([x],[y])
Mine fasterincreases (or decreases) your manual mining speed.
0 = 100%, 1 = 200%, 2 = 300%, etc
/c game.player.force.manual_mining_speed_modifier=100
Craft fasterincreases (or decreases) your manual crafting speed.
0 = 100%, 1 = 200%, 2 = 300%, etc.
/c game.player.force.manual_crafting_speed_modifier=100
Increase player reachincreases the maximum reach distance of the player (how near you have to be in order to interact with or place an object). Default is 10./c local reach = 500
game.player.force.character_build_distance_bonus = reach
game.player.force.character_reach_distance_bonus = reach

Factorio Inventory Console Commands

Become a master of the inventory with these Factorio inventory-focused console commands.

Enable Cheat Modeenables or disables Cheat Mode. Cheat Mode allows free and instant crafting of any item.
Replace “true” with “false” to disable.
/c game.player.cheat_mode=true
Add item to inventoryAdds the specified item to your inventory.
You can find a list of item IDs here.
/c game.player.insert{name=”infinity-chest”, count=100}
Increase inventory sizeincreases your inventory size by adding the specified number of inventory slots./c game.player.force.character_inventory_slots_bonus=80

Factorio Enemy Console Commands

Control the spread of Biters in your Factorio world using these commands.

Enable Peaceful Modeenables or disables Peaceful Mode. While Peaceful Mode is enabled, Biters won’t attack you until provoked.
Replace “true” with “false” to disable.
/c game.player.surface.peaceful_mode=true
Disable Biter Evolutiondisables Biter Evolution by both time (first command) and pollution (second command)./c game.map_settings.enemy_evolution.time_factor=0
/c game.map_settings.enemy_evolution.pollution_factor=0
Disable Biter Expansionenables or disables Biter Expansion.
Replace “false” with “true” to enable.
/c game.map_settings.enemy_expansion.enabled=false
Kill all enemieskills all enemies in the explored world./c game.forces[“enemy”].kill_all_units()
Kill nearby enemieskills all enemy units (biters and nest structures) within the specified radius from the player./c local surface=game.player.surface
local pp = game.player.position
local cnt = 0
for key, entity in pairs(surface.find_entities_filtered({force=”enemy”, radius=250, position=pp })) do
cnt = cnt+1
Set Biter evolution factorsets the Biter evolution factor.
Minimum is 0, maximum is 1.
/c game.forces[“enemy”].evolution_factor=0

Factorio World Console Commands

From altering the time of day and speed of time to changing the very terrain around you, these powerful commands will allow you to sculpt your perfect Factorio experience.

Enable the map editortoggles the map editor overlay, allowing you to alter the terrain./editor
Reveal the map around the playerexplores chunks in a radius around the player, much like a Radar does./c local radius=1000
game.player.force.chart(game.player.surface, {{game.player.position.x-radius, game.player.position.y-radius}, {game.player.position.x+radius, game.player.position.y+radius}})
Eternal daytimelocks the time of day to always daytime.
Replace “true” with “false” to disable.
/c game.player.surface.always_day=true
Change game speedAlters the speed at which the game engine runs.
1 = 100%, 2 = 200%, 3 = 300%, etc.
/c game.speed=2
Remove pollutionremoves all existing pollution in the world./c game.player.surface.clear_pollution()
Turn off pollutionenables or disables pollution.
Replace “false” with “true” to enable.
/c game.map_settings.pollution.enabled=false

Factorio Research Console Commands

Unlock all technologies or just making researching a lot quicker and easier with these commands.

Research all technologiesresearch all technologies/c game.player.force.research_all_technologies()
Unlock all recipesenables all recipes./c for name, recipe in pairs(game.player.force.recipes) do recipe.enabled = true end
Research specific technologyresearches the specified technology./c game.player.force.technologies[‘steel-processing’].researched=true
Increase research speedincreases your research speed.
1 = 100%, 2 = 200%, 3 = 300%, etc.
/c game.player.force.laboratory_speed_modifier=2

More Factorio Console Commands For God Mod and Spawn Items

It’s worth keeping in mind that typing “/help” into the console while inside a level will bring up a list of helpful consoles. Similarly, for any of the below to work, you’ll need to have loaded a level.

  • /seed – Copies the current map’s seed
  • /time – Returns info about the map’s age
  • /toggle-action-logging – Logs all input actions that the game performs
  • /permissions – Opens permissions UI
  • /alerts – Disables, enables, mutes or unmutes alerts like no_material_for_construction
  • /unlock-shortcut-bar – Unlocks all items on the shortcut bar
  • /admin – Opens player management UI
  • /ban – Bans players for specified reason
  • /unban – Unbans player
  • /demote – Removes admin powers from player
  • /promote – Gives player admin powers
  • /ignore – Ignores player
  • /unignore – Unignores player
  • /kick – Kick players from server for specified reason
  • /mute – Mutes player
  • /unmute – Unmutes player

Factorio Cheats For Switch

Below, you’ll find a small set of Factorio cheats. As opposed to the console commands above, these will disable achievements for the game they’re used in, so keep that in mind before taking advantage of what they offer.

  • /cheat – Researches all technologies, enables cheat mode
  • /editor – Toggles map editor
  • /c – Executes command (examples below)
  • /c game.player.zoom=0.2 – Zoom past usual bounds
  • /c game.player.force.manual_mining_speed_modifier=1000 – Makes mining faster
  • /c game.player.force.manual_crafting_speed_modifier=1000 – Makes crafting faster
  • /c game.player.cheat_mode=true – Cheat mode, infinite crafting
  • /c game.player.selected.amount=7000 – Gives amount of resource present on the tile you’re hovering your mouse cursor over
  • /c game.player.insert{name=”item”, count=100} – Gives number of specified item
  • /c game.speed=number – Changes game speed
  • /c game.player.surface.always_day=true – Disables night
  • /c game.player.surface.clear_pollution() – Removes pollution

Do Factorio Console Commands Disable Achievements?

The answer is Yes. Using a script or cheat commands in the console disables achievements, however, the user will be warned about this the first time they try to run such a command.

Share your love

Leave a Reply

Your email address will not be published. Required fields are marked *