Home/ Guides/ Factorio Commands
🏭 Factorio · Commands

Factorio Console Commands & Cheats

Every Factorio console command worth knowing — the safe ones (seed, time, admin, evolution) and the /c Lua cheats that hand you items, instant research, godmode and 1000× crafting. One catch, and it's a big one: the second you run a script command, achievements are gone for that save. Search, copy, paste.

Verified vs. the official Factorio wiki (Console + Achievements) · stable 2.0.76 · June 2026
Open the console
Press ~ (the grave key) to open the console. / commands are safe; /c runs Lua cheats — but any script command disables achievements for that save.
Full command list ↓ — 50 commands, searchable, one-tap copy.
🔛

How to Open the Console in Factorio

1

Open it: press ~ / ` (the grave key, just left of 1) to toggle the chat & Lua console. Rebind under Settings → Controls → Toggle chat (and Lua console).

2

Two kinds of input. Plain / commands (/help, /seed, /players) are safe info & admin commands. The /c command runs raw Lua — that's where the real cheats live (items, research, godmode, speed).

3

On a server, the admin commands (/ban, /promote, /config) need you promoted to admin first; in single-player you already are.

The one rule that matters: the instant you run a script command — /c, /command, /silent-command, /cheat, or the map /editorachievements are permanently disabled for that save. Factorio warns you once, and the only documented way back is editing the save's binary data. The plain / info commands (help, seed, time, players, evolution) are totally safe. Cheat on a throwaway save if you care about achievements.
⌨️

Factorio Command List

Type to filter, hit Copy, paste in-game. 50 commands. Placeholders in [brackets] are values you fill in.

CommandWhat it doesCategory
/help (/h)List the available commands.Safe — info & utility
/versionPrint the current game version.Safe — info & utility
/seedPrint the map's starting seed.Safe — info & utility
/timePrint the map age / total playtime.Safe — info & utility
/evolution [surface]Print the enemy evolution factor and its breakdown, e.g. `/evolution nauvis`.Safe — info & utility
/players (/p)List players and the online count.Safe — info & utility
/color [r] [g] [b]Change your character colour (or pass a preset name).Safe — info & utility
/clearClear the console output.Safe — info & utility
/screenshotTake a screenshot with the GUI hidden.Safe — info & utility
/adminOpen the admin GUI. (admin)Multiplayer & admin (safe)
/adminsList the server admins.Multiplayer & admin (safe)
/promote [player]Grant admin. (admin)Multiplayer & admin (safe)
/demote [player]Revoke admin. (admin)Multiplayer & admin (safe)
/ban [player] [reason]Ban a player. (admin)Multiplayer & admin (safe)
/kick [player] [reason]Kick a player. (admin)Multiplayer & admin (safe)
/mute [player]Mute a player's chat — `/unmute` to undo. (admin)Multiplayer & admin (safe)
/config set [setting] [value]Change a server setting, e.g. the password. (admin)Multiplayer & admin (safe)
/server-saveSave the server game. (admin)Multiplayer & admin (safe)
/whitelist getView the whitelist.Multiplayer & admin (safe)
/shout [msg] (/s)Global chat shout — also `/whisper [player] [msg]` and `/reply [msg]`.Multiplayer & admin (safe)
/unlock-shortcut-barUnlock every shortcut-bar slot.Settings & toggles (safe)
/unlock-tipsUnlock all tips-and-tricks entries — `/reset-tips` to reset.Settings & toggles (safe)
/alerts enable|disable|mute|unmute [type]Control a given alert type, e.g. turret_fire.Settings & toggles (safe)
/mute-programmable-speaker mute|unmute local|everyoneMute programmable-speaker sounds.Settings & toggles (safe)
/perf-avg-frames [n]Set the performance-averaging window.Settings & toggles (safe)
/c game.player.insert{name="iron-plate", count=100}Give items — any internal item name + count.⚠ Cheats — items & character (/c · disables achievements)
/c game.player.insert{name="iron-plate", quality="legendary", count=100}Give items at a set quality (2.0 / Space Age).⚠ Cheats — items & character (/c · disables achievements)
/c game.player.cheat_mode=trueCheat mode — free, instant crafting.⚠ Cheats — items & character (/c · disables achievements)
/c game.player.force.research_all_technologies()Unlock every technology.⚠ Cheats — items & character (/c · disables achievements)
/c for name, recipe in pairs(game.player.force.recipes) do recipe.enabled = true endEnable every recipe.⚠ Cheats — items & character (/c · disables achievements)
/c game.player.force.manual_crafting_speed_modifier=1000Hand-craft far faster.⚠ Cheats — items & character (/c · disables achievements)
/c game.player.force.manual_mining_speed_modifier=1000Mine far faster.⚠ Cheats — items & character (/c · disables achievements)
/c game.player.character_running_speed_modifier=3Run faster.⚠ Cheats — items & character (/c · disables achievements)
/c game.player.force.character_inventory_slots_bonus=100Add inventory slots.⚠ Cheats — items & character (/c · disables achievements)
/c game.player.character.destroy()Godmode — destroy your body for invulnerable free-cam; `create_character()` brings you back.⚠ Cheats — items & character (/c · disables achievements)
/c game.player.teleport({0, 0})Teleport to coordinates (append `, "surface"` to change surface).⚠ Cheats — items & character (/c · disables achievements)
/c game.player.selected.amount=7500Refill the resource patch you're hovering.⚠ Cheats — items & character (/c · disables achievements)
/c game.speed=2Set game speed — 1 = normal, 0.5 = half, etc.⚠ Cheats — world, enemies & time (/c · disables achievements)
/c game.player.surface.always_day=trueEternal day.⚠ Cheats — world, enemies & time (/c · disables achievements)
/c game.player.surface.freeze_daytime=trueFreeze the day/night cycle.⚠ Cheats — world, enemies & time (/c · disables achievements)
/c game.player.force.chart_all()Reveal the whole generated map.⚠ Cheats — world, enemies & time (/c · disables achievements)
/c game.forces["enemy"].set_evolution_factor(0, game.player.surface)Set the evolution factor (0–1) for a surface.⚠ Cheats — world, enemies & time (/c · disables achievements)
/c game.forces["enemy"].kill_all_units()Kill every biter and spawner.⚠ Cheats — world, enemies & time (/c · disables achievements)
/c game.player.surface.peaceful_mode=trueTurn on peaceful mode.⚠ Cheats — world, enemies & time (/c · disables achievements)
/c game.player.surface.clear_pollution()Clear all pollution on the surface.⚠ Cheats — world, enemies & time (/c · disables achievements)
/cheatResearch all technologies AND enable cheat mode in one step.⚠ Sandbox shortcuts (disables achievements)
/editorToggle the map editor — full sandbox (paint terrain, place anything, control time & enemies).⚠ Sandbox shortcuts (disables achievements)
/command [lua] (/c)Run a Lua command — `/c` is the short alias.⚠ Sandbox shortcuts (disables achievements)
/silent-command [lua] (/sc)Run Lua with no console output — good for queries.⚠ Sandbox shortcuts (disables achievements)
/measured-command [lua] (/mc)Run Lua and print how long it took.⚠ Sandbox shortcuts (disables achievements)

Factorio Commands FAQ

Do console commands disable achievements in Factorio?
Only the script ones. The moment you run /c, /command, /silent-command, /cheat or open the map /editor, achievements are permanently off for that save — the game warns you once. Plain info commands (/help, /seed, /time, /players) are completely safe.
Can I turn achievements back on?
Not in-game. The only documented route is editing the save file's binary data — there's no toggle. (The popular "just load a backup from before you cheated" trick isn't officially documented, so don't bank on it.) Easiest answer: keep a separate save for cheating.
How do I give myself items in Factorio?
/c game.player.insert{name="iron-plate", count=100} — swap the item name and count. Names are the game's internal prototype names (iron-plate, steel-plate…); a wrong name just errors. In 2.0 / Space Age you can add quality="legendary".
How do I unlock all research?
/c game.player.force.research_all_technologies() — or /cheat, which researches everything and flips on cheat mode in one go. Both disable achievements.
What's the difference between /c and /command?
Nothing — /c is just the short alias for /command. /silent-command (/sc) runs Lua without printing output, and /measured-command times it. They're all script commands, so they all disable achievements.

More from GamesOMG

Console open? Here's the rest of the toolkit.