Granting administrator rights allows you to easily and comprehensively manage your server with full control. As an admin, you can use all available options and features the game offers directly in-game. The following steps describe how to grant administrator rights for your server.
Administrator rights allow you to make changes directly on your server in-game without having to edit the config. Adding an admin is done via the server-settings.json config file, which you can find in the Configuration tab (raw text view) of your game server.
At the end of the config file is an important section where admins are defined:
"_comment_admins": "List of usernames (case insensitive) who are immediately promoted",
"admins": []
}
The names of the players who should receive admin rights must be entered there. If multiple admins are added, it might look like this:
"_comment_admins": "List of usernames (case insensitive) who are immediately promoted",
"admins": [
"PlayerName1",
"PlayerName2",
"PlayerName3"
]
}
Players named PlayerName1, PlayerName2, PlayerName3 now have admin rights. Admin commands can be executed in-game via 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 or removes a player 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 or removes a player from the whitelist |
More available commands can be found in the official Factorio Wiki.
