Contents
Search

/ban

Console Command
Command /ban
Command Category Description Message filtering, user banning, and more.
Description Bans the specified player.
Example /ban xTROLLx Throwing grenades in base
Admin Yes
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.

Category
Multiplayer Commands
Description
Console input that does not start with / is shown as a chat message to your team.
Read More
/kick
Category
Multiplayer Commands
Description
Kicks the specified player.
Read More
/demote
Category
Multiplayer Commands
Description
Demotes the player from admin.
Read More
/s
Category
Multiplayer Commands
Description
Same as /shout.
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
/ignores
Category
Multiplayer Commands
Description
Prints a list of ignored players.
Read More
/unignore
Category
Multiplayer Commands
Description
Allows the chat to show messages from this player.
Read More
/config
Category
Multiplayer Commands
Description
Gets or sets various multiplayer game settings. Available configs are: afk-auto-kick, allow-commands, allow-debug-settings, autosave-interval, autosave-only-on-server, ignore-player-limit-for-returning-players, max-players, max-upload-speed, only-admins-can-pause, password, require-user-verification, visibility-lan, visibility-public.
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
/r
Category
Multiplayer Commands
Description
Same as /reply.
Read More
/o
Category
Multiplayer Commands
Description
Same as /open.
Read More
/reply
Category
Multiplayer Commands
Description
Replies to the last player that whispered to you.
Read More
/banlist
Category
Multiplayer Commands
Description
Adds or removes a player from the banlist. Same as /ban or /unban.
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
/shout
Category
Multiplayer Commands
Description
Sends a message to all players including other forces.
Read More
/delete-blueprint-library
Category
Multiplayer Commands
Description
Deletes the blueprint library storage for the given offline player from the save file. Enter “everybody confirm” to delete the storage of all offline players.
Read More
/unmute
Category
Multiplayer Commands
Description
Allows the player to talk in chat again.
Read More
/unban
Category
Multiplayer Commands
Description
Unbans the specified player.
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