# Factorio Server Commands: Admin, Kick, Ban and More (2026)

Factorio server commands for admins: /promote, /kick, /ban, /whitelist, /config and /server-save, server-adminlist.json and which commands disable achievements.

Updated 2026-09-30. https://gamezservers.com/guides/factorio-server-commands

Factorio server commands are typed in the chat console, opened with the **`~`** key (the key under Escape), and all start with a slash. To use admin commands like `/kick`, `/ban` and `/config`, you need admin rights: type `/promote YourName` in the server console, or list your name in `server-adminlist.json`. This guide covers making yourself admin, every multiplayer command you are likely to use, and the ones that disable achievements.

## How to make yourself admin

### From the server console

The headless server's console accepts the same slash commands and runs them with full rights:

```
/promote YourFactorioName
```

Use your factorio.com username, which is the name other players see. The change is saved, so you stay admin after restarts. `/demote YourFactorioName` removes it.

### With server-adminlist.json

Create a file called `server-adminlist.json` in the server's write folder, the same folder as `factorio-current.log`, containing a list of names:

```
["YourFactorioName", "FriendName"]
```

Restart the server. The server also keeps this file up to date when you use `/promote` and `/demote`.

## Player management

| Command | What it does |
| --- | --- |
| `/players` | List all players who have joined. `/players online` lists only those online |
| `/admins` | List admins |
| `/promote <player>` | Make a player admin |
| `/demote <player>` | Remove admin |
| `/kick <player> <reason>` | Kick a player |
| `/ban <player> <reason>` | Ban a player |
| `/unban <player>` | Lift a ban |
| `/bans` | List banned players |
| `/whitelist add <player>` | Add a player to the whitelist |
| `/whitelist remove <player>` | Remove from the whitelist |
| `/whitelist get` | Show the whitelist |
| `/whitelist clear` | Empty the whitelist |
| `/admin` | Open the player management window |

The whitelist only takes effect when it is enabled. On a headless server, start it with `--use-server-whitelist true`, and the names are kept in `server-whitelist.json`.

## Chat and moderation

| Command | What it does |
| --- | --- |
| `/mute <player>` / `/unmute <player>` | Stop or allow a player's chat |
| `/mutes` | List muted players |
| `/purge <player>` | Delete a player's messages from chat |
| `/ignore <player>` | Hide someone's messages, for you only |
| `/whisper <player> <message>` | Private message, short form `/w` |
| `/reply <message>` | Reply to the last whisper, short form `/r` |
| `/shout <message>` | Message all teams, short form `/s` |

## Server management

| Command | What it does |
| --- | --- |
| `/server-save` | Save the map now |
| `/config` | Open the server settings window |
| `/config set password <new>` | Change the game password live |
| `/config set max-players <number>` | Change the player limit |
| `/config set visibility-public true` | List the server publicly (needs your factorio.com login in the server settings) |
| `/config get <option>` | Show a setting |
| `/open <player>` | Open another player's inventory |
| `/swap-players <player>` | Swap characters with a player |
| `/delete-blueprint-library <player>` | Delete a player's shared blueprints |

Settings changed with `/config` last until you change them again. For settings you want on every start, also update `server-settings.json`.

## Information commands

| Command | What it does |
| --- | --- |
| `/version` | Show the game version, handy for version mismatch problems |
| `/time` | How long the map has run |
| `/evolution` | Current biter evolution factor |
| `/seed` | Map seed |
| `/help` | List every command, or `/help <command>` for details |

## Commands that disable achievements

These run Lua scripts or turn on cheats. Using any of them **permanently disables achievements for that save**, and Factorio asks you to confirm by typing the command a second time:

| Command | What it does |
| --- | --- |
| `/c <lua>` | Run a Lua command, short for `/command` |
| `/sc <lua>` | Run Lua without showing it in chat, short for `/silent-command` |
| `/mc <lua>` | Run Lua and report how long it took, short for `/measured-command` |
| `/cheat` | Unlock all research and enable cheat mode, `/cheat all` also for other planets |
| `/editor` | Toggle the map editor |

A classic example is revealing the map around spawn:

```
/c game.player.force.chart(game.player.surface, {{-500, -500}, {500, 500}})
```

Only run scripts you understand on a shared save. Tell your group first, since achievements are gone for everyone on that map.

## A good routine before updates

1. Warn players in chat.
2. `/server-save`
3. Back up the save.
4. Stop the server, update, and start it again.

On our control panel, **Save game**, **List players** and **Broadcast** are one click buttons, with **Backup** right beside them.

## Common problems

- **"You don't have permission to use this command":** you are not admin. Promote yourself from the server console.
- **`/promote` says the player does not exist:** they must have joined the server at least once, and the name is case sensitive.
- **Admin lost after restart:** the server loads `server-adminlist.json` from a different folder. Check where `factorio-current.log` is written.
- **Nothing happens when pressing `~`:** some keyboard layouts use a different key. Check **Settings**, **Controls**, **Toggle chat and Lua console**.

## Skip the setup

On a self hosted server you set up the headless build, the settings file and port forwarding before you can type a single command. A [Factorio server from GamezServers](https://gamezservers.com/games/factorio) is online in about a minute with a full console in the browser, where `/promote` is the first thing you type. See [how to host a Factorio server](https://gamezservers.com/guides/how-to-host-a-factorio-server).

## FAQ

### How do I make myself admin on a Factorio server?

Type `/promote YourName` in the server console, or add your name to `server-adminlist.json` and restart.

### How do I open the console in Factorio?

Press the `~` key, the one under Escape on most keyboards.

### Do admin commands disable achievements?

No. Only Lua commands like `/c`, `/sc` and `/mc`, plus `/cheat` and `/editor`, disable achievements.

### How do I change the server password without restarting?

Use `/config set password NewPassword` as an admin, and update `server-settings.json` so it sticks.
