Granting administrator privileges makes it easy to manage your server with full control. As an administrator, you can use all the options and features available in the game directly in-game. The steps you need to follow to grant administrator privileges on your server are described below.
Administrator privileges let you make changes directly in-game on your server without having to edit the config. To add an admin, use the server-adminlist.json file in the config folder, which you can find in the Files tab of your game server. The server-settings.json file is not suitable for this, because your server rewrites it every time it starts.
The file contains a list of player names (case-insensitive). When your server starts for the first time, it creates an empty list:
[]
Add the names of the players who should receive administrator privileges to this file. Stop your server first and restart it afterward, as the list is loaded when the server starts. If you add multiple admins, it might look like this:
["PlayerName1", "PlayerName2", "PlayerName3"]
The players named PlayerName1, PlayerName2, PlayerName3 now have administrator privileges. You can now run admin commands in-game through the console. Below is an overview of commonly used commands.
| Command | Description |
|---|---|
| /admin | Opens the player management GUI. |
| /ban player reason | Bans a player |
| /bans | Shows a list of banned players. |
| /unban player | Unbans a player |
| /banlist add/remove/get/clear player | Adds a player to or removes them from the ban list. Equivalent to /ban or /unban. |
| /kick player reason | Kicks a player |
| /mute player | Mutes a player |
| /unmute player | Unmutes a player |
| /whitelist add/remove/get/clear player | Adds a player to or removes them from the whitelist |
You can find more available commands in the official Factorio Wiki.
