Factorio Console Commands
Factorio's console runs about fifty commands, and most command lists you will find cover a dozen of them. This one is the complete set, with each command's own description taken from the game's help file rather than paraphrased: information, player management, chat, the built-in cheat and map-editor commands, Lua commands, the twenty-one server settings behind /config, the permissions group system, and the one command that exists purely to diagnose a desync loop.
Read from the shipped game. Checked on September 17, 2026 against Factorio 2.0.77 (the current stable headless build; 2.1.19 is the experimental line). The descriptions below are the strings the game itself prints for /help, so they match what your server will tell you.
Opening the console
The console shares the chat key, bound as "Toggle chat (and Lua console)": press the grave/tilde key (~) or /. Tab auto-completes commands, options and player names, and /help <command> prints the description of a single command.
Commands that cost you achievements
Three things disable achievements for that save: Lua console commands, the map editor, and the /cheat command. The game does not let you do it by accident, and it says so: "Using Lua console commands will disable achievements. Please repeat the command to proceed." You have to enter the command a second time to confirm.
Who can run what
Plain information commands are open to everyone. Player management, /config, /permissions and the clearing variants of the ban and white lists are admin-only; the game answers "Cannot run command with these parameters: you are not admin." See adding admins.
Information
| Command | What the game says it does |
|---|---|
/help <command> | Prints a list of available commands. The optional argument can specify the command that should be described. |
/players <online|count> | Prints a list of players in the game. online or o prints only those online, count or c prints only the count. |
/admins <online> | Prints a list of game admins; online or o limits it to those connected. |
/bans | Prints a list of banned players. |
/mutes | Prints a list of all players that are muted. |
/ignores | Prints a list of ignored players. |
/seed | Prints the starting map seed. |
/time | Prints info about how old the map is. |
/evolution <surface> | Prints info about the alien evolution factor. |
/version | Prints the current game version. |
/clear | Clears the console. |
The seed is also what the Factorio map generator and seed viewer takes if you want to see the map your server rolled before you commit to it, and coordinates covers finding your way around once you are in it.
Player management
| Command | What the game says it does |
|---|---|
/promote <player> | Promotes the player to admin. |
/demote <player> | Demotes the player from admin. |
/kick <player> <reason> | Kicks the specified player. They can rejoin immediately. |
/ban <player> <reason> | Bans the specified player. |
/unban <player> | Unbans the specified player. |
/banlist <add|remove|get|clear> <player> | Adds or removes a player from the banlist. Same as /ban or /unban. Only admins can use clear. |
/whitelist <enable|disable|add|remove|get|clear> <player> | Enables, disables, adds or removes a player from the whitelist, where only whitelisted players can join. Use get with no player to list it. Clearing it also disables it. |
/mute <player> / /unmute <player> | Prevents the player from saying anything in chat, and lets them talk again. |
/purge <player> | Clears all the messages from this player from the chat log. |
/admin | Opens the player management GUI. |
/open <player> | Opens another player's inventory. |
/swap-players <player> <player> | Swaps characters between the specified players. The second defaults to you. |
/delete-blueprint-library <player> | Deletes the blueprint library storage for that offline player from the save file. everybody confirm does it for all offline players. |
/banlist, /whitelist and /permissions only work in a multiplayer game; the game refuses them in single player.
Chat
| Command | What the game says it does |
|---|---|
/whisper <player> <message> | Sends a message to the specified player. |
/reply <message> | Replies to the last player that whispered to you. |
/shout <message> | Sends a message to all players including other forces. |
/ignore <player> / /unignore <player> | Hides that player's messages from your chat. Admin messages are still shown. |
/color <color> | Changes your color: one of the predefined colors, or RGBA in the format "# # # #". |
/alerts <enable|disable|mute|unmute> <alert> | Enables, disables, mutes or unmutes the given alert type. |
/mute-programmable-speaker <mute|unmute> <local|everyone> | Mutes global and surface sounds from Programmable Speakers. local affects just you; admins can use everyone for the whole server. |
Cheats, the map editor and Lua
These are the commands that disable achievements, and each one asks you to repeat it before it takes effect.
| Command | What the game says it does |
|---|---|
/cheat | Enables cheat mode. /cheat all also researches all technologies and gives some additional items. It doubles as a travel command: /cheat <planet-name> moves you to that planet, /cheat <platform-name> to that platform, and /cheat off turns cheat mode off. |
/editor | Toggles the map editor. |
/c <command> | Executes a Lua command, if allowed. /command is the long form. |
/silent-command <command> | Executes a Lua command without printing it to the console. |
/measured-command <command> | Executes a Lua command and measures the time it took. |
/unlock-shortcut-bar | Unlocks all shortcut bar items. |
/unlock-tips / /reset-tips | Unlocks every tips-and-tricks entry, or resets them to a fresh install. |
Whether Lua commands run at all is a server setting, not a fixed rule: /config set allow-commands takes true, false or admins-only.
Lua one-liners worth knowing
- Speed the game up or slow it down:
/c game.speed = 2.0, where 1.0 is normal. - Research everything:
/c game.player.force.research_all_technologies(). - Clear the map of enemies:
/c game.forces["enemy"].kill_all_units(). - Permanent daylight:
/c game.player.surface.always_day = true.
On a busy server prefer /silent-command for routine cleanup so the chat log stays readable, and /measured-command when you want to know what a script costs before you make it a habit.
Server control and /config
| Command | What the game says it does |
|---|---|
/save <name> | Saves the current game with the specified name. |
/server-save | Saves the game on the server in a multiplayer game. |
/quit | Terminates the server cleanly. |
/config | Opens the server configuration GUI, and /config get and /config set read and write the settings below. |
/screenshot <x> <y> <zoom> | Takes a screenshot with your current view settings, or at the given resolution. |
/perf-avg-frames <number> | Ticks used to average the performance counters. Default 100; 5 to 10 converges fast but jitters more. |
/space-platform-delete-time <number> | Ticks between requesting a space platform deletion and it happening. |
/large-blueprint-size <set|get> <number> | The byte threshold for what counts as a "large" blueprint, which the permissions system can allow or block separately. |
Every /config setting
These are the same knobs as server-settings.json, changeable live without a restart. Server settings and map generation covers the file itself.
| Setting | Values and meaning |
|---|---|
name, description, tags | The server name, its description and its tag list. Description and tags may be empty. |
password | The multiplayer password. Empty means no password. |
max-players | Maximum players. 0 means no limit. |
visibility-public, visibility-lan, visibility-steam | Whether the game is publicly listed, visible on LAN, and joinable by Steam friends. |
require-user-verification | Whether a user's identity has to be confirmed to join. |
allow-commands | true, false or admins-only: whether Lua commands are allowed. |
allow-debug-settings | Whether non-trivial debug settings are allowed for non-admins. |
autosave-interval | Autosave interval in minutes. 0 disables it. |
autosave-only-on-server | Whether only the server creates autosaves. |
afk-auto-kick | Minutes of inactivity before a player is kicked. 0 disables it. |
auto-pause-when-players-connect | Whether the server auto-pauses while somebody is connecting. See auto-pause. |
only-admins-can-pause | Whether only admins may pause the game. |
ignore-player-limit-for-returning-players | Whether the player limit is ignored for someone rejoining. |
max-upload-speed, max-upload-slots | Upload cap in kilobytes per second, and the number of upload slots. 0 means no limit on either. |
The permissions system
/permissions opens a GUI, but the whole group system is scriptable from the console. Groups own a list of allowed actions, and every player belongs to one.
/permissions groupslists all groups./permissions create-group <name>anddelete-group <group>andrename-group <group> <name>./permissions add-player <group> <player>,remove-player <group> <player>,get-player-group <player>./permissions edit-group <group> <action> <true|false>enables or disables one action for a group./permissions resetputs everything back to the default state.
This is the tool for a public server where you want people to build but not to deconstruct, or to keep large blueprint pastes to a trusted group.
Diagnosing a desync: /toggle-heavy-mode
One command exists purely for this, and the game's own warning is worth quoting in full before you use it:
"This command is to be used with caution as it will make the game multiplayer unplayable once set. The game starts to save and compare the game with itself every tick to search for inconsistencies in the determinism. This command is advised to be used when there is a desync loop when a new player joins the server. The heavy mode will run until it outputs something. Please provide it to us so we can investigate and fix the problem."
So: only when a new player joining causes a repeating desync, only on a server you are willing to make unplayable for the duration, and the output goes to Wube rather than into a config change of your own. /toggle-action-logging is the milder relative, logging every input action locally without persisting across restarts. Everything else to try first is in desync troubleshooting, and reading server logs covers what the log file shows.
For the Lua API behind /c, see the official Factorio Lua API reference. 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 full console access from the web panel.