Contents
Search

Console Command
Command
Command Category Description Message filtering, user banning, and more.
Description Console input that does not start with / is shown as a chat message to your team.
Example Hello team!
Admin No
Category
How To Use

The command console is Factorio's command-line interface, which can be used for running cheat commands, as well as chatting with other players and receiving occasional status updated.

To open the console, press the / or ~ key. The ~ key is usually located below the Esc key. The / key is also usually the ? key.

The console can accept raw Lua code as well as game commands.

Use the Tab key to auto-complete commands and player IDs. Enter the first few letters and then press the Tab key.

Disclaimer: Because commands can sometimes make unexpected changed to your game, it is recommended that you save your game before using any commands.

/unignore
Category
Multiplayer Commands
Description
Allows the chat to show messages from this player.
Read More
/banlist
Category
Multiplayer Commands
Description
Adds or removes a player from the banlist. Same as /ban or /unban.
Read More
/s
Category
Multiplayer Commands
Description
Same as /shout.
Read More
/demote
Category
Multiplayer Commands
Description
Demotes the player from admin.
Read More
/purge
Category
Multiplayer Commands
Description
Clears all the messages from this player from the chat log.
Read More
/ignore
Category
Multiplayer Commands
Description
Prevents the chat from showing messages from this player. Admin messages are still shown.
Read More
/r
Category
Multiplayer Commands
Description
Same as /reply.
Read More
/server-save
Category
Multiplayer Commands
Description
Saves the game on the server in a multiplayer game.
Read More
/ignores
Category
Multiplayer Commands
Description
Prints a list of ignored players.
Read More
/promote
Category
Multiplayer Commands
Description
Promotes the player to admin.
Read More
/whitelist [player]
Category
Multiplayer Commands
Description
Adds or removes a player from the whitelist, where only whitelisted players can join the game. Enter nothing for “player” when using “get” to print a list of all whitelisted players. An empty whitelist disables the whitelist functionality allowing anyone to join.
Read More
/open
Category
Multiplayer Commands
Description
Opens another player’s inventory.
Read More
/ban
Category
Multiplayer Commands
Description
Bans the specified player.
Read More
/swap-players [player]
Category
Multiplayer Commands
Description
Swaps your character with the given player’s character, or if two players are given swaps the two player characters.
Read More
/admins
Category
Multiplayer Commands
Description
Prints a list of game admins.
Read More
/mutes
Category
Multiplayer Commands
Description
All players that are muted (can’t talk in chat).
Read More
/players [online/o/count/c]
Category
Multiplayer Commands
Description
Prints a list of players in the game. (parameter online/o, it prints only players that are online, count/c prints only count)
Read More
/unban
Category
Multiplayer Commands
Description
Unbans the specified player.
Read More
/mute
Category
Multiplayer Commands
Description
Prevents the player from saying anything in chat.
Read More
/kick
Category
Multiplayer Commands
Description
Kicks the specified player.
Read More