Factorio Console Commands: Full List, Cheats and Admin

November 4, 2026 · Cheat Codes, Simulation and Sandbox
Quick answer: Factorio has a built-in console. Press the grave key (`, above Tab) to open it, then type a command starting with /. Try /seed, /time or /evolution. Cheats use /c with Lua, such as /c game.player.insert{name="iron-plate", count=100}, and they permanently disable achievements for that save.

Factorio needs no mod or launch option for console commands. The same box is used for chat and commands, and anything that starts with a slash is run as a command.

There are three kinds: normal commands that are safe for achievements, multiplayer admin commands, and script or cheat commands that disable achievements for the save. This page covers all three, plus how it works on a dedicated server.

How to open the console in Factorio

  1. Load a game (single player or multiplayer).
  2. Press the grave key, the ` key left of 1 and above Tab.
  3. Type a command starting with / and press Enter.
  4. If the key does not work on your keyboard layout, rebind it in Settings, Controls, Toggle chat (and Lua console).

This is the PC game. In multiplayer, admin commands need admin status. On a hosted server, the panel console is the server console and has no player attached.

Before you use commands: Script commands (/c, /command, /silent-command, /sc, /measured-command, /mc), /cheat and /editor permanently disable achievements for that save. The first use in a save shows a warning before the command runs, according to a Steam community comment. On a public server, allow_commands set to true lets every player run Lua. The default is admins-only.

How Factorio commands work

  • Commands start with /. Text without a slash is chat.
  • Angle brackets <> are required values and square brackets [] are optional.
  • Lua commands go after /c, for example /c game.player.print(1234*5678).
  • Many cheat commands use game.player, which does not exist on a server console. Use game.players["Name"] there.

Factorio commands list

Normal commands (safe for achievements)

Command What it does
/help Lists commands. Add a command name to describe it.
/seed Prints the starting map seed.
/time Prints how old the map is.
/version Prints the game version.
/evolution Shows the alien evolution factor. Surface is optional.
/clear Clears the console.
/color <color> Sets your chat colour by name or RGB.
/screenshot [x] [y] [zoom] Takes a screenshot without the GUI.
/unlock-shortcut-bar Unlocks all shortcut bar items.
/unlock-tips Unlocks all tips and tricks entries.
/reset-tips Resets tips and tricks.

Multiplayer and admin commands

Command What it does
/players Lists players. Use online or count for variations.
/admins Lists admins.
/promote <player> Makes a player admin (admin only).
/demote <player> Removes admin status (admin only).
/kick <player> <reason> Kicks a player (admin only).
/ban <player> <reason> Bans a player (admin only).
/unban <player> Unbans a player (admin only).
/whitelist add <player> Adds a player to the whitelist. Also remove, get, clear.
/mute <player> Mutes a player (admin only).
/server-save Saves a multiplayer game (admin only).
/config get <option> Reads a server option. /config set changes it (admin only).
/whisper <player> <message> Sends a private message. Short form /w.
/shout <message> Messages all players, including other forces. Short form /s.

Script and cheat commands (disable achievements)

Command What it does
/c game.player.print(1234*5678) Runs Lua. This example prints the result as a calculator.
/c game.player.insert{name="iron-plate", count=100} Adds items to your inventory.
/c game.player.force.research_all_technologies() Researches every technology.
/c game.player.force.manual_mining_speed_modifier=1000 Greatly increases hand mining speed.
/c game.player.force.manual_crafting_speed_modifier=1000 Greatly increases hand crafting speed.
/c game.speed=X Changes game speed. Replace X with a number.
/c game.player.teleport({X, Y}) Teleports you to map coordinates.
/c game.player.cheat_mode=true Turns on cheat mode for the player.
/cheat all Researches everything and enables cheat mode.
/editor Toggles the map editor.

How to spawn items with console commands in Factorio

There is no give command. Use Lua with the item's internal name and a count. This disables achievements for the save.

  1. Open the console with the grave key.
  2. Type /c game.player.insert{name="iron-plate", count=100} and press Enter.
  3. Change iron-plate to another internal item name and count to the amount you want.

Console commands on a Factorio server

On a hosted server the panel's Console tab is the server console. There is no player attached, so game.player is nil and cheats must name the player.

Use /c game.players["YourName"].insert{name="iron-plate", count=100} instead of game.player. If no admin exists, run /promote <yourname> from the server console, or add your name to the server admin list file.

allow_commands value Who can run /c
true Every player
false Nobody
admins-only (default) Admins only

Which Factorio console commands disable achievements?

Only script commands, /cheat and /editor. Normal and admin commands such as /seed, /promote, /ban and /config do not.

Why Factorio console commands are not working

  • The console will not open: rebind Toggle chat (and Lua console) in Settings, Controls.
  • Command rejected in multiplayer: it is admin-only or allow_commands blocks it. Ask an admin to /promote you.
  • game.player is nil on a server: use game.players["Name"] instead.
  • Need your achievements back: there is no supported way to undo the disable, so back up saves before using cheats.

Factorio console commands FAQ

How do I open the console in Factorio?

Press the grave key (`), above Tab. You can rebind it in Settings, Controls under Toggle chat (and Lua console).

What are the Factorio console commands?

Normal commands include /help, /seed, /time, /version and /evolution. Cheats use /c with Lua, plus /cheat and /editor. Admin commands include /promote, /kick, /ban and /config.

How do I give myself items in Factorio?

Run /c game.player.insert{name="iron-plate", count=100}, changing the item name and count. This disables achievements for the save.

Do Factorio console commands disable achievements?

Script commands like /c, plus /cheat and /editor, do, permanently for that save. Normal and admin commands do not.

How do I use console commands on a Factorio server?

Use the server console in your hosting panel. Since no player is attached, replace game.player with game.players["Name"] in Lua commands.

How do I become admin in Factorio multiplayer?

An existing admin runs /promote <player>. If there is none, run it from the server console or add the name to the admin list file.

How do I check the map seed in Factorio?

Type /seed in the console. It prints the starting map seed.

Sources

  • Factorio Wiki – Console
  • GameServerKings – Factorio console commands

Leave a Reply

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