Factorio Cheats — All Console Commands & Script List

Factorio cheats guide: full list of console commands, Lua script snippets for infinite resources, player god mode, disabling achievements warning, and tips.

By RogueWiki Editors · Last Updated: August 20, 2026

Factorio Cheats & Console Commands — The Complete List (2026)

The short version: Factorio has a built-in console (open with ~) with three command tiers — normal commands (info/settings), admin commands (multiplayer), and /c script commands (the real cheats, arbitrary Lua). One iron rule: any /c command permanently disables achievements for that save. Here's the full command list, the most useful cheat scripts, the achievement rules, and a safe workflow.

Factorio factory scene (Steam store screenshot)
Factorio factory scene (Steam store screenshot)


Official resources: Steam store page · Official Wiki: Console · Official Wiki: Achievements · factorio.com

Opening the Console

In-game, press ~ (the key above Tab) to open the console input. On laptops you may need Fn + ~. The console works in single-player and multiplayer (multiplayer permissions below).

Three command types:

  1. Normal commands (start with /): show info, change settings — do not disable achievements
  2. Admin commands (start with /): multiplayer server management, need admin rights — do not disable achievements
  3. Script commands (start with /c): run arbitrary Lua — permanently disable achievements for that save

Factorio header art — the factory the cheat console lets you shortcut
Factorio header art — the factory the cheat console lets you shortcut

Normal Commands (Safe, No Achievement Impact)

Command What it does
/help Lists all commands
/seed Shows the map seed
/time Shows in-game time
/evolution Shows the biter evolution factor
/screenshot [resolution] Takes a screenshot at a set resolution
/color <color> Changes your player color (multiplayer)
/toggle-rich-presence Toggles Discord rich presence
/mute / /unmute Mutes a player's chat
/whisper <name> <text> Sends a private message

Admin Commands (Multiplayer Servers)

Command What it does
/promote <name> Grants admin rights
/demote <name> Revokes admin rights
/ban / /unban Ban/unban a player
/kick <name> Kicks a player
/pause / /unpause Pause/resume (host)
/save Saves immediately
/admins Lists admins

On a headless dedicated server these same commands work from the server console — full server setup is in the multiplayer guide.

/c Script Commands: The Real Cheats (All Disable Achievements)

Read this first

Once you run any /c command, that save permanently loses its achievement eligibility (Steam achievements close for it and can't be restored). Don't test on a save you care about.

Give yourself items

/c game.player.insert{name="iron-plate", count=100}

Swap the item name (copper-plate, electronic-circuit, rocket-part, uranium-235, …) and the items land straight in your inventory.

Research everything

/c game.player.force.research_all_technologies()

Unlocks all currently available tech; a single technology:

/c game.player.force.technologies["logistics-2"].researched = true

Invincible + superhuman

/c game.player.character.character_invincible = true
/c game.player.character.character_crafting_speed_multiplier = 1000
/c game.player.character.character_build_distance_bonus = 100
/c game.player.character.character_reach_distance_bonus = 100
/c game.player.character.character_item_pickup_distance_bonus = 100

Flight / ghost mode

/c game.player.cheat_mode = true

Run it again to turn it off; some debug features now live in the F4 debug menu on newer versions.

Clear biters / stop expansion

/c local surface=game.player.surface; for _,e in pairs(surface.find_entities_filtered{force="enemy"}) do e.destroy() end
/c game.map_settings.enemy_expansion.enabled = false

Unlock all recipes

/c for _,r in pairs(game.player.force.recipes) do r.enabled = true end

Other handy ones

/c game.player.force.character_inventory_slots_bonus = 1000   -- 1000 inventory slots
/c game.player.blueprint_to_setup()                            -- turn selection into blueprint
/c game.player.insert{name="blueprint-book", count=1}          -- blueprint book

The Achievement Rule and Cheating Safely

  • The rule: any /c permanently disables achievements for that save; normal/admin commands don't; mods, scenarios, and peaceful mode have their own rules (see the achievements guide).
  • Most-wanted achievements (both unreachable after /c): Lazy Bastard (≤111 handcrafted items) and There is no spoon (8-hour rocket).
  • Safe workflow:
    1. Esc → Save, save a copy named "testcheat".
    2. Go wild with /c on the copy.
    3. Want achievements? Load the untouched save.
Will cheating ruin the fun?

For a factory game, usually no: Factorio isn't story-driven, and using /c to skip early-game grinding (like spawning 10k iron plates to test a blueprint) is standard community practice. But beating the game directly via /c usually stops being fun after an hour — the fun is the logistics puzzle itself.

Official Alternatives: Cleaner Than Cheating

  • Creative Mode mod (mods guide): infinite resources and instant building — built for sandbox testing.
  • Debug mode (F4): official debug menu showing collision boxes, networks, and more.
  • Scenario editor: design your own levels and test factories.

Frequently Asked Questions

Does Factorio have cheat codes?

Yes. Press ~ to open the console; /c Lua scripts are the main cheating method, alongside normal and admin commands.

Do cheats affect achievements?

Any /c script permanently disables achievements for the current save; normal commands (/seed, /time) and admin commands (/ban, etc.) don't.

How do I give myself items?

/c game.player.insert{name="iron-plate", count=100} (change the name and count) — items appear instantly in your inventory.

Can I use the console in multiplayer?

Only the host/admin can (granted via /promote), and the server must allow console access.

How do I cheat safely?

Save a copy of your save first and run /c only on the copy; never touch achievement-hunting saves with /c.

Is there anything better than cheating?

Creative Mode mod plus debug mode (F4) covers most "cheat needs" without killing the fun.


For more guides, builds, and strategies, check out our Factorio Hub.

Last updated: August 12, 2026.