Menu
 

Factorio Console Commands - Full List & Cheats

Factorio Console Commands

Factorio console commands let you manage players, run cheats and Lua scripts, and control a dedicated server without editing world files. This is the full list, grouped by what each command does. Most work in single-player and multiplayer; the player-management and server commands need admin rights.

Opening the console

Press the grave/tilde key (~) or / to open the console. Press Tab for auto-completion of commands, options, and player names. Type /help for the in-game command list.

Commands vs cheats (/c)

Plain commands like /players are safe. Commands starting with /c (or /command) run Lua and permanently disable achievements for that save. Use /silent-command to run a script without printing it to chat.

Becoming an admin

Add your username to server-adminlist.json in the server directory, or have an existing admin run /promote [PlayerName]. See how to add admins and manage permissions.

Information & Utility Commands

CommandEffect
/helpLists the available console commands in-game.
/adminsShows the server admin list.
/seedPrints the current map seed.
/evolutionShows the current enemy (biter) evolution factor.
/timeShows how long the current map has been running.
/versionPrints the game version the server is running.
/colorChanges your in-game player color.

Essential Player Management

Command Effect
/playersLists all connected players and their online status.
/promote [player]Grants admin rights to a player.
/demote [player]Removes a player's admin rights.
/kick [player] [reason]Disconnects a player. They can still rejoin immediately.
/ban [player] [reason]Permanently prevents a player from joining the server.
/unban [player]Lifts a ban so the player can rejoin.
/mute [player]Prevents a player from sending chat messages.
/whitelist add|remove|get|clear [player]Manages the server whitelist (only listed players may join when enabled).

Game Flow & Cheat Commands

These commands require the /c prefix and will trigger a warning. Use them wisely!

  • Speed up the game: /c game.speed = 2.0 (Normal is 1.0).
  • Instant Research: /c game.player.force.research_all_technologies().
  • Kill all enemies: /c game.forces["enemy"].kill_all_units().
  • Always Day: /c game.player.surface.always_day = true.

Pro Tip: Use /silent-command [cmd] to execute a script without alerting everyone on the server. Great for administrative cleanup!

Server Stability Controls

  • /save - Manually triggers an autosave. Do this before any major server maintenance.
  • /quit - Gracefully shuts down the server, saving the world state first.
  • /config get [setting] - View current server settings like passwords or visibility.

For the exhaustive command and Lua-API reference, see the official Factorio console documentation. New to running a server? Start with how to host a Factorio server or adding admins and permissions.

Master your factory environment. Host your Factorio server with Supercraft and enjoy 100% control with our advanced web panel and full console access.

Tired of fighting this issue every patch?

Run a managed Factorio server with us. We handle the patches, mod-version pinning, save backups, and DDoS protection. Set up in 3 minutes, 5 datacenter regions, no contract.

See Factorio hosting plans →
Top