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
| Command | Effect |
|---|---|
/help | Lists the available console commands in-game. |
/admins | Shows the server admin list. |
/seed | Prints the current map seed. |
/evolution | Shows the current enemy (biter) evolution factor. |
/time | Shows how long the current map has been running. |
/version | Prints the game version the server is running. |
/color | Changes your in-game player color. |
Essential Player Management
| Command | Effect |
|---|---|
/players | Lists 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.